Related
Hello all.... I am working on a group project where we will be using a dev G1. The phone was shipped to a another group member and before I can get my hands on it, he decided to upgrade the firmware from 1.0 to 1.6, having very little knowledge of android beforehand and therefore he cant really tell me what exactly he did either. He followed the directions on the HTC website. As far as i can tell, I do have the 26I radio, engineering SPL and 1.6 installed currently, not sure about the recovery though (i.e. stock 1.0 or 1.6). When I got the phone, root access was gone but followed some simple steps on this website to regain it. By way of typing in "su" in terminal emulator and in ADB shell, I now also have su. However I still cant flash anything. When trying to flash cm 4.2.5 in the recovery, the system verifies it and then aborts installation. I then tried to install the Amon-RA recovery to no avail. Tried fastboot, ADP, terminal, im not sure how to access the /data/ partition on the phone and there is no option for acessing the console in the recovery menu. Installing through ADB dosnt work, no test-keys in current recovery. In fastboot it says "okay" for both sending and writing the recovery but rebooting into recovery shows that it didnt work. In terminal it says "flash_image: not found". I'm kinda lost and need some help....
All I need is cm4.2.5 on the phone with root.
Thanks in advance.....
Edit: I triple and quadruple checked the name of the recovery image when trying to install through terminal. I'm pretty sure it cant find the command "flash_image" and not the file itself. Just wanted to clarify...
You could try downgrading to RC29: http://wiki.cyanogenmod.com/index.p...ngrading_to_RC29_.28US.29_or_RC7_.28Europe.29
halr9000 said:
You could try downgrading to RC29: http://wiki.cyanogenmod.com/index.p...ngrading_to_RC29_.28US.29_or_RC7_.28Europe.29
Click to expand...
Click to collapse
Tried that, already... That method only works for the stock T-Mobile G1's which have a different SPL. The Dev G1's come with engineering SPL and I have no idea how to flash the .nbh image from that. All it does I think is enable Fastboot, I cant get it to do anything else.
This fails?
fastboot flash recovery recovery.img
Nope... No luck, it says:
sending 'recovery' <4456kb>.... OKAY
writing 'recovery' <4456kb>.... OKAY
and then I reboot using "fastboot reboot", wait till the homescreen loads, and then go back into recovery and it still shoes the the triangle and the !.....
Bump...
Anyone?? Right now we just have a reallly expensive paper-weight in our hands ANY help/thoughts/comments would be very appreciated...
This thread is meaningless since there is NO SUCH THING as a "DEV G1".
alilbitanuthin said:
Hello all.... I am working on a group project where we will be using a dev G1. The phone was shipped to a another group member and before I can get my hands on it, he decided to upgrade the firmware from 1.0 to 1.6, having very little knowledge of android beforehand and therefore he cant really tell me what exactly he did either. He followed the directions on the HTC website. As far as i can tell, I do have the 26I radio, engineering SPL and 1.6 installed currently, not sure about the recovery though (i.e. stock 1.0 or 1.6). When I got the phone, root access was gone but followed some simple steps on this website to regain it. By way of typing in "su" in terminal emulator and in ADB shell, I now also have su. However I still cant flash anything. When trying to flash cm 4.2.5 in the recovery, the system verifies it and then aborts installation. I then tried to install the Amon-RA recovery to no avail. Tried fastboot, ADP, terminal, im not sure how to access the /data/ partition on the phone and there is no option for acessing the console in the recovery menu. Installing through ADB dosnt work, no test-keys in current recovery. In fastboot it says "okay" for both sending and writing the recovery but rebooting into recovery shows that it didnt work. In terminal it says "flash_image: not found". I'm kinda lost and need some help....
All I need is cm4.2.5 on the phone with root.
Thanks in advance.....
Edit: I triple and quadruple checked the name of the recovery image when trying to install through terminal. I'm pretty sure it cant find the command "flash_image" and not the file itself. Just wanted to clarify...
Click to expand...
Click to collapse
Pretty sure there is...
http://developer.htc.com/adp.html
Bump...
anyone?
alilbitanuthin said:
Pretty sure there is...
http://developer.htc.com/adp.html
Click to expand...
Click to collapse
Do you see ANYTHING on there that says "G1"?
Answer: No you definitely do NOT.
If I remember correctly, after you use fastboot to flash the new recovery image, you can't let the phone reboot or it will overwrite the recovery with the stock recovery image
The solution would be to use fastboot to flash either Cyanogen's or Amon_RA's recovery image, and be quick here, but when you send the fastboot reboot command be holding down the home button on the phone so it will boot to the custom recovery image
lbcoder said:
Do you see ANYTHING on there that says "G1"?
Answer: No you definitely do NOT.
Click to expand...
Click to collapse
lol, no need to nitpick, about the name no less. Thats the least of my worries
As long as you get the message across...
jackslim said:
If I remember correctly, after you use fastboot to flash the new recovery image, you can't let the phone reboot or it will overwrite the recovery with the stock recovery image
The solution would be to use fastboot to flash either Cyanogen's or Amon_RA's recovery image, and be quick here, but when you send the fastboot reboot command be holding down the home button on the phone so it will boot to the custom recovery image
Click to expand...
Click to collapse
That maybe it I'll give it a try as soon as I get back home. Thanks a lot for the help!!
Thanks a lot jackslim, finally got it to work!
Hi,
i have a nexus one with a broken power button, my warranty is out so there is no replacement, i want to root it to be able to install trackball wake s,o i can open the mobile and close it.
when i try to access the bootloader i hold the trackball then i take off the battery 2 to 3 time to switch on, and if i keep holding the trackball it access the bootloader screen.
but i can't choose bootloader because i need to use the power button to do so, i also tried the universal androot, i got a message saying failed! no ~~~fu goo~~~.
my OS version is 2.2.2, build number FRG83G.
please any help.
You can try manual root. I find it easier getting the drivers to install when the phone is in fastboot, but it isn't essential...
http://www.nexusoneforum.net/forum/...mple-sdk-setup-manual-root-guide-windows.html
Sent from my Nexus One using XDA App
If you hold Vol Up + Track Ball and Remove & Insert your battery while your plug in to USB cable you can access Fastboot screen. But you will not be able to select any options because it needs power switch to select options.
many thanks danger-rat, i got a superuser access now on my list
i need one more thing if you please, how can i install cyanogenmod? because as i mentioned before i need trackball wake setting.
best regards,
The quickest way in my opinion is to install ROM manager from the market. You can then choose to install either Clockwork recovery image or Amon_RA. If you choose Clockwork then you can use ROM manager to automate backing up/flashing of new ROMs. Alternatively you can choose Amon_RA recovery, which I personally use. There are only a few differences other than layout but both are excellent recoveries.
Once you've installed a recovery image, you can either download CM7 manually and place it on your SD card or use ROM manager to download it. Depending on your choice of recovery you can use ROM manager to backup then flash or alternatively go into recovery manually and flash CM7 there. To reboot directly to recovery either hook the phone up to a PC and issue the command 'adb reboot recovery' or alternatively install an application like Quickboot which does the exact same thing through a GUI.
You shouldn't really have any problems once you've flash CM7 as it has a reboot to recovery option built in. Good luck
Edit: Oh and always, I repeat always Nandroid! It'll save you any headaches.
thanks man for the guide, it worked wonderfully, but what do Nandroid do?!
omarqa said:
thanks man for the guide, it worked wonderfully, but what do Nandroid do?!
Click to expand...
Click to collapse
It's like imaging software for a PC, it takes a screenshot of your system at that time which can then be restored should anything go awry. I have a couple that I switch between
Bootloop cyanogen
Hi all,
after all your help guys i managed to get my self into trouble again , after i installed cyanogen i found out that the market is not there, and i couldn't add gmail account also, so i recovered the previous one.
i thought I'd reinstalled cyanogen again, so after a couple of failures in installing it "getting an android with and explanation mark over the head", the last one worked but it booted into a boot loop, i keep getting the cyanogen screen again and again.
can i do something with command line such as adb shell
best regards,
I ran into the same problem, it's a little long winded but I found this to work. Also, it seems your recovery is reverting to stock. This is because of files recovery-from-boot.p and install-recovery.sh. After flashing the ROM go to terminal and issue the following commands (Without #) :
# su (Making sure to accept the root privileges prompt)
# mount -o remount,rw /dev/null /system
# mv /system/recovery-from-boot.p /system/recovery-from-boot.p.bak
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# reboot
More info here.
Then flash Amon_RA recovery or Clockwork during fastboot commands from my first link. Rename the image downloaded to recovery and issue the following command during fastboot:
fastboot flash recovery recovery.img
You can then follow the rest of the guide to return to recovery. If you ever end up in a bootloop again just follow the guide in the first link as is and you'll be back in recovery to recover a nandroid backup or flash again.
Also it seems you're missing the Googleapps (Gapps) package for Gingerbread. Flash this after flashing CM7.
omarqa said:
Hi all,
after all your help guys i managed to get my self into trouble again , after i installed cyanogen i found out that the market is not there, and i couldn't add gmail account also, so i recovered the previous one.
i thought I'd reinstalled cyanogen again, so after a couple of failures in installing it "getting an android with and explanation mark over the head", the last one worked but it booted into a boot loop, i keep getting the cyanogen screen again and again.
can i do something with command line such as adb shell
best regards,
Click to expand...
Click to collapse
Did you flash a compatible gapps package (Google apps)? The market and other Google apps are not distributed with Cyanogen ROMs, and have to be flashed separately...
Edit: Sorry, must have overlooked the tail end of the post above...
Sent from my Nexus One using XDA App
how to flash the ROM
omarqa said:
how to flash the ROM
Click to expand...
Click to collapse
There should be an option saying something along the lines of 'Flash zip from SD card'. Simply browse to the zip and flash.
whenever i try to do recovery or anything i keep getting FAILED (remote: signature verify fail) anybody know why i keep getting this???
omarqa said:
whenever i try to do recovery or anything i keep getting FAILED (remote: signature verify fail) anybody know why i keep getting this???
Click to expand...
Click to collapse
Is your device unlocked? It must be unlocked to issue certain fastboot commands.
Which custom recovery do you have installed?
Sent from my Nexus One using XDA App
thanks guys, it got fixed.
so how can i install cyanogenmod, every time i try to install version 6.1.1 i get a android log with exclamation mark over it, any ideas
your help is really appreciated,
edit: i mean by fixed that i restored the original version of the device.
That's the stock recovery (hence my previous question)...
You need to install a custom recovery, and also delete the following two files:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
(as stated by HD earlier)
Sent from my Nexus One using XDA App
Hi I was having some issue with ARHD 8.1 and forgot to make a back up and I did a Wipe Data Wipe and now I'm stuck in Recovery with no way to boot into the system or mount to my computer. Since I wipe to DATA I can't find the ROM. I'm not sure what to do. Please Help.
I'm in teamwin recovery and when I try to mount all I get is updating partition details... just stuck there.
Mike
bucklee said:
Hi I was having some issue with ARHD 8.1 and forgot to make a back up and I did a Wipe Data Wipe and now I'm stuck in Recovery with no way to boot into the system or mount to my computer. Since I wipe to DATA I can't find the ROM. I'm not sure what to do. Please Help.
I'm in teamwin recovery and when I try to mount all I get is updating partition details... just stuck there.
Mike
Click to expand...
Click to collapse
So you will need to download the all in one tool kit http://forum.xda-developers.com/showthread.php?t=2183942 first flash over to clockwork mod recovery. Then download the ROM you want to install. Rename to rom to rom.zip or something short no spaces and simple. Then go into CWM recovery and go to sideload ROM. Then go into the all in one toolkit and select the ROM you downloaded and renamed and profit.
Copy the rom you wanted to install to the phone
"adb push rom.zip /data/media/rom.zip" (where rom.zip is the actual file name)
Then flash the rom
rquinn19 said:
Copy the rom you wanted to install to the phone
"adb push rom.zip /data/media/rom.zip" (where rom.zip is the actual file name)
Then flash the rom
Click to expand...
Click to collapse
He would have to push the rom to /sdcard/0/ as he's using TWRP. That's why I suggested CWMR and the all in one toolkit to make things simple.
nullkill said:
He would have to push the rom to /sdcard/0/ as he's using TWRP. That's why I suggested CWMR and the all in one toolkit to make things simple.
Click to expand...
Click to collapse
Sorry was slow when typing my response and didn't see you had responded. Was just offering my $0.02 since I hadn't seen anyone else respond.
rquinn19 said:
Sorry was slow when typing my response and didn't see you had responded. Was just offering my $0.02 since I hadn't seen anyone else respond.
Click to expand...
Click to collapse
Of course. Not trying to say your method isn't the way it should be done as it is. Just TWRP doesn't register the SD card right so everything is in a "special" directory for it. And I apologize if my response came off harsh it was not meant to your way is the correct proper way every one should know cause they should know basic ADB.
nullkill said:
Of course. Not trying to say your method isn't the way it should be done as it is. Just TWRP doesn't register the SD card right so everything is in a "special" directory for it. And I apologize if my response came off harsh it was not meant to your way is the correct proper way every one should know cause they should know basic ADB.
Click to expand...
Click to collapse
Nullkill You the MAN! You save me an evening of Frustration. In fact after the sideload, It just started up the Flashing the ROM. However I'm stuck in unmounting partitions,was wondering if I should just reboot. Doesn't seem to be doing anything, just waiting.
I was trying to Sideload via cmd.exe but wasn't able to do it, but the tool kit made it so much easier. Thanks!!!!
Yeah you are safe to reboot and thanks for the kind words. I was stuck where you are at not too long ago
Hi Everyone, Ive been going at this for days and been round and round on so many pages i'm just lost..
I have HTC one unlocked brought in AUS. Decided to play around with it and didn't do any sort of backup of the original system, unlocked the boot loader, installed CRW and tried a few roms for fun. So today I went and played around again trying to get the stock rom put back on so I can have OTA updates (stupid idea!!!) and now there is no OS installed on the phone...!
So far I have tried to push a zip to the phone with adb but apparently it can only be done when the OS is loaded. Used Hasson tool with no luck.
Essentially I can't load any ROM to the phone and it is just stuck between fastboot and the recovery mod (tried TWRP and CRW).
Ive looked at the RUU files on the website but theres no clear explanation on which one to choose. The htc website has no RUU update either.
Can someone please help with steps to get me back on track. If you need any info to help then please let me know ..
UNLOCKED
S-ON
P.S. i will let you know if I have previously tried what you suggest..
So can you get into recovery?
postfatal said:
So can you get into recovery?
Click to expand...
Click to collapse
Hi there, i can currently boot into TWRP (which is the most recent version I downloaded today)
1) Flash TWRP custom recovery
2) In recovery go to adb sideload
3) On PC type adb sideload yourrom.zip
jgt777 said:
Hi Everyone, Ive been going at this for days and been round and round on so many pages i'm just lost..
I have HTC one unlocked brought in AUS. Decided to play around with it and didn't do any sort of backup of the original system, unlocked the boot loader, installed CRW and tried a few roms for fun. So today I went and played around again trying to get the stock rom put back on so I can have OTA updates (stupid idea!!!) and now there is no OS installed on the phone...!
So far I have tried to push a zip to the phone with adb but apparently it can only be done when the OS is loaded. Used Hasson tool with no luck.
Essentially I can't load any ROM to the phone and it is just stuck between fastboot and the recovery mod (tried TWRP and CRW).
Ive looked at the RUU files on the website but theres no clear explanation on which one to choose. The htc website has no RUU update either.
Can someone please help with steps to get me back on track. If you need any info to help then please let me know ..
UNLOCKED
S-ON
P.S. i will let you know if I have previously tried what you suggest..
Click to expand...
Click to collapse
Try to adb sideload a rom. after flashing a custom recovery, download hasoon2000's toolkit from here: http://forum.xda-developers.com/show....php?t=2183942
place it on your desktop and then place your custom rom inside the folder. run the toolkit and use the function "adb sideload" to sideload the rom on your device. also choose "adb sideload" in your custom recovery while doing this.
it should work
If you get into recovery then as everyone is saying sideload a ROM onto your device. There are loads of guides of how to do that.
tash2013 said:
1) Flash TWRP custom recovery
2) In recovery go to adb sideload
3) On PC type adb sideload yourrom.zip
Click to expand...
Click to collapse
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
jgt777 said:
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
Click to expand...
Click to collapse
In recovery apply "slide to sideload" , recovery will be to wait command from PC.
On PC type "adb sideload rom.zip" , your rom.zip must be in the same folder with adb.exe.
Pushing the thanks button for everyone who replied, such a simple thing as sliding the abd sideload button to the right to detect it...
Thank you all so much
jgt777 said:
You know what, i need a kick in the head..
Have previously opened TWRP, went to sideload and wondering why it has done nothing - this time I see the "slide to sideload" option.
Its currently sending right now. If this upload works do I now just have to select the install option and choose the ZIP?
Click to expand...
Click to collapse
Yes.
Sent from my HTC One using xda app-developers app
I had done exactly the sme as the OP but unfortunately for me there has been no fix yet, still working on it. I have done everything i can think of except to flash a recovery backup or RUU but the one i need is not avaiable
twerg said:
I had done exactly the sme as the OP but unfortunately for me there has been no fix yet, still working on it. I have done everything i can think of except to flash a recovery backup or RUU but the one i need is not avaiable
Click to expand...
Click to collapse
could you explain your problem more detailed please?
I've been looking around for a few hours and I just can't figure this out. I unlocked my XT1096 fine and am trying to flash TWRP via fastboot. (I tried downloading the app on my phone and running it there and it says I don't have root access, but I guess flashing it from a cmd prompt should still work?)
Anyway, I've downloaded the TWRP img that seems to be correct (twrp-3.0.2-2-victara) and I'm renaming it to just "twrp.img" per the CM install instructions. I go into fastboot, confirm my device is there, and then use the "fastboot flash recovery twrp.img command and I just get the error "error: cannot load 'twrp.img'"
I've tried a couple of other twrp image files, thinking maybe that's not really the right one, but they haven't worked either, but from everywhere I've look, the one I have been trying should certainly be the correct file.
So I've got my bootloader unlocked and my phone memory is wiped and all that, from the unlocking. But I can't for the life of me get the recovery to flash. I don't know if there's another one that's not TWRP I could use? I don't think it's a step I can bypass, and I have to have it sorted to move on to getting Cyanogen and all that.
I've only ever rooted one other phone, and that was the Droid Incredible 2, but it had that whole 1-touch unlock/root program made for it, and I can barely remember how all that worked since it was like 5 years ago.
Anyway, does anyone have any ideas on how I can fix this, and get TWRP working and CM finally running?
edit: got this fixed - see last comment. Woohoo!
You could try the TWRP Manager app or Rashr to flash the IMG.
Put twrp.img in to folder have adb install
So I don't think I can use the TWRP app because when I try to use it, it says it needs root permission and that the phone isn't rooted. I've looked for rooting directions for the XT1096 running android 5.1 and can't find any really. I've seen directions for android 6.0, or the Pure edition of my phone, and I don't know if they would work. Would they work, with a difference version of android running?
As for having adb install, that's what I've been trying. I've got the twrp.img in the same folder as adb and fastboot, which is where it's supposed to be as far as I can tell from these directions:
https://wiki.cyanogenmod.org/w/Install_CM_for_victara
I just get the error message when I try the "fastboot flash recovery twrp.img" command.
Ha, I figured it out, and it was silly. When I renamed the "twrp.img" it appeared to me as just that. When I did a dir command for that folder, it showed as "twrp.img.img" even though I didn't see it that way in file explorer. So I deleted the ".img" that I COULD see, flashed again, it worked!
Now to get on with it!
Thanks guys for the input!
asmallmammal said:
Ha, I figured it out, and it was silly. When I renamed the "twrp.img" it appeared to me as just that. When I did a dir command for that folder, it showed as "twrp.img.img" even though I didn't see it that way in file explorer. So I deleted the ".img" that I COULD see, flashed again, it worked!
Now to get on with it!
Thanks guys for the input!
Click to expand...
Click to collapse
For future reference, if you type a partial filename and hit tab in Command Prompt or Terminal, it will auto fill the rest of the filename and escape any characters needed (like a space). :good: