Related
I couldn't find a thread on this. If there is one and I just missed it, please direct me that way and I apologize for the duplicate.
I hacked the .config file (kernel), compiled it, tested it in fastboot's boot mode (from the bootloader) and then flashed it to the phone with the instructions on this site:
credentiality2.blogspot.com/2010/08/nexus-one-htc-passion-compile-and-flash.html
It works and is wonderful, but I would love to find a way to create a boot.img file with the kernel I've hacked. Do any of you have any insight or know where I can look for more info.?
Do any of you know how to create the boot.img-ramdisk.gz file? I know how to put that with my hacked boot.img-kernel file and create a boot.img file that way.
Any help is much appreciated.
Fixed!
I figured out the problem was I couldn't the boot.img file from my Android 2.2 phone because the read-write permissions did not allow me to do the adb pull command. Now, I've pulled that boot.img file and can unpack and repack it with my hacked kernel using the directions on the website I originally referenced.
I used this command to change the permissions so I could pull the boot.img file:
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Hi,
I have rooted my HTC Dream successfully. I have flashed in CyanogenMod ROM.
Now I have downloaded Android Kernel and rebuilt it. Now I have the zImage which is the kernel image. Now how do I use this new image? I guess must modify the boot.img to use this new kernel image.
Any idea how can I do this? I tried using "fastboot flash:raw boot <kernel directory> <ramdisk directory>"
For <ramdisk directory> I point to the one in the android-sdk. But after flashing it stuck in the "G1 T Mobile" screen and doesn't proceed. Not sure how to resolve.
Thanks In Advance,
Perumal
I downloaded the boot.img file, split it into boot.img-kernel and boot.img-ramdisk.gz. Then, renamed my newly-compiled kernel's "zImage" file as "boot.img-kernel" and zipped them back up into boot.img. Then, I flashed it to the phone with fastboot. All of the directions are on this website:
credentiality2.blogspot.com/2010/08/nexus-one-htc-passion-compile-and-flash.html
It was written for HTC Passion / Nexus One, so you may want to pull your existing boot.img file first in case it doesn't work on the HTC Dream and you need to go back to where you started. I found this tutorial helpful for that.
credentiality2.blogspot.com/2010/08/extract-bootimg-from-android-phone.html
You probably need to change your permissions to push and pull the boot.img file. I would do that on my computer (with it tethered to the phone), using the following commands in a terminal window:
$ adb shell
$ su
# mount -o remount,rw /dev
Helo
I found a way to return to the recovery 2e
recovery 2e
Copying a file using the Root Explorer
# unzip and put archive contents in a folder called recovery2e on /sdcard/
# first mount -o remount,rw /system (important options in Root Explorer for do this)
# file recovery copy to /system/bin (and replace)
# xbi folder contents copy to /system/xbin/ (and replace)
Click to expand...
Click to collapse
Method by captive thanks buddy
# put archive contents in a folder called recovery2e on /sdcard/
# open a shell and get root (ADB or Terminal on Phone, type su and pres enter / accept )
# remount /system rw (busybox mount -o remount,rw /system)
# rename recovery in /system/bin to recovery3e (for backup purposes)
# copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
# copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
# enjoy!
Click to expand...
Click to collapse
Restart your phone
Isn't anyone going to comment on this?
Gurus: does it really work? That simple?
Thanks
Didn't work for me - used root explorer method. Now just hangs when I try to get recovery mode. Can get download mode ok still, and phone boots ok of course. Running JPM with root and voodoo5 3. Anything else to try?
Does not work on JPM....
it no works.
Phone: Doc's JP6 + voodoo pre3 + rooted
Method: Root explorer.
1, during copy the xbin folder to system, it shows "replace files" but after i check inside the system/xbin, the files are disappared??!! I did manually copy everything one after one from xbin to system/xbin, but i can't see where they are after copy.
2, anyway, i reboot the phone with 3b combo, the recovery mode still showing 3e.
so i say it no works. anyone tried the cable methed?
this thing work but it needs a little workaround as discussed by danzel. follow here: http://forum.xda-developers.com/showthread.php?t=774500&page=188
Could you please update the instruction for jp6 + voodoo pre4?
abd remount (don't know why) isn't working and /system is always ro so adb push and shell (adb shell works) cmd aren't working.
It is correct to remove su and busybox int the extracted folder since i have both already installed?
I was on JPM, followed the instructions.
Phone couldn't boot, lost ability to enter recovery. Luckily I could still enter Download mode, flashed to JPM, but being on voodoo kernel before that, didn't managed to disable lagfix before getting into this trouble - Couldn't revert back to RFS, and without ability to enter recovery to format.
Finally reverted back to Eclair firmware, could see my beloved recovery again. No way I'm going through the above again.
The above is just my own experience, for reference just in case someone is as unlucky as me.
This is the clear step on recovering the recovery2e
Recover recovery2 e
1. uncompress the downloaded file recovery 2e and copy the direcotry to sdcard and rename it to recovery2e
2. Using root explorer copy File recovery from recovery2e on sdcard to /system/bin
3. Using root explorer copy Folder recovery in xbin to /system/xbin
4. If did not work try copy xbin folder over /system/xbin folder
Ok, confirmed working for me on JPM+Voodoo.
I installed Rom Manager too, and CWM Recovery is fully working too!! TNX
xtrememorph said:
This is the clear step on recovering the recovery2e
Recover recovery2 e
1. uncompress the downloaded file recovery 2e and copy the direcotry to sdcard and rename it to recovery2e
2. Using root explorer copy File recovery from recovery2e on sdcard to /system/bin
3. Using root explorer Folder recovery in xbin to /system/xbin
Click to expand...
Click to collapse
Your method DO NOT work at all. I cannot enter recovery mode.
Fortunately download mode is still available.
JPM+Voodoo5 pre6
lagigia, what didn't work for you?
Here's what I did:
put archive contents in a folder called recovery2e on /sdcard/
open a shell and get root
remount /system rw (busybox mount -o remount,rw /system)
rename recovery in /system/bin to recovery3e (for backup purposes)
copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
enjoy!
if using the root explorer method, copy xbin folder content, do not try to overwrite the entire dir on top.
mike.sw said:
if using the root explorer method, copy xbin folder content, do not try to overwrite the entire dir on top.
Click to expand...
Click to collapse
too late is there a way to solve it or get a step back?
thx!
i think u can just flash only the old kernel back and it will be fixed (only zimage).
captive said:
lagigia, what didn't work for you?
Here's what I did:
put archive contents in a folder called recovery2e on /sdcard/
open a shell and get root
remount /system rw (busybox mount -o remount,rw /system)
rename recovery in /system/bin to recovery3e (for backup purposes)
copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
enjoy!
Click to expand...
Click to collapse
Thanks, works fine on JPM/JP6
Could we get a newbie friendly guide please. Get root. What does that mean and should i just type what you quoted. Thanks
Sent from my GT-I9000 using XDA App
Edited the first post and put the new, easy tutorial
Could i get some background on this, please?
Is it correct that:
1) recovery2e is the default samsung recovery?
2) new versions of recovery2e can't apply all the update.zip we were able to apply with the older versions? (unsigned, signed??)
3) This is why we need the old recovery2e to replace the new one?
4) Where did the issue started? Since Froyo releases?
5) Is this why we can't root Froyo FWs with an update.zip anymore like it was the case with Eclair?
I'm really sorry if this is kinda obvious but i never really saw any clear explanation about this. Hope someone could clear it up for me
1) Yes
2) Correct on recovery 2e you can't apply all the update.zip
4) Yes, New tutorial on fist post
4) The JPM ROM brings new recovery 3e
5) You can root phone by flash kernel with root by odni
Thanks sxrsxrsx and sorry for my bad english.
Step 1. download RUU shiprom at: http://forum.xda-developers.com/showthread.php?t=824357
Step 2. Run it and no flash. Press key: Win + R or Start -> Run: %temp%
Step 3. You'll see a directory like: {ED95101E-EF94-42DB-92DE-4FB4470739CA} and find the file rom.zip ( or download rom RUU Asia 2.37.707.3 : https://rapidshare.com/files/3144048228/rom.zip )
Step 4. Unzip rom.zip and replace the file recovery.img : https://rapidshare.com/files/1790416276/recovery3026ace.img
Step 5. Zip all and overwrite the file rom.zip
Step 6. Connect with USB cable and Flash ROM RUU into DHD ( if you see CID incorrect next step 13 )
Step 7. After flashing. Boot DHD into Recovery mode (Hold Volume down and Power)
Step 8. Download root.rar : http://www.megaupload.com/?d=OOY9KHU6
Step 9. Go to: mount and storage (mount /sdcard, /system, /data)
Step 10. Connect USB cable with DHD.
Step 11. Go to root folder. and run command in cmd.
adb push su /sdcard/su
adb push superuser.apk /sdcard/superuser.apk
adb push psneuter /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell
cp /sdcard/su /system/bin/
cp /sdcard/superuser.apk /system/app/
ln -s /system/bin/su /system/xbin/su
chmod 06555 /system/bin/su
Step 12. unmount the /system, data, sdcard. Reboot your phone and enjoy it
----
Step 13. please use shiprom same rom of your DHD. You can flash any rom after rooted and S-OFF
Make Goldcard
Link: http://www.addictivetips.com/mobile/how-to-make-gold-card-for-htc-desire-hd/
Download downgrade tools: http://forum.xda-developers.com/attachment.php?attachmentid=591335&d=1304969547
CMD:
adb push misc_version /data/local/tmp
adb push GingerBreak /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell chmod 777 /data/local/tmp/GingerBreak
adb shell
./data/local/tmp/GingerBreak
cd /data/local/tmp
./misc_version -s 1.31.405.6
Go back step 6.
If you need help, please pm me on Y!M: thangtn03
which one do i download from: http://forum.xda-developers.com/showthread.php?t=824357 ?
nt1303 said:
Thanks for sxrsxrsx and sorry for my bad english.
Step 1. download RUU shiprom at: http://forum.xda-developers.com/showthread.php?t=824357
Step 2. Run it and no flash. Press key: Win + R or Start -> Run: %temp%
Step 3. You'll see a directory like: {ED95101E-EF94-42DB-92DE-4FB4470739CA} and find the file rom.zip
Step 4. Unzip and replace the file recovery.img : http://www.megaupload.com/?d=5OBLG2WY
Step 5. compressed and overwrite the file rom.zip
Step 6. Connect with USB cable and Flash ROM RUU into DHD
Step 7. After flashing. Boot DHD into Recovery mode (Hold Volume down and Power)
Step 8. Download root.rar : http://www.megaupload.com/?d=OOY9KHU6
Step 9. Go to: mount and storage (mount /sdcard, /system, /data)
Step 10. Connect USB cable with DHD.
Step 11. Go to root folder. and run command in cmd.
adb push su /sdcard/su
adb push superuser.apk /sdcard/superuser.apk
adb push psneuter /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell
cp /sdcard/su /system/bin/
cp /sdcard/superuser.apk /system/app/
ln -s /system/bin/su /system/xbin/su
chmod 06555 /system/bin/su
Step 12. unmount the /system, data, sdcard. Reboot your phone and enjoy it
Click to expand...
Click to collapse
Step 4. Unzip and replace the file recovery.img : http://www.megaupload.com/?d=5OBLG2WY <-----Cannot unzip
Please explain Step 12
Thanks for the guide though
I get this error?? i tried the 2.36.405.8 and 2.37.707.3
If i go into Menu > settings > About phone > software information it says
Android version 2.3.3 and build number 2.37.61.11
Why is this not working for me
cash27 said:
Step 4. Unzip and replace the file recovery.img : http://www.megaupload.com/?d=5OBLG2WY <-----Cannot unzip
Please explain Step 12
Thanks for the guide though
Click to expand...
Click to collapse
I dont think you extract the recovery.img.
It's the rom compressed folder you extract and then you replace the recovery.img and then re-rar the file and replace the one in the temp folder.
I think thats right anyway
thats what i meant to say... could not extract rom.zip
Never mind.... i tried using 7zip, that did not work, but winrar did
cash27 said:
thats what i meant to say... could not extract rom.zip
Click to expand...
Click to collapse
Are you using win rar? i had no problems using winrar.
just edited my own post. You are absolutely right on
How does one mount and unmount in steps 9 and 12? is it a command? if so whats the syntax?
not sure, still stuck at my previous post.
I think you can use the downgrade method with your build
I am getting a signature error, will try with a goldcard and post results
EDIT: Same error Pic Attached
cash27 said:
I am getting a signature error, will try with a goldcard and post results
EDIT: Same error Pic Attached
Click to expand...
Click to collapse
i tried with a goldcard too, this didnt work .... I tried the downgrade method and that didnt work either -.-.............
I just want to get rid of the stupid freaking pre-installed orange apps.
As always, I am pessimistic about these kind of guides.
This time for a good reason: you cannot just replace signed recovery with unsigned recovery in rom.zip. The resulting package can only be flashed with S-OFF.
Would you happen to know if there is any development being done on this build? From what i have been reading in the forums...and please correct me if i am wrong, but very few people seem to have 2.43.661.
Please review Post #1 and try ship rom same your DHD rom.
Ex: My DHD from Korea , i try flash shiprom KT_KR and work it for me. After rooted and S-OFF, i can flash any shiprom 1.x or 2. WWE.
nt1303 said:
Please review Post #1 and try ship rom same your DHD rom.
Ex: My DHD from Korea , i try flash shiprom KT_KR and work it for me. After rooted and S-OFF, i can flash any shiprom 1.x or 2. WWE.
Click to expand...
Click to collapse
I tried with RUU_ACE_TELUS_WWE_1.84.661.1_R_Radio_12.35d.60.140f_26.06.03.24_M2_release_168987_signed
but when i modified the rom.zip file and put it i the directory, it would start but would give a signature error.
I tried with and without a goldcard, the result was the same: Error 132 signature
cash27 said:
I tried with RUU_ACE_TELUS_WWE_1.84.661.1_R_Radio_12.35d.60.140f_26.06.03.24_M2_release_168987_signed
but when i modified the rom.zip file and put it i the directory, it would start but would give a signature error.
I tried with and without a goldcard, the result was the same: Error 132 signature
Click to expand...
Click to collapse
I flashing multi ruu shiprom without any error. You try downgrade command and reflash you same firmware...
cash27 said:
I tried with RUU_ACE_TELUS_WWE_1.84.661.1_R_Radio_12.35d.60.140f_26.06.03.24_M2_release_168987_signed
but when i modified the rom.zip file and put it i the directory, it would start but would give a signature error.
I tried with and without a goldcard, the result was the same: Error 132 signature
Click to expand...
Click to collapse
I reuploaded file recovery.img , you can try relash...
nt1303 said:
I reuploaded file recovery.img , you can try relash...
Click to expand...
Click to collapse
Same error, but thank u for your effort
Hey there.
Does anyone knows how to modify the cust.img file of the latest official 2.3.5?
I want to remove some firmware apks (swype to install another version which support greek).
Thanks!
Hi I got this information from That-Guy:
1. Download Slitaz Linux 3.0 Live CD
2. Open terminal
3. Copy cust.img from phone to /home/tux folder
4. mkdir tmp
5. mount cust.img /home/tux/tmp
6. cd /home/tmp/hw/default/app
7. Delete apk files what you don't want
8. unmount tmp
9. Copy cust.img from /home/tux folder to phone
Thanks. I did the following and worked:
In Linux (ubuntu 10.04):
1)copy the cust.img file from your .cust_backup/image folder of your mobile somewhere in your computer (ex Desktop)
2)open a terminal and type sudo su (root permissions) and then your computer password
3)Go to "somewhere" : with command: cd somewhere (ex cd ~/Desktop )
4)type at terminal mount -o loop cust.img /mnt/
5)type sudo nautilus . This should open you a navigation window.
6)navigate to: file system --> mnt/
inside the hw/default/app are the apks of the default cust.img.
Edit it as you wish.
to unmount type at terminal (with root permissions again): umount /mnt/
you are ready to copy the cust.img back to your phone and replace the old one
can someone give us a clear cust.img and the apps to a folder in order to let us choose which of them we want to install?
I'm not so familiar with linux OS and i am afraid to do it on my own. :/
Doesn't poweriso work for this on windows?
Sent from my u8800-51 running popaura ICS.
Somcom3X said:
Doesn't poweriso work for this on windows?
Click to expand...
Click to collapse
i tried to open my cust.img with poweriso without success.
It stopped with an error, "the file format is invalid or unsupported".
http://forum.xda-developers.com/showthread.php?t=1373146
ufukyayla said:
http://forum.xda-developers.com/showthread.php?t=1373146
Click to expand...
Click to collapse
last post there is mine...
Does someone know how to change splash screen at boot for defy?
Sent from my MB526 using Tapatalk 2
1. Download milestone bootlogo
2. Open 480 x 182 image with milestone bootlogo
3. Save that image with milestone bootlogo to logo.bin - it's size MUST been size 256 KB
4. Rename logo.bin to logo.img
5. Create new folder in sdcar/clockworkmod/backup & copy logo.img to NEW FOLDER
6. Copy nandroid.md5 file from any other CWM backup
7. Type in terminal emulator this commant to recheck md5 sums:
su
mount -o remount rw /sdcard
cd /sdcard/clockworkmod/backup/(YOUR BACKUP FOLDER NAME)
rm nandroid.md5
md5sum *img > nandroid.md5
8. Restore cwm backup: backup & restore/advanced restore/(logo_cwm_backup_name/logo
turffe said:
1. Download milestone bootlogo
2. Open 480 x 182 image with milestone bootlogo
3. Save that image with milestone bootlogo to logo.bin - it's size MUST been size 256 KB
4. Rename logo.bin to logo.img
5. Create new folder in sdcar/clockworkmod/backup & copy logo.img to NEW FOLDER
6. Copy nandroid.md5 file from any other CWM backup
7. Type in terminal emulator this commant to recheck md5 sums:
su
mount -o remount rw /sdcard
cd /sdcard/clockworkmod/backup/(YOUR BACKUP FOLDER NAME)
rm nandroid.md5
md5sum *img > nandroid.md5
8. Restore cwm backup: backup & restore/advanced restore/(logo_cwm_backup_name/logo
Click to expand...
Click to collapse
Thanks a lot. Worked Perfectely!!
- What does this line do.. mount -o remount rw /sdcard
- Why is it necessary to copy another nandroid.md5? Anyway we are deleting that.
hey,
in here are two thread or more with splash screen's in. only search for bootlogo not splash screen. there it's also a tool what worked, and I have a thread with a update-script posted to flash ur favorite splash screen and bootanimation together true CWM. and u can change splash screen with ROM toolbox if u chose there milestone.