I like to change theme roms a lot, Sapphire Google Build/HTC Build and JF1.41 RC9/RC33
But i have to put the roms as update1, update2 etc and then rename then before i flash them
I was wondering is there a way maybe a code n the recovery terminal to flash an update.zip not called update.zip
Just a suggestion
iirc, you can specify the update file to flash from the terminal, but i may be wrong; i'll have a look for the command, it's on this forum somewhere.
Echo "boot-recovery
--update_package=SDCARD:foldername/update.zip" > /cache/recovery/command
Reboot phone and hold power + home
Replace foldername with directory of desired update
SDCARD must be uppercase
beagz said:
Echo "boot-recovery
--update_package=SDCARD:foldername/update.zip" > /cache/recovery/command
Reboot phone and hold power + home
Replace foldername with directory of desired update
SDCARD must be uppercase
Click to expand...
Click to collapse
Just a note that this method does not currently work on the Haykuro builds because the reboot command is "not permitted!"
That is why you must do a manual reboot. As soon as the screen goes black press and hold power + home until it starts the recovery console. It works if you follow that proceedure.
Or alternatively boot to the recovery console press alt+x then enter the commands at the prompt and then type "reboot recovery" without quotes at the end.
just use a file manager to rename before reboot
Related
I can get root access. I have RC29. I am trying to install the custom firmware.
This is where i am having the problems:
Install JF's ROM
Download JF's RC30 v1.41 ROM for US users or JF's RC8 v1.41 ROM for UK users or JF's ADP1.1 v1.41 ROM if you have an ADP1 to /sdcard and rename it to update.zip (when you are done it should be "/sdcard/update.zip").
Download the modified recovery and unzip it. Place the file "recovery_testkeys.img" in /sdcard
In the terminal you opened earlier (with root access) Enter the following commands in to flash the modified recovery
mount -o remount,rw /dev/block/mtdblock3 /system
cd /system
cat /sdcard/recovery_testkeys.img > recovery.img
flash_image recovery recovery.img
Reboot your phone (completely, do not enter recovery yet or your neighbors dog might die)
Once fully rebooted, power off your phone (hold power and select "Power Off"), and hold down home while you turn the power back on.
When you enter the recovery console (which should say "using test keys" if your modified recovery was flashed correctly) hit "alt+L" and then "alt+S" on your keyboard. This will flash the update.zip file that you downloaded and placed there. If you have any problems with this step you missed something above.
I type in all that stuff in telnet and reboot.
Then when I hold the home button and power on I dont see the "using test keys" I see a White triangle with an (!) in it. and a phone. My phones working fine I just cant seem to get the custom JF rom to install.
Please help me out. Thanks in advace.
is anyone havin this problem?
open your keyboard and push "Alt" + "L" when you see the triangle. You should see a menu, then push "Alt" + "S".
wow, it was that easy... i feel like an idiot. sorry for the trouble...
Hi. I have tried the tutorial on this site (http://forum.xda-developers.com/showthread.php?t=442480) and a different one (http://www.telesphoreo.org/pipermail/g1-hackers/2009-January/000291.html), but I can't get it to work. I always complete the tutorial with no errors or such, but when I finish, it still says I have RC29. If there are any common mistakes people make, or a different tutorial I should try...I would appreciate any help basically.
Thank you very much!
Edit: I rethought this, and my problem actually is not with rooting. It is with the section "What to do know that you have root". I can't get it to update to RC33.
EDIT 2: I found the problem, when i do the thing where you hold home and power "e:can't open /cache/recovery/command" comes up at the top of the screen.
What exactly are you doing after you are rooted?
Answer
I do this step:
Now that you have root, you will want to apply "Hard SPL" to your phone. HardSPL is what will allow you to apply flash images from other regions (like UK on US phones, and vice versa), create full backups of your phone, install the latest build from the Android source, and usually resurrect your phone if it is "bricked". You have already downloaded the file to your SD card, so now you can apply it.
1. Power off your phone.
2. Start up in recovery mode by holding home and pressing power.
3. You will now enter recovery mode. You should see an exclamation.
4. If you do not see a menu on screen, press Alt-L to show the menu.
5. Press Alt-S to apply the update from the SD card.
6. After the update is complete, hold Home and press Back to restart.
And now, the last step! You are still running an old version of Android, but you want to upgrade to the latest and greatest update! You can do this, and not lose root by downloading modified versions of the updates.
First, choose a modified image from the list below:
ADP1.1: (md5: bacc58302e0b239d66c7bcc8db6c434b)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
RC33: (md5: f24b6c237775147cb4bc42efc2393973)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/02/new-rc33...om-jesusfreke/
RC8: (md5: de2d0d34adbb4015ee3aa5e4e7ca3c07)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
1. Download the image.
2. Rename it to update.zip.
3. Copy it to your phone's SD card.
4. Turn your phone off.
5. Start up in recovery mode by holding Home and pressing Power.
6. Press alt-W to wipe your device. (You need to do this, or the device may hang at the flashing Android screen)
7. Press alt-S to apply the update.
Click to expand...
Click to collapse
There are no errors or anything that I experience during it...I just go to about phone after and it still says RC29.
If you want to upgrade to the newest RC, you'll need to download one of the links from the last two "sections" (below)
ADP1.1: (md5: bacc58302e0b239d66c7bcc8db6c434b)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/01/jesusfre...mages-are-out/
RC33: (md5: f24b6c237775147cb4bc42efc2393973)
http://jf.odiness.com/v1.41/JFv1.41_...ronment.tar.gz
http://android-dls.com/forum/index.p...rb_v=viewtopic
http://andblogs.net/2009/02/new-rc33...om-jesusfreke/
These are the files that would upgrade you to RC 30/33 , ADP1.1.
Once you download the file, save it as update.zip.
Turn off the phone, and hold the Home key when you turn it back it.
When it boots to the bootloader, go ahead and update your firmware. It'll change to whatever RC you choose when you get back to the UI
Thanks...
Thanks...but the reason I posted it is that I do the steps you listed, and it still says I have RC29.
The only thing that might help is "e:can't open /cache/recovery/command" comes up on the screen (when you press home and power)
Are you sure you followed the previous instructions (prior to upgrading to RC33/30)?
For example,
1) mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
then you need to make sure you correctly flashed the recovery image.
try putting in the recovery image again, and re-flashing (step 3: flash_image recovery recovery.img ) as root
Thanks, I think I'll try starting over. Is there any way to erase what I have done on my phone so far? Or if I start back on step 1, will that not matter even though I have already done all the steps?
Just type off here what you see in:
Settings > About Phone
Firmware Version = ____
Kernal Version = ___
Build Number = ___
Just need to know, so I can tell you were to approximately start again from.
Regards,
Firmware Version =
1.0
Kernal Version =
2.6.25-01843-gfea26b0
[email protected] #6
Build Number =
kila-user 1.0 TC4-RC29 115247
ota-rel-keys,release-keys
clefky10 said:
Firmware Version =
1.0
Kernal Version =
2.6.25-01843-gfea26b0
[email protected] #6
Build Number =
kila-user 1.0 TC4-RC29 115247
ota-rel-keys,release-keys
Click to expand...
Click to collapse
Ok thanks. Start from the bold:
Instructions:
1) Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
2) Download the Hard SPL and copy the zip file to the SD card.
3) All files must be on the root of your SD card.
4) Restart your phone. Wait for your phone to start up fully and show the home screen.
5) After your phone starts up, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
6) Download an Android "Telnet" application from the Market and connect to localhost.
7) If you connect successfully, you will have a root prompt "#".
8) Type the following into Telnet (these commands will give you root access easier in the future):
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Thanks, I'll update with the results.
Edit: I do not extract the file, and I should leave it named update correct?
Thank you so much for your help!
Sounds good. If any errors come up (beside Can't open /cache/recovery/command) lemme know.
EDIT : Correct. Leave the file zipped
Btw : Make sure that you have recovery.img on the SD card also, as you'll need to when you flash the image.
My mistake - I should have just said start it all over again.
Here are the steps I did
Download recovery.img and Hard SPL (still in zip format) to sd card (all I did was drag them into the E folder in my computer).
Safely remove and reboot phone.
Type in telnetd enter.
Go to telnet and type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
I had two ## in front of each line.
I then turned off phone and did the home and power button thing, then pressed alt s.
Downloaded RC33 from http://android-dls.com/forum/index.php?f=24&t=241&rb_v=viewtopic
Turned off phone after safelty removing.
I then put this on the sd card and did not delete the other two files currently on there (I named this update.zip).
Then did the power button home thing after I turned off phone and pressed alt s.
Then turned phone back on and had the same things in about phone that were their previously.
Hello. I am sick from school today and decided to make a thread to help out some people.
DOWNLOADS ARE BELOW(AT THE BOTTOM!!!)
All of these steps are posted on TheUnlockr.com in a Video but The video is for the GSM version. The difference is just the recovery image. (http://theunlockr.com/2009/08/27/how-to-root-your-htc-hero-in-one-click/)
Ok lets get started.
This method works on all Sprint phones with updates. I am not sure how long this will last unpatched.
First YOU HAVE TO HAVE ADB WORKING!!!
Download my zip file if you do not want to download the entire SDK.
1)After it is downloaded, extract the files to C:\Windows\System32\
(you can copy and past the file-path)
2) Now pickup your phone and go into Settings-Applications and Enable Unknown Sources then from there go into Development and make sure that USB Debugging is enabled.
3) Now connect your phone to your computer and open up command prompt (Start-Run(or search) cmd.exe.
4)When it is open type: ADB Devices.
You should see your'r phone's serial.
Now download flashrec-1.1.3-20091107-2.apk (the download is below)
1) Copy the file to your sdcard.
2) Download any File Manager from the android market.
3) Go to your Sdcard in the file manager app on your phone.
4) Press flashrec-1.1.3-20091107-2.apk
Let it install.
5) When it is complete, go to your apps drawer and open the Recovery Flasher app.
My method requires you to have a recovery image before root.
6) In the recovery flasher app, Press Backup Recovery Image
7) Let it work. You may have to try twice for Success.
8) Now Mount your phone back on the computer and replace the recovery-backup.img with the recovery-backup.img on this thread(MAJOR thanx to Amon_RA)
9) Now unmount your phone and go back into the Recovery Flasher app on your phone.
10) Now press restore and let it flash recovery-RA-heroc-v1.2.3.img(Amon_RA's Sprint custom recovery image)
YOU NOW HAVE A CUSTOM RECOVERY IMAGE!!! WOOT WOOT
the work is still not done.
Download the Superuser.zip(http://forum.xda-developers.com/attachment.php?attachmentid=211569&d=1249225060 or in the downloads below) and extract it to your Sdcard
Now go into your new recovery image (power off the phone and then power it on by holding the Power and Home buttons)
Connect your phone to a computer and run command prompt.
IN COMMAND PROMPT TYPE:
Code:
adb shell
mount /sdcard
mount /system
cp /sdcard/su /system/bin/
chmod 4755 /system/bin/su
cp /sdcard/Superuser.apk /system/app/
reboot
(you can copy and past the code into command prompt from the thread)
Download the Better Terminal Emulator app from the market and type:
Code:
$ su
if you get a
Code:
#
then...YOU NOW HAVE ROOT!!
now you can install custom ROMs and root-required apps
FlashREC(Recovery Flasher): http://zenthought.org/system/files/asset/2/flashrec-1.1.3-20091107-2.apk
Amon RA's Sprint Recovery: http://www.mediafire.com/file/uozzgzmmnym/recovery-backup.img
Superuser.zip: http://www.mediafire.com/file/3mddanwztzd/superuser.zip
ADB and Fastboot(for those who need it): http://www.mediafire.com/file/tyib2wmomym/ADB_Fastboot.zip
Is it possible to flash roms on xt720 if the volume rocker is broken? I am able to flash sbfs so is there a way to convert roms into sbfs? Any suggestion is helpful.
Thank you
Sent from my HTC Amaze 4G using XDA App
Touch-based would be pretty svelte.
But here's an ugly hack instead: *
1. get adb to work <-- that may be the hard part
2. extract the attached files and put them into /sdcard/OpenRecovery/app **
3. connect to usb and reboot to OpenRecovery
4. use "adb shell"
5. Type "up", "down", "camera" as appropriate at the adb shell terminal to move the on-screen cursor around
up == volume up button
down == volume down button
camera == camera button
Unfortunately, this won't help you get into openrecovery if your system won't boot. I'm working on a "release valve" modification, (i.e. if the hijack is there but you don't successfully boot then next boot goes automatically to openrecovery) but it's not ready yet. If you can boot and reboot recovery doesn't take you to OpenRecovery, try typing "reboot openrecovery" from the terminal/adb shell or use a root file manager to create a /cache/.boot_to_or file. If those don't work you need to reinstall the orbootstrap.
* Tested with OpenRecoveryXT720, but should work with any OpenRecovery-based recovery. May need to be tweaked if you're running a Motoroi sbf on Milestone XT720 hardware... for whatever reason that shifts some of the /dev/input/device# around.
** You'll end up adding these files:
/sdcard/OpenRecovery/app/fakekeys/fakeit.sh
/sdcard/OpenRecovery/app/fakekeys/up.bin
/sdcard/OpenRecovery/app/fakekeys/down.bin
/sdcard/OpenRecovery/app/fakekeys/camera.bin
/sdcard/OpenRecovery/app/fakekeys.sh
hello all,
this recovery is not ported by me, xda's senior member fun_ have ported this to many devices, and we using the one which is compatible with paladin, many many thanks to him, a link to original thread is here
requirements:-
1. a rooted phone, you can root your tab here
2. cwm recovery image which you can get here
steps:-
1. open file manager which can have root access
2. go to system and rename recovery.cpio.img to recovery.cpio.img.bak
3. put downloaded recovery in /sdcard
4. open terminal emulator
5. type su
6. type "inand_flash_image recovery /mnt/sdcard/recovery.cpio.img" (if you have put it in flash then replace sdcard with flash)
7. then boot into recovery by holding menu and power button together or by typing "reboot recovery" in terminal emulator
how to control recovery:-
# power button is used to select options
# menu button will take you up
# home button will get you down when pressed
some notes you should keep in mind:-
1. back button do not work in recovery
2. never try the key test option else you will get stuck
3. backup do not work for boot, xboot, mbr areas
4. do not flash any rom available for paladin, basic etc. devices (or you will have a hard bricked tablet)
a simple step to enable on-screen back button
as soon as you booted into recovery, press menu then home then again menu, a message will appear saying enabled ( can be done in every screen)
Cwm
Nt able to rename recovery.cpio.img to recovery.cpio.img from andro zip, es file explorer,terminal . . ? Any solution?
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
dheeraj (dhlalit11) said:
in terminal type
Code:
su
mv /system/recovery.cpio.img /system/recovery.cpio.img.bak
Click to expand...
Click to collapse
failed - read only file system . . . ? . . Any other way to rename this file
pbhasin21 said:
failed - read only file system . . . ? . . Any other way to rename this file
Click to expand...
Click to collapse
tab is not rooted root it first
http://forum.xda-developers.com/showthread.php?p=29100664
dude i followed ur steps, used root explorer to rename to bak, and then tried, i get kcrc32 file size not same. and then when i boot to recovery the whole screen goes berzerk with curtain falls and doesn't do anything. i renamed the bak file into normal and flashed it and got the old recovery.. could you tell me what im doing wrong? used your recovery.cpio.img 3.5mb file in my sdcard... doesnt work..
rooted karbonn smart tab
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
dheeraj (dhlalit11) said:
kcrc32 not same is normal
did the terminal flash the recovery 2 times
like:-
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
kcrc32 not same
then a hex address
flashing from /mnt/sdcard
if you get something like above then it is flashed properly
Click to expand...
Click to collapse
yup i got it twice, kcrc32 not same.
then i entered reboot recovery. thats when the screen goes all curtainfall like a crash, and recovery doesn't load. i had to use the reset pin and power button to turn on the tab again.. perhaps the img is not compatible with my tab?
btw mine is Karbonn Smart Tablet 2.
http://ncarry.nimbuzz.com/karbonn/product.php?product_id=2212
but when i purchased, it came with android 4.0 ics. everything else is same as in that page..
it is different
and I think that's why recovery is not booting
any suggestions mate? perhaps another ainol tab is similar to karbonn st2?
What if there is no "recovery.cpio.img" file in the system folder? This is after having root permissions...nothing has been done otherwise. I do not have a recovery file to rename and am unsure if it should still go in the system folder or not. It doesn't even have a file extension (I had to transfer it to my laptop just to check, and there's no .img or .zip...nothing.)
Also I keep getting the following message in terminal emulator when attempting to run the command:
sh: inand_flash_image: not found. The image file is in the /mnt/sdcard/Download folder. The full instance is:
[email protected]:/ $ su
[email protected]:/ # inand_flash_image recovery /mnt/sdcard/Download/recovery.cpio.img
sh: inand_flash_image: not found
127|[email protected]:/ # inand_flash_image
sh: inand_flash_image: not found
Any help?