[Q] How to backup the radio to PC10IMG.zip - G2 and Desire Z Q&A, Help & Troubleshooting

I'm runing on a Canada Bell Desire Z and I wanna backup the current radio to PC10IMG.zip. I've browsed the radio thread in dev. section and did not found the cooresponding radio file.
Can any body provide a tutorial on how to back up the current radio?

Edited.....

I would also love to know as my current radio is stock and I would like to try a newer Bell radio (after backup!)
Sent from my HTC Vision using Tapatalk

Found this page via the wiki.
http://shipped-roms.com/index.php?category=android&model=Vision

I've already found this website and my current ROM and RADIO is not included there...
This is the reason I wanna backup it.

What ROM are you using? What recovery do you have?
Sent from my HTC Vision using Tapatalk

I'm using stock Bell 1.34.666.5 with everything stock. This rom has not been posted in xda, so I wanna make a full backup of the rom and the radio.

I think I found something that gives some insight... It's not for the Desire Z but I think you could do something similar.
Read this:
http://forum.xda-developers.com/showthread.php?t=1146531
There is a Linux command "dd" which will copy something bit for bit, so in theory you could copy each partition of your phone to your sdcard, and when you want to restore you'd have to copy each partition back over. The dd command can be dangerous however, if you accidentally write the wrong data to a partition, you could easily brick your phone... You'd also probably need root, and the dd command would have to be on your phone, which I have in CM7, so it's in busybox, if not already on your phone.
You'll have to do some more searching for which partition is for what but this should work! There's another command to see what is mounted where are such, I'm just installing ADB on my new computer and will try to get some more useful information once it's good to go...
Edit: the "dd" command reads and writes bytes, not bits. Thanks riahc3!

AFAIK (I also saw this) it is impossible.

slopes said:
I think I found something that gives some insight... It's not for the Desire Z but I think you could do something similar.
Read this:
http://forum.xda-developers.com/showthread.php?t=1146531
There is a Linux command "dd" which will copy something bit for bit, so in theory you could copy each partition of your phone to your sdcard, and when you want to restore you'd have to copy each partition back over. The dd command can be dangerous however, if you accidentally write the wrong data to a partition, you could easily brick your phone... You'd also probably need root, and the dd command would have to be on your phone, which I have in CM7, so it's in busybox, if not already on your phone.
You'll have to do some more searching for which partition is for what but this should work! There's another command to see what is mounted where are such, I'm just installing ADB on my new computer and will try to get some more useful information once it's good to go...
Click to expand...
Click to collapse
This is the only "way".
I say that between " " because as slopes commented, dd reads bytes (not bits) of data from one source and writes it to a destination (or the same source can be its destination although somewhat pointless). This is NOT in any way the same as a copy and paste. Nothing to do with it
I do advice to use extreme caution with this command and DO NOT play around with it if you are unsure what it does exactly.

Related

[Q] A2SD+ on rooted stock sense froyo?

Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Hi There
I found this link the other day about forcing apps to the SD card without rooting on Froyo
http://myhtcdesire.com/category/tipstweaks
I have tried it a few times but just can't get it to work for me, perhaps I am missing something
Hope thios helps
JaykaySLO said:
Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Click to expand...
Click to collapse
DISCLAIMER: be very, very careful especially if you don't have S-OFF yet and plan to use this method. Mind your exact Desire variant and read all the info on listed stuff before attempting
I use a rooted stock rom with Darktremors Apps2SD method. You just have to install the scripts and modify the init.rc script as described in this thread
You will need to prepare an update.zip with the boot.img or have S-OFF hboot (like AlphaRev) to flash the boot partition on which the init.rc script resides.
It might be also possible to use flash_image, but I'm not sure it will be possible without S-OFF.
I used AmonRA 1.7.0.1 Recovery R5 to repartition the SD, as it seemed to me that using Clockwork which was embedded in Unrevoked 3.21, caused my last USB brick.
This will enable you to move not only the apps but also the dalvik cache to the SD's ext partition. The data from /data/data still remains in the internal storage, but moving the apps and dalvik cache is a huge space saver.
IIRC moving some apps data from the /data/data (I think it was systems apps mostly but honestly I don't recall) to the ext partition may result in errors.
Right now the situation looks like this on my phone:
Code:
# df -h /data
Filesystem Size Used Available Use% Mounted on
/dev/block/mtdblock5 147.6M 102.8M 44.9M 70% /data
# du -sh /system/sd/*
200.3M /system/sd/app
8.0M /system/sd/app-private
54.9M /system/sd/dalvik-cache
# ls -1 /system/sd/app /system/sd/app-private | wc -l
129
Additional bonus:
Because the ext partition is not being unmounted when connecting the phone as external storage to a computer, you don't end up with screwed up app links, and disappearing widgets when you do.
good luck
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
JaykaySLO said:
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
Click to expand...
Click to collapse
This particular *.nix system in my example is the Android OS as seen from the adb shell.
Please search the forum for what S-OFF is, there are tons of tutorials and howtos on this subject, it's basicly an unlocked variant of the HBOOT bootloader. The standard HBOOT won't allow you to flash partitions using fastboot mode like in earlier HTC models, Dream for example.
My advice is not to touch the HBOOT if you're not familiar with it as screwing something up when trying to change it is the quickest way to a bricked phone.
best of luck
"To begin, you'll need a Linux or a Mac system and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
First things first - I think it should be possible to flash boot.img from an update.zip (just a regular update from the recovery mode). So no S-OFF modification needed this way.
Or just ask around the forum. It could be possible to flash the boot partition on the device using flash_image. Since my phone is already s-off I can't verify that.
JaykaySLO said:
"To begin, you'll need a Linux or a Mac system
and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
Click to expand...
Click to collapse
Ah, that My bad, I thought you meant the code in my post.
Well you need a *.nix-ish environment for that particular solution, but that doesn't necessarily has to be an actual Linux / MacOS box.
There are a couple of ways to work around not having a Linux / MacOSX box:
First: If you have at least some knowledge of operating a unix shell, you can just download a live boot linux distro in the form of ISO image. Download and install VirtualBox, run the iso from there.
Second choice would be Cygwin, which is basically your *.nix environment for Windows.
Third is to install just a Windows perl interpreter needed for some of the scripts, and download a windows version of the mkbootimg binary, and just do the whole procedure manually. You pretty much just have to be able to run:
1. perl
2. cpio
3. mkbootimg
You can google all the needed exe's, and then you google "how to unpack boot.img" and take your pick - OR just take a peak inside the scripts from the semi-automatic solution (the thread you just quoted). The scripts are simplicity itself, pretty much don't differ much from a simple windows / dos batch file.
Fourth is to ask someone you trust to prepare the image for you
Either way, you have to modify the init.rc to be able to run the a2sd scipt on android boot.
OFC you can just start the process manually from a Terminal Emulator directly on the phone, and repeat it every time after you power on the phone, but that's hardly a comfortable way to go
Tell you what. If you feel really courageous I can fashion up a web form for you (and anyone else interested) which could allow you to submit a boot.img and have it modifed automatically, allow you to download a modified version. But: no warranties and also I might end up being an evil sneaky, sneaky bastard Your call
Thanks for the comprehensive info, but I`m not willing to experiment too much for the sake of not bricking the phone. I thought there might be a simpler solution....
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
hongkongtom said:
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
Click to expand...
Click to collapse
Like I wrote in the earlier posts. Partition with AmonRA recovery, install Darktremors APPS2SD, modify the init.rc script located on the boot partition, flash the modified boot - just browse the earlier posts. There are links to threads containing all the info you need.

Cannot view SD EXT

Hi
I have rooted my phone with unrevoked, s-off'ed with alpha rev 1.8, partitioned 1gb of my 4 gb card to ext 3 and installed Gingerbread F1 V3 Ap2SD ENG.
On first load of the rom i can see that my SD card FAT 32 storage has been reduced but the only other memory internal memory which was at 147mb when i first booted the rom.
All apps are installing to the internal memory by default with only the option of moving to the SD FAT 32 partition. and there is no option to move to the sd ext3 part as there is no option - so I have lost 1gb off my sd card.
What have i done wrong?
on a 2nd note i appear to have a call delay when answering the phone my radio version is 32.49.00.32U_5.11.05.27 - do i need to update this ? will it solve the problem ? my carrier is vodafone UK.
appreciate the help
ararararar... Sorry had to do something.
This has been explained SO many times by me included. The way a2sd works is by symlinking the folder containing the apps(/data/app) to you ext-partition.
You cannot see this partition listed in the system info, as the partition is not supposed to be there. The system have no way of knowing that you are using an ext-partition, as it just installs apps to /data/app, however as it's symlinked to ext, they are actually being placed in sd-ext/app.
This means that you will only see you internal memory, but it still works. Your apps will just take up less space on internal, as the apk file is placed on the ext-partition. They will still take up some space for data and dalvik cache.
edit: bonus info. Install "quick system info" or "titanium backup" from the market to see the size of your ext-partition in those apps.
edit2: and if i did not make my self clear. The partition-size info in the system settings is not supposed to be a partition manager. It's written to be userfriendly, and it only provides the regular user with the partitions they should care about(/data and /sd-card). If you want a detailed view of all your partition(and there is more than a few) go get root explorer. It'll let you play around with all the partitions mounted.(you won't have access to recovery, bootloader and so on from here)
Ok thanks. I'm new to this and there's so much info to take in
With regards to the radio is there a simple way of flashing as I have alpha rev installed the method via recovery wont work. I see alot of people talking about doing this through a terminal but I could not find a comprehensive guide for this like the xda root guide. Thanks.
Darren
Sent from my HTC Desire using XDA App
Well i take it that your cache partition is too small(this is why people using alpharev cm hboot cannot use recovery for this). In that case you have already flashed another hboot(using "fastboot flash hboot hboot.img") if you haven't done this, you cache-partition should not be too small, and the recovery method should be able to do this just fine. If you have done this, use the same command to flash the radio eg "fastboot flash radio radio.img"
Either way it is very unlikely to fix your call delay(read: it won't fix your problem, as it's got nothing to do with the radio). It's a problem caused by some incompatibility between the htc libs and GB. It's quite common on GB roms apparently. Wait for HTC to release the real GB update, and we might very well be able to solve this problem.
dazzr123 said:
Ok thanks. I'm new to this and there's so much info to take in
With regards to the radio is there a simple way of flashing as I have alpha rev installed the method via recovery wont work. I see alot of people talking about doing this through a terminal but I could not find a comprehensive guide for this like the xda root guide. Thanks.
Darren
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Install android sdk:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Copy the downloaded radio.img to e.g. partition C: on your computer (if you downloaded a zip, extract the radio.img from there). Check the md5sum!!!
Boot your into fastboot mode (start it with pressed back and power button) and connect your phone to your computer.
Now open command prompt on your computer and type
Code:
fastboot devices
It should list your device now. If it does, type
Code:
fastboot flash radio C:\radio.img
(in case your radio.img was copied to C: ).
Now, observe the computer and be patient TOUCH NOTHING!!
The process will copy the image to your phone, write the image to the radio partition and perform some magic be patient TOUCH NOTHING!!
Watch the little indicator at the top of your phone screen.
Once the process appears to finish (it may not say complete) wait a further FULL 60 SECONDS and be patient TOUCH NOTHING!!
Then, and only then, reboot your phone.
Click to expand...
Click to collapse
A nice guide about adb/fastboot can you find here:
http://androidforums.com/desire-all...fastboot-windows-updated-1st-june-2011-a.html
Flashing radio is a risky thing. Because if there something is wrong, your phone won't be more than a paperweight.

[Q] Another Evo bootloop without recovery.

I know there are other posts that address a similar problem, but I've started this one because most of the others have had no activity in about two months or more. So, I apologize in advance for bringing up a problem that has been covered before to some extent. In addition, my problem may be somewhat unique.
So, here is a description -- sorry about the length.
1. I rooted my phone --
HTC Evo 4g EVT3
HBoot 2.10
Radio 2.15.00.11.19
Orgiinal OS: Froyo (2.2)
Current OS: Stock Froyo with addition of BusyBox.
-- with Unrevoked3 and got s-off and su.
2. Switched recovery to RA 2.3
3. Flashed MikG 2.5 and decided to go back to stock, but hadn't made an RA nandroid.
4. Used a stock image file I located.
All of the above was successful.
5. Tried to partition my sd card to get sd-ext. Tried RA, but it appeared not to take. I kept getting an error message about not being able to mount /dev/block/mmcblk0p or something like that.
6. Tried to partition the sdcard from Rom Manager Premium.
7. Got a message saying that I had to flash Clockworkmod in order for Rom Manager to do the partitioning (it appears that Rom Manager is merely a GUI for Clockworkmod recoveries).
8. Stupidly, as it turns out, I didn't do due diligence with respect to the compatibiity of my current Rom or whatever and the various versions of CWM nor did I realize that when Rom Manager flashed CWM, it would flash the latest version (5.0.2.2). Sooooo, I pushed the "Ok" button. And that began a cascading series of problems.
9. I went into bootloader but couldn't get to Recovery.
10. Tried to use HBoot to flash a new recovery (renamed "PC36IMG.ZIP" and then another renamed "PC36IMG.IMG"). However, the bootloader never recognized the files. Either it was not scanning the root directory of the sd-card or something else was wrong with the bootloader software.
11. The phone would boot up fine, but I couldn't get to Recovery to make a nandoid and, therefore, wanted to get a new recovery one the phone.
12. Decided to try to flash either from the terminal emulator or adb. But when I tried I got error messages. So, I used Root Explorer to try to find Flash_Image. And there was none as part of the ROM.
13. Found a copy of Flash_Image and transferred it to /data.
14. Tried to flash RA using the same file I had originally flashed, but this time from adb using Flash_Image. Got the message the file was bad.
15. I exited adb and tried to reboot the phone and got into bootloader, but could go no further. I then selected reboot from the HBoot/fastboot menu. And the phone froze at the htc splash screen (which it also does when choosing Recovery from HBoot).
So, now that you're worn out from reading all of that, is my phone bricked or can it be revived? (I don't know if the phone is recognized by my PC when in HBoot USB.)
Thanks for your help in advance.
Holy text wall batman. And you aren't bricked, but go to the development section, and download amon_ra 2.3 recovery [search] then place the file on the root of your sd card and flash it in the bootloader. Your phone probably didn't detect your previous PC36IMG because it most likely was missing something inside, or the recovery img wasn't named recovery.
The only thing I can think to try is an ruu to complete stock and then re-root and reflash recovery
teh roxxorz said:
Holy text wall batman. And you aren't bricked, but go to the development section, and download amon_ra 2.3 recovery [search] then place the file on the root of your sd card and flash it in the bootloader. Your phone probably didn't detect your previous PC36IMG because it most likely was missing something inside, or the recovery img wasn't named recovery.
Click to expand...
Click to collapse
When I tried that before, bootloader showed nothing at all, it just sat there. But all the posts I had read said to name the file PC36IMG.IMG. So, which is it, "PC36IMG.IMG" or "recovery.img"? Thanks.
---------- Post added at 03:57 PM ---------- Previous post was at 03:53 PM ----------
Evo4eva said:
The only thing I can think to try is an ruu to complete stock and then re-root and reflash recovery
Click to expand...
Click to collapse
Where do I find
a) the appropriate RUU file and
b) instuctions on flashing an RUU and
c) What if the bootloader doesn't "see" the file and just sits there like before?
You'll have to run the exe version of RUU from your computer with the phone in fastboot.
I don't have the link handy, but it's in the Dev section.
HEre's all you need to know: https://spreadsheets.google.com/spr...U2Mi1hNWU0LTRlNjEtYWMyOC1lZmU4ODg1ODc1ODI&ifq
then you can reflash recovery, use Amon Ra, don't use Rom Manager for anything other than fixing permissions.
Also, you may wanna back up your SD Card and format it in Windows. If you have partitions, there is a free program called MiniTool Partition Wizard that will remove the partitions and format your SD Card. Before you copy everything back, just put your ROM on there, get everything back up and running ,then copy your files back to the SD Card
HipKat said:
You'll have to run the exe version of RUU from your computer with the phone in fastboot.
I don't have the link handy, but it's in the Dev section.
HEre's all you need to know: {I've removed the link because as a new member I'm not yet permitted to post outside links}
then you can reflash recovery, use Amon Ra, don't use Rom Manager for anything other than fixing permissions.
Also, you may wanna back up your SD Card and format it in Windows. If you have partitions, there is a free program called MiniTool Partition Wizard that will remove the partitions and format your SD Card. Before you copy everything back, just put your ROM on there, get everything back up and running ,then copy your files back to the SD Card
Click to expand...
Click to collapse
I don't have partitions on my sd card. I was trying to create an sd-ext so I could move my apps there to conserve space (I have a lot of apps). Can MiniTool Partition Wizard do that and, if so, will it do it successfully withut problems?
Also, I know it depends on the RUU I use but, assuming I use the right RUU, will it restore the stock ROM? And do you know if there is a Gingerbread RUU that is not an OTA update?
BTW my phone is supposd to be permanently rooted so that I shouldn't have to reroot provided the RUU doesn't flash the radio also (I used Unrevoked3 to root and then Unrevoked forever to make it permanent.
Finally, you say not to use Rom Manager for anything except fixing permissions. I thought I saw an option in RA 2.3 to do even that? Is that correct and does it work? And, if it does, why did I buy Rom Manager (which a lot of people have recommended)?
Addendum: One thing I notice that I forgot to mention is that I tried at some point in my 15 point prccess in the original post that I tried to flash a new recovery from my sdcard, but for some reason the bootloader either wasn't scanning the card or didn't recognize the file or it was named wrong. All the instructions I've seen, including at the link you provided, say to name the file PC36IMG.zip. Yet, teh roxxorz in his pos above says it should be named Recovery. Even the download page accessed from a link in the RUU tutorial you provided calls the file "PC36IMG". So, now I don't know what it is supposed to be called. And, what do I do if the bootloader won't give me the prompt asking if I want to update?
The partition tool will do everything you need, even create and ext3 partiton, but you wanna use Amon Ra for that.
I forgot to go look, and I will now, for the RUU's for the phones. There's an exe version that you can use to run it from your computer
Here's one, but I'm not sure if this is the pc36img or the exe
http://forum.xda-developers.com/showthread.php?t=874251&highlight=official+ruu
Here's the search I did, so you may find something if that one doesn't work
http://forum.xda-developers.com/search.php?searchid=90954703
HipKat said:
You'll have to run the exe version of RUU from your computer with the phone in fastboot.
I don't have the link handy, but it's in the Dev section.
HEre's all you need to know: https://spreadsheets.google.com/spr...U2Mi1hNWU0LTRlNjEtYWMyOC1lZmU4ODg1ODc1ODI&ifq
then you can reflash recovery, use Amon Ra, don't use Rom Manager for anything other than fixing permissions.
Also, you may wanna back up your SD Card and format it in Windows. If you have partitions, there is a free program called MiniTool Partition Wizard that will remove the partitions and format your SD Card. Before you copy everything back, just put your ROM on there, get everything back up and running ,then copy your files back to the SD Card
Click to expand...
Click to collapse
Decent advice, and i DON'T think your sig is BIG enough.
HipKat said:
The partition tool will do everything you need, even create and ext3 partiton, but you wanna use Amon Ra for that.
I forgot to go look, and I will now, for the RUU's for the phones. There's an exe version that you can use to run it from your computer
Here's one, but I'm not sure if this is the pc36img or the exe
http://forum.xda-developers.com/showthread.php?t=874251&highlight=official+ruu
Here's the search I did, so you may find something if that one doesn't work
http://forum.xda-developers.com/search.php?searchid=90954703
Click to expand...
Click to collapse
I've done a search to and found two links. The first one took me to a page in chinese -- not much help. The second was for what my phone had originally and the file is downloading as we speak.
Now, back to some of my questions:
The instructions in the RUU tutorial used the sd card to flash AmonRA. What if my phone won't recognize the file -- as I mentioned above? And what is the file to be called PC36IMG.zip or Recovery.zip? And does case matter? So, what precisely should the file be called (as it should actually be typed)?
Then, what if when I go to run the exe, it doesn't see the phone (I do have the usb drivers on my computer -- or at least I did, including the one from Unrevoked)?
mjtaryan said:
I've done a search to and found two links. The first one took me to a page in chinese -- not much help. The second was for what my phone had originally and the file is downloading as we speak.
Now, back to some of my questions:
The instructions in the RUU tutorial used the sd card to flash AmonRA. What if my phone won't recognize the file -- as I mentioned above? And what is the file to be called PC36IMG.zip or Recovery.zip? And does case matter? So, what precisely should the file be called (as it should actually be typed)?
Then, what if when I go to run the exe, it doesn't see the phone (I do have the usb drivers on my computer -- or at least I did, including the one from Unrevoked)?
Click to expand...
Click to collapse
The should be named PC36IMG.zip. Windows hides file extensions by default, so just name it PC36IMG, not PC36IMG.zip.zip, and yes case matters. The bootloader will see the file because all the contents will be inside the zip file; just place on the root of your sd card, boot into the bootloader, and take it from there. You need to boot into the bootloader, select fastboot usb, then connect to the pc, and last run the exe; if you have all the drivers, you should have no problem.
teh roxxorz said:
Decent advice, and i DON'T think your sig is BIG enough.
Click to expand...
Click to collapse
You missed it before I resized it. It was like half a page big! lol
HipKat said:
The partition tool will do everything you need, even create and ext3 partiton, but you wanna use Amon Ra for that.
I forgot to go look, and I will now, for the RUU's for the phones. There's an exe version that you can use to run it from your computer
Here's one, but I'm not sure if this is the pc36img or the exe
http://forum.xda-developers.com/showthread.php?t=874251&highlight=official+ruu
Here's the search I did, so you may find something if that one doesn't work
http://forum.xda-developers.com/search.php?searchid=90954703
Click to expand...
Click to collapse
I've done a search too and found two links. The first one took me to a page in chinese -- not much help. The second was for what my phone had originally and the file is downloading as we speak.
Now, back to some of my questions:
The instructions in the RUU tutorial used the sd card to flash AmonRA. What if my phone won't recognize the file -- as I mentioned above? And what is the file to be called PC36IMG.zip or Recovery.zip? And does case matter? So, what precisely should the file be called (as it should actually be typed)?
Then, what if when I go to run the exe, it doesn't see the phone (I do have the usb drivers on my computer -- or at least I did, including the one from Unrevoked)?
HipKat said:
You missed it before I resized it. It was like half a page big! lol
Click to expand...
Click to collapse
NO, I saw it when it was half a page big.
Just for good measure, here's the link for Amon Ra that is already named correctly & has the correct components. You can find it here: http://db.tt/WP0beNa
I'll admit that I just scanned over the majority of the posting after the first post, so I'll read that over really quickly and if I can think of anything else I'll edit this post.
Also, does hboot scan and not find the file, or not scan for it at all?
Sent from my PC36100 using Tapatalk
teh roxxorz said:
Decent advice, and i DON'T think your sig is BIG enough.
Click to expand...
Click to collapse
I don't understand what you mean by "...I DON'T thnk you sig is BIG enough."??
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
plainjane said:
Just for good measure, here's the link for Amon Ra that is already named correctly & has the correct components. You can find it here: http://db.tt/WP0beNa
I'll admit that I just scanned over the majority of the posting after the first post, so I'll read that over really quickly and if I can think of anything else I'll edit this post.
Also, does hboot scan and not find the file, or not scan for it at all?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Good question. I really don't know. When I boot into HBoot it just sits there. There are no messages of any kind, just the menu and above it (in red) instructions for using vol-up, vol-down and the power button. And, of course, at the top of the screen is the version information. And that's all it shows. So, I can't tell what it's doing.
The other thing I'm anxious about is that HBoot isn't scanning the card or can't find the file AND HBoot USB won't connect me to the PC. I'm assuming that, if that is the case, I'm dead in the water.
mjtaryan said:
I don't understand what you mean by "...I DON'T thnk you sig is BIG enough."??
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
Good question. I really don't know. When I boot into HBoot it just sits there. There are no messages of any kind, just the menu and above it (in red) instructions for using vol-up, vol-down and the power button. And, of course, at the top of the screen is the version information. And that's all it shows. So, I can't tell what it's doing.
The other thing I'm anxious about is that HBoot isn't scanning the card or can't find the file AND HBoot USB won't connect me to the PC. I'm assuming that, if that is the case, I'm dead in the water.
Click to expand...
Click to collapse
Consider using a different SD card / Perhaps your SD is cooked ?!
So long you get to the bootloader you are fine
blandt said:
Consider using a different SD card / Perhaps your SD is cooked ?!
So long you get to the bootloader you are fine
Click to expand...
Click to collapse
My card seemed to work fine with regular apps before this mess. Would the sd card work with regular apps and be "cooked" when it comes to the bootloader?
plainjane said:
Just for good measure, here's the link for Amon Ra that is already named correctly & has the correct components. You can find it here: http://db.tt/WP0beNa
I'll admit that I just scanned over the majority of the posting after the first post, so I'll read that over really quickly and if I can think of anything else I'll edit this post.
Also, does hboot scan and not find the file, or not scan for it at all?
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I just tried the link you provided for the AmonRA using IE8. The link opened a blank page and the dowload never started. Will try Firefox.
Copied the URL to Firefox and it worked. Hopefully the checksums will be correct. Thanks.
---------- Post added at 07:50 PM ---------- Previous post was at 07:24 PM ----------
Another few questions before I try this.
What will happen if I run the RUU without first running the s-on tool?
What will happen if I run the s-on tool AFTER I run the RUU?
What will happen if I run the RUU without installing Amo_RA before hand (with or wihout having run the s-on tool?
I'm wondering because it's not like I'm returning the unit to Sprint or going to sell it. I just want to get it up and running again and was wondering, in case I can't get AmonRA installed, could I do the RUU, then run Unrevoked again without using the s-on tool. My thinking was along the lines that if I ran unrevoked again, it would also install Clockworkmod 2.6.0.1 recovery from which I switch to AmonRA. Of course there are other assumptions like being able to run the RUU exe. Which reminds me, how can I tell if HBoot USB is working and has made a successful connection with my pc?
Sorry about all the questions, but not asking the pertinent questions is what got me into this mess in the first place and I don't want to screw things up so that nothing at all can be done except replace the innards of the phone or get another one. Thanks to you all for your time and patience.
You don't need to Run S-On. The RUU should keep you rooted. After you run the RUU, then you want to flash the PC36IMG of Amon Ra and you should be all set.
HipKat said:
You don't need to Run S-On. The RUU should keep you rooted. After you run the RUU, then you want to flash the PC36IMG of Amon Ra and you should be all set.
Click to expand...
Click to collapse
OK. After running the RUU, can I run unrevoked again without running the s-on tool? (So that I have a recovery from which to install RA.)
Now, to repeat a couple of my questions in my last post.
How can I tell if HBoot USB is working and has successfully connected with my PC?
Can my sd card be cooked with respect to the PC36IMG files and yet the files I saved using some of my app appear to be fine?
Just though of another question. When my phone locked up USB debugging was on. So, am I correct in assuming that, even though it is in a bootloop, that HBoot will still see USB debugging as on? And when I go into HBoot USB, should the sd card show up on my PC like in Disk Drive mode when the phone was booted normally (before this problem)?

[Q] Creating custom Hboot

Hey,
I've got a situation. I'd like to try and run a HTC Sense 2.1 version, preferably the one from Coolexe into a different Hboot than the common type. Namely into a Hboot with 210/205Mb for system and 5Mb cache so I can have the rest for Data, this is because I prefer to have everything on the nand of the phone instead of the sd-ext etc! I've posted the coming question in his topic aswell..
Coolexe uses at his own ROM a trick which enables him to use the cache partition, he then symlinks those files (which are in the cache partition) to the /system folder. So when I figured that out, I went and put some files into the cache partition so my system folder is lower than 180MB, this way I could use the Sense Hboot. Everything went fine and the ROM booted, however I couldn't get on my WiFi. I did see my WiFi, but I could not connect..
To check if it wasn't the ROM I put everything back into the /system folder and tried the ROM with the stock Hboot. This time everything just worked. So I think that the symlinking simply just doesn't work..
When I looked at titanium backup, with the symlinking ROM, my system folder sayd that my /system had no room left anymore. So I think because of that it won't get an IP address.
So I read somewhere that Thalamus made a Hboot creater, so I thought my problem is solved now! I'll just create my own Hboot.. However when I tried to make a Hboot similar to the one from Oxygen or CM7r2, just to check if everything worked the way it had to, the md5sum didn't match.. So now I'm wondering if someone has created a good functioning Hboot with that tool, I prefer not to brick my phone
So I was wondering if someone had the same problem? And if someone doesn't have this problem could he/she create a custom Hboot of 210mb for me? Or something what comes near that figure..
If someone has an idea about why I don't get an IP address I'm glad aswell!
Thanks in advance
i had about dozen done... everything is spot on... HERE IS YOURS
md5:
114213A25C3C2E6148B838F5628E5027
Tried and working
About IP address:
Is it still obtaining IP? try to set IP manually, on my router(wifi N) i can't connect without static IP... previous router worked perfectly but unfortunately it was not WIFI N
_thalamus developed an app to create your own hboots:
http://thalamus-hacking.blogspot.com/2011/07/custom-hbootsupdate.html
I knew that MatDroid, like I sayd in my topic start (at least I tried too).. However my MD5sum did not match with the MD5sum from alpharev, so I was a bit scared to do it!
That is why I asked in here if someone knew why they don't match or if someone could make me mine.. I'd prefer to be able to make my own, however when the MD5sums don't match I'm not going to try it xD
If you really want to check to make sure your computer is generating good hboots, check the hexdump output and compare it with a known good one. For example, generate one with 100 MB system, 5 MB cache, then dump the hex and compare with the Oxygen r2 hboot from alpharev.nl, they should be identical apart from the label
Click to expand...
Click to collapse
Quoting Thalamus... So I guess the hexdump is the thing you need to check as the MD Sum will not work to verify if it works.
stankyou said:
Quoting Thalamus... So I guess the hexdump is the thing you need to check as the MD Sum will not work to verify if it works.
Click to expand...
Click to collapse
Hmm that makes a lot of sense I Overread I guess.. I just assumed that when you open the program it says to check the bravo_alpha, with the other program which you get by that rar file, and that I could do the same with the other Hboot's from alpharev website!
Other question will follow, I'm going to look it up anyways, how can I make a hexdump xD
Owh yeah and thanks kotag82! I'll try it tonight, just had a lot of tests at school :-/
I use an MDSum checker. There is one I use that I got from portableapps.com. Pretty useful if you quickly wanna check mdsums of roms, hboots and whatnot.
I figured it out, like stankyou sayd.. I did indeed had to compare them in a hex editor!
And everything has to be matching to let it be the same, I made a Hboot with the exact same label and partition layout and now the hex files between mine and the alpharev Hboot match I did it with a program called HxD hex editor, which I got from a tip of t-minik. With that program you can compare hex files from one file with hex files from another file!
Thanks everybody who helped!
Salfalot said:
I figured it out, like stankyou sayd.. I did indeed had to compare them in a hex editor!
And everything has to be matching to let it be the same, I made a Hboot with the exact same label and partition layout and now the hex files between mine and the alpharev Hboot match I did it with a program called HxD hex editor, which I got from a tip of t-minik. With that program you can compare hex files from one file with hex files from another file!
Thanks everybody who helped!
Click to expand...
Click to collapse
Use the thanks-button to honor the help.
Will do that ;-)
Anyways now the hboot works and that problem is solved.. I still got my IP adress issue! I really don't understand it :-/
The strange thing is when I use the exact same ROM with a stock Hboot everything just simply works! If I just knew where to find my problem.. I think it is in the updater script, because Coolexe used the cache as a partition, but I simply just don't know for sure..
Ok I feel really stupid right now! I made a partition of 215MB and everything just worked Even though the ROM booted with 210MB I think it didn't have enough room after all..
Is there some way to create a hboot with cache partition less than 5mb? The tool linked here only allows partition to be 5mb at minimum. I do not need cache at all because of scripts I'm using.
impactor said:
Is there some way to create a hboot with cache partition less than 5mb? The tool linked here only allows partition to be 5mb at minimum. I do not need cache at all because of scripts I'm using.
Click to expand...
Click to collapse
Your rom will use that cache partition, or your recovery. That's why it needs to be there.
Ok, but I suppose I could go down to 1 or 2mb, no?
impactor said:
Ok, but I suppose I could go down to 1 or 2mb, no?
Click to expand...
Click to collapse
Most roms use between 1-3MB of cache better to have slightly more
Plus are you really that desperate for a couple of MB? Lol
Sent from my HTC Desire using xda app-developers app
dethrat said:
Plus are you really that desperate for a couple of MB? Lol
Click to expand...
Click to collapse
If you customise the rom to what you exactly need, then every MB makes a difference. Especially on JB.

I have been Hacked!

Yeah..as the title says.. 3 weeks ago this hacker hacked into my network..
placed rootkits in all my 3 computers and then hacked its way to my Desire and my wifes iphone. good thing i had wireshark running same time.
So.. 5 units hacked with the method in like 1 houre. Bad luck for me i guess.
And kaspersky didnt give me any warnings at all. bye bye kaspersky.
Anyway... i flashed my desire's HBOOT just to be sure. after i did a check with "AutoKiller Memory Optimizer" all kinds of malware services was attached to most of my apps.
1- downgraded HBOOT
2- flashed stock HBOOT from alpharev
3- Changed recovery from CWM to 4EXT as i suspected the recovery being infected somehow.
I checkd my log... the hacker had removed some files and moved shell files from an folder to another as well as busybox and so on. it was so many i thought il be better of installing new ROM.
I tried with Gingervillain first... everything installed fine..
checking with "root explorer" i see same files that had been moved and added was still there.
OK.. i tried again..
full wipe with 4ext and then installed Runnymede.. still.. when i check my root partition most of the files still there and i get same results doing a root check.
any idees...? im not sure if my kernel is right. it should be, when i installed Runnymede. when checking kernel v.
it says.. "[email protected] #11"
May be kernel rootkit? does the kernel start before recovery?
can someone plz confirm this?
baseband seem to be the same
any advise as for how to start from scratch will be much appreciated.
Clawsman said:
full wipe with 4ext and then installed Runnymede.. still.. when i check my root partition most of the files still there and i get same results doing a root check.
Click to expand...
Click to collapse
Full wipe wipes /cache, /data and /sd-ext to my knowledge. There is a possibility some of the files remain on /system. Use 4EXT to manually format each partition using format option.
Clawsman said:
it says.. "[email protected] #11"
Click to expand...
Click to collapse
That seems in order. Long name in attach marks modules added to that kernel.
Sent from my HTC Desire using Tapatalk
Ok
well.. i did the format manually in 4EXT.
I suspect some files still to be there..also some boot files containing malware script.
what file contains the boot script? i mean.. what file is the first to be triggered when booting in HBOOT. because many things in the recovery doesnt seem right. and the hboot fastrecovery starts with a delay.
Like when i want to partition or when i want to format all partitions except sd. Acts like it doesnt want to.
Anyway.. was just wondering if i could just adb and delete every file folder that is in in my phone and then flash recovery and ROM again.
Is that what RUU does?
is that something to recomend?
RUU is complete wipe of everything. /system, /hboot etc.
Download the correct one for your phone, *follow its instructions* (may need a gold card - google it) and run it on a clean pc.
Clean your pc ie format and reinstall after taking backups.
Then start again wit ha new hboot/rom setup.
Is that even possible? Infecting an Android phone via a Wi-fi network?
And Recovery shouldn't be able to get infected. I think ONLY /data can, and eventually /system if it's mounted as RW.
But on a wipe data gets deleted, and on a ROM install /system and boot (which holds the kernel and ramdisk) is deleted anyway.
RADIO starts before HBOOT. And there's absolutely no way they can be infected.
To be safe:
fastboot erase cache
fastboot erase system
fastboot erase boot
fastboot erase recovery *OVERKILL*
Then just do fastboot flash recovery {RECOVERY}
And there's nothing more you must do. HBOOT reflashing is 100% pointless.
Maybe top-notch hackers are shifting their interest from hacking NASA, FBI and similar organizations in the US to hacking Android phones. Or maybe it's one of their favourite ways to have fun in their idle time. Who knows?
Anyways, here's a Thanks from me, mr. Andrei, for your contribution to this community.
TVTV said:
Maybe top-notch hackers are shifting their interest from hacking NASA, FBI and similar organizations in the US to hacking Android phones. Or maybe it's one of their favourite ways to have fun in their idle time. Who knows?
Anyways, here's a Thanks from me, mr. Andrei, for your contribution to this community.
Click to expand...
Click to collapse
I do what i can. There are many devs that know much more than me. Your thanks are appreciated
For me it's still strange, tho. Only data and system could be "infected"
Take a look at this: http://forum.xda-developers.com/showthread.php?t=1399076
It's a scheme i made on how HTC and Nexus devices work. (How they boot, what are the individual partitions, etc)
Clawsman said:
Yeah..as the title says.. 3 weeks ago this hacker hacked into my network..
placed rootkits in all my 3 computers and then hacked its way to my Desire and my wifes iphone. good thing i had wireshark running same time.
So.. 5 units hacked with the method in like 1 houre. Bad luck for me i guess.
And kaspersky didnt give me any warnings at all. bye bye kaspersky.
Anyway... i flashed my desire's HBOOT just to be sure. after i did a check with "AutoKiller Memory Optimizer" all kinds of malware services was attached to most of my apps.
1- downgraded HBOOT
2- flashed stock HBOOT from alpharev
3- Changed recovery from CWM to 4EXT as i suspected the recovery being infected somehow.
I checkd my log... the hacker had removed some files and moved shell files from an folder to another as well as busybox and so on. it was so many i thought il be better of installing new ROM.
I tried with Gingervillain first... everything installed fine..
checking with "root explorer" i see same files that had been moved and added was still there.
OK.. i tried again..
full wipe with 4ext and then installed Runnymede.. still.. when i check my root partition most of the files still there and i get same results doing a root check.
any idees...? im not sure if my kernel is right. it should be, when i installed Runnymede. when checking kernel v.
it says.. "[email protected] #11"
May be kernel rootkit? does the kernel start before recovery?
can someone plz confirm this?
baseband seem to be the same
any advise as for how to start from scratch will be much appreciated.
Click to expand...
Click to collapse
An example of those infecting file?? What file in your root partition?? What path? Rom files are only on /system
Inviato dal mio Galaxy Nexus usando Tapatalk
I never use a anti virus and until now never have a problem...As i know!
Well it happened to me..
I have deleted everything.. I remember i checkd my log, and busybox files was moved to the system folder.. And all kinds of services was attached to Google map, calender, Facebook, wifi apps, market, etc..
And new apps installed like vpn, cam apps, recorders.. etc
Im currently using the free lookout...
And want to Buy a security tool.
Any advice Will be much appreciated.
Sent from my HTC Desire using xda premium

Categories

Resources