[Q] How to make a Hboot Flashable ROM? - Android Software/Hacking General [Developers Only]

I create a rom from Android Kitchen , but this rom need include a new radio,so i want make a hboot flashable rom . because it can be flash system and radio at the same time .
at before , i use mkyaffs2image under ubuntu 11.04 , make my "/system" folder to system.img, change name boot.img to boot_signed.img .
and compress
{android-info.txt;
boot_signed.img;
system.img}
the 3 files to zip , named PG32IMG.zip
restart device into hboot , after finish flashing, my device stop at first boot screen, cant enter system .
PS: boot.img is dumped from RCMIX rom.
does any one help me , how to make hboot flashable rom ?

Related

[Q] How To Modify default.prop?

Hello Everyone,
Thank you in advance for any help on this item.
I have an HTC Sensation phone which is already S-off and has CWM in it.
It also has "su" previleges in it and I was able to modify CID too.
The ROM inside it is stock ROM.
I have been reading and following several guides on how to modify default.prop for other devices. And from what I gather I have to do the following :
1. Unpack boot.img.
2. Modify default.prop.
3. And repack boot.img.
The problem here is that I tried all sorts of things only to end up failing in the "repacking" stage.
I want to modify default.prop to be able to set adb daemon (adbd) to have root previleges and eventually be able to "inject" into HTC sensation my own custom-made versions of framework.jar and other files.
Is modifying default.prop possible?
Is the method I am using correct?
Is it possible to have my own customized framework.jar inside the HTC Sensation?
I hope you guys can point me to some sites and links which can help me in what I intend to do.
Thank you all very much.
Use dsixda kitchen.
Hello Sebastian,
Thanks for your response.
I also tried to use the dsixda kitchen.
What I did was :
1. Downloaded a backup of my phone using ClockworkMod Recovery.
2. I took the boot.img file from the backup generated.
3. Unpacked boot.img using the kitchen.
4. And then repacked it using the kitchen again.
5. I then flashed the generated boot.img into the phone.
6. The phone went into a forever loop in the start up screen.
Did I do it right?
I am rechecking the notes on the kitchen again though. I might have missed something.
Thanks again.
Upload your boot.img, I'll check it. Do you use fastboot.exe to flash boot?
Hello Again,
Thanks once again for the support Sebastian.
"Upload your boot.img, I'll check it. Do you use fastboot.exe to flash boot?"
I use fastboot.exe first and then try to use the ClockworkMod Recovery Advanced option to update the "boot" only part.
I am attaching here my dsixda-kitchen generated boot.img.
This boot .img was generated with the following steps :
1. Unpack htc stock rom boot.img generated by CWM nandroid backup.
2. No changes were made in the ramdisk nor in the kernel part.
3. Repack the ramdisk and kernel using dsixda kitchen.
4. Used fastboot.exe to flash the boot part. "fastboot flash boot boot.img"
5. Wiped the cache partition of the phone.
6. Wiped the /data/dalvik-cache directory.
7. Restarted phone in normal mode.
8. Phone hanged up in startup image.
Many thanks again and more power.

[KERNEL]Htc Pico/Explorer : OVERCLOCK kernel 2.6.38.6,ext2,3,4 support !!

Hi , I'm french well excuse my langage .
I am pleased to announce the porting kernel 2.6.38 .6 with ext2, ext3 and ext4 filesystem support and OVERCLOCK
I recreated the boot.img based on the European release version 1.17.406.2
I also change the recovery.img to include the kernel, allowing to make a backup of all the partion and sd-ext .
Still in testing (for overclocking) but 100% functional I will post the results within a few days.
BIG NEWS OVERCLOKED KERNEL NOW AVALABLE
REVERT BACK TO STOCK ROM
Info and download in post 4
Reserved
Changelog :
-Version 0.1(beta):
Kernel 2.6.38.6 with ext2,3,4 support , it allow you to move all your applications (data) on a ext partition on sd .
Add wifi module compiled with the kernel
-Version 0.2(beta):
Overclock kernel :
-Screen on : 320 -> 800 MHz
-Screen off : 122 -> 480
Perflock enable
The cpu is managed by the kernel , onderman is the default mode .
Kernel 2.6.38.6 with ext2,3,4 support , it allow you to move all your applications (data) on a ext partition on sd .
You msut have an ext partition on your sdcard
-Version 0.3(beta):
Perflock disable
The cpu can be manage by the user .
Overclock kernel : 122MHz -> 800MHz
Kernel 2.6.38.6 with ext2,3,4 support , it allow you to move all your applications (data) on a ext partition on sd .
You msut have an ext partition on your sdcard
Add all module compiled with the kernel
Update.zip avalable for CWM recovery , copy it to your sdcard reboot in recovery and intall it !
This is the last beta , all module are include , the final release will be more small and fast , thank you !
All work fine , no bug found .
Good work!!!
[KERNEL]Htc-Pico kernel 2.6.38.6 with ext2,3,4 support
PLEASE MAKE A FULL NANDROID BACKUP BEFORE I CAN'T ASSUME A BRICK
Well , I post here my work :
-clean-update.zip :
This is an official update , I just remove some command in the update.script because I cannot install it : I use a custom boot and recovery !!
Well , I modify the update.script and apply it : It work !!
Made some test : it patch some official apk and files , and upgrade boot + recovery + hboot +radio
You don't lose data , you have a new official rom : stock boot , recovery + new hboot +new radio
You lose custom boot , recovery and ext partition .
Your ext partition is on your sdcard but the stock kernel have no ext support
If you have unlocked your pico it's great you don't lose it and you can flash a custom boot or recovery
WARNIG : IF YOU USE AN EXT PARTITION YOU LOSE YOUR DATA BECAUSE YOU LOSE CUSTOM BOOT
MAKE A FULL BACKUP WITH NANDROID OR OTHER TITANIUM ...
IF YOU USE THIS UPDATE :
1) full backup with titanium or other and recovery mode -> nandroid backup
2) apply update
3) reboot the phone : it will reboot in 3 time
4) reboot in fastboot mode
5) Now we apply a fake flash to boot with over-recovery.img :
Code:
fastboot boot /full/path/to/over-recovery.img
The phone reboot in recovery
6) nandroid backup
Like this you have a stock rom with update
7) That's all
You can now flash boot system recovery , install rom , make what you want you can back to official rom (not system !!)
Revert back to stock rom with latest update :
-new boot.img with wifi modules
-new recovery
-new radio.img
-new hboot.img , always unlocked
-patch system update
Find it here
With this package you have a full clean rom
- zImage.7z :
The last kernel compiled on the source code by Htc-dev (2.6.38.6)and mod by me :
-Ext2,3,4 filesystem support , if your sdcard have an ext* partition , you cane move your data partion on it , like this you can install more applications .
You can use app2sd,link2sd ,etc,...
-Overclocked kernel , you can now manage your gouvernor , the cpu is boosted : 600MHz -> 800MHz .
- modules.7z :
All modules compiled with the last kernel .
- overboot.7z :
The last boot.img overclocked and ext support .
You can test it with :
Code:
fastboot boot /full/path/to/overboot.img
You can install it with:
Code:
fastboot flash boot /full/path/to/overboot.img
If you install it you must add all module or only bcm4330.ko and kineto_gan.ko in the /system/lib/modules directory
- over-recovery.7z :
The chinesse clockword recovery , mod by me with my kernel you can now more quickly make your backup and make a full nandroid backup with ext partition support !
You can test it with :
Code:
fastboot boot /full/path/to/over-recovery.img
You can install it with:
Code:
fastboot flash recovery /full/path/to/over-recovery.img
For a full nandroid backup you must install it
- install-over-boot.zip :
The all in one package , copy it on sdcard , reboot in recovery and install the boot.img with all the module , that's all
Youtube link
http://www.youtube.com/watch?v=paYDxatNKk8
Not able to download the files from the link. the files dont open (it says currrupted)
can you please please please upload it somewher else.pls
Hi jitin02
It's strange I have no problem ?!
I must find a repository for my files , I have a account on github but it's not a solution to share file .
I m sorry but I cannot direct link
I re-upload it now and give you some new link
Yannou90 said:
Hi jitin02
It's strange I have no problem ?!
I must find a repository for my files , I have a account on github but it's not a solution to share file .
I m sorry but I cannot direct link
I re-upload it now and give you some new link
Click to expand...
Click to collapse
I can give u my 4shared.com
loginid and password. you can upload there???
Thanks but I activate a ftp account to free.fr , when this is done I'll post the link to it.
But my link work well , I try it again and all is good , I'm on ubuntu lucid , maybe your antivirus don't like *.7z or install it but my archives don't be corrupted !
Thanks for your proposition but I must manage my work the most easly possible for me , I've made a lot of zImage and more (bash scripts , tools , and binaries ...) and share it with some friend
Really thanks , are you tried to re-download my archive ?
Here the md5sum :
b83128032241eaebd62cb2d33bc17fba BootExt-RecoveryExt.7z
41c7ea4bfd96505f66bc3b008d9265ff zImage.7z
Tell me your please
Thanks
AAAAAAAAAAAAA I bypass the limitation , I can now post direct link , great !!!!
You can test it now
Great !
Ahh, Thanks downloaded successfully.
Now trying your instructions in the first post to flash.....................
Another proposal, as i have my main device as Dell Streak5, so htc explorer is not much important to me even if it bricks. so here is propose is , If beta tester needed i can be the first one u can remember
I will post back as i successfully flash
Please TRY THIS BEFORE FLASH IT !!
fastboot boot /full.path/to/boot.img
or
fastboot boot /full.path/to/recovery.img
I don't want someone tell me it brick the pico , it's not the goal
I love gnu/linux , I love to dev a lot of application , I love to help everyone I can , I'm a "cool" man
Don't tell me you want to destroy your phone just to test , it's not something to do
Try it and tell me
I've made my own rom too , some update.zip to flash boot + recovery and install app2sd
I must have some fellback to know if I can post all my work .
Well be patient
Yannou90 said:
Please TRY THIS BEFORE FLASH IT !!
fastboot boot /full.path/to/boot.img
or
fastboot boot /full.path/to/recovery.img
I don't want someone tell me it brick the pico , it's not the goal
I love gnu/linux , I love to dev a lot of application , I love to help everyone I can , I'm a "cool" man
Don't tell me you want to destroy your phone just to test , it's not something to do
Try it and tell me
I've made my own rom too , some update.zip to flash boot + recovery and install app2sd
I must have some fellback to know if I can post all my work .
Well be patient
Click to expand...
Click to collapse
Tryd flashing before u posted this (sorry to me). with the help of this guide http://forum.xda-developers.com/showthread.php?t=735660
and below is the error i am getting to flash zImage
HTML:
HT1A1VN09469 fastboot
C:\android-sdk-windows\tools>fastboot boot zImage
creating boot image...
creating boot image - 2897920 bytes
downloading 'boot.img'...
OKAY [ 0.717s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 0.735s
C:\android-sdk-windows\tools>
You don't do what I tell to you :
Your command rebuilt the boot.img with the zImage :
C:\android-sdk-windows\tools>fastboot boot zImage creating boot image... creating boot image - 2897920 bytes downloading 'boot.img'... OKAY [ 0.717s] booting... FAILED (remote: reproduce boot image with on-flash ramdisk error) finished. total time: 0.735s
It's not the good way , you must test the boot.img , and not recreate it :
fastboot boot /full/path/to/boot.img
To do what you try the zImage and the boot.img use by the pico must have be build in the same way
are these all commands i have to run/flash. or is there any other i have to do.
-boot.img :
adb reboot bootloader
fastboot boot /full/path/to/boot.img
fastboot flash boot /full/path/to/boot.img
adb shell mv /system/lib/modules/bcm4330.ko /system/lib/modules/bcm4330.bak
adb push /full/path/to/bcm4330.ko /system/lib/modules/bcm4330.ko
-recovery.img :
adb reboot bootloader
fastboot boot /full/path/to/recovery.img
fastboot flash recovery recovery.img
adb reboot bootloader
fastboot flash boot boot.img
but i didnt understand what i should do with zImage??
In a word : NOTHING
To use zImage you must dump boot.img or/and recovery.img , extract it , remove the old zImage and rebuild the boot.img/recovery.img .
When this is done you try it with :
fastboot boot /full/path/to/boot.img
or
fastboot boot /full/path/to/recovery.img
And if you like this you can flash :
fastboot flash boot /full/path/to/boot.img
or
fastboot flash recovery /full/path/to/recovery.img
If you do what you says you have my kernel :
kernel version :
2.6.38.6 [email protected]
To just try my kernel on boot :
fastboot boot /full/path/to/boot.img
To just try my kernel on recovery :
fastboot boot /full/path/to/recovery.img
Thanks sir for so much help.
Heres what i did
flashed recovery in ur 3rd post
flashed boot.img in 3rd post
push ***.ko file in post.
so i guess now i have ur's evrything (completed job?)
yes i checked my device "about"
i have ur kernel . same as ur pictures .
when u will be releasing ur custom rom??
---------- Post added at 08:29 PM ---------- Previous post was at 08:22 PM ----------
After every flashing, i.e. getting ur kernel on board. when i try to mount ext3 partition in link 2 sd . it looks like it will take years to mount.
stuck on please wait Ok figured out , ext3/4 partitions nt able to mount.
i already have an a fat32 partition and moved apps using links to sd...(so i dont need the custom kernel as of now) i came across this post looking for overclocking ready kernels.. so let us know when u manage to successfully overclock the device.. and post screenshots of ur custom rom if possible..
deepaktom said:
i already have an a fat32 partition and moved apps using links to sd...(so i dont need the custom kernel as of now) i came across this post looking for overclocking ready kernels.. so let us know when u manage to successfully overclock the device.. and post screenshots of ur custom rom if possible..
Click to expand...
Click to collapse
First of overclocking this small device like whose max freq. Is 600 . Where u want to take it 1000. ? Ur dEvice will be fired,
Sent from my Dell Streak using XDA App

[HOW TO/LIST][NO USB] Get back to stock without Odin [FLASHABLE ZIP][CWM COMPATIBLE]

In this topic I'm telling u how get back to your stock rom without ODIN flash..
I have used it when my USB doesn't work to get back stock for assistence.. :laugh:
works sure on every samsung device, not sure for all other.
If you can't or aren't able to do this, ask me and I'll do it for you :highfive:
There are two method, follow what do you prefer:
METHOD A:
What do u need
windows
stock rom
dsixda kitchen
cgwyn
java
What do u have to do
1. INSTALL DSIXDA KITCHEN
install java.exe
unzip kitchen; rename this folder in "kitchen"
unzip cgwyn
put the extracted cgwyn folder in C:
click on Cgwyn (link) and wait a few sec; when u have a input line close it
copy kitchen folder in C:\cigwin\home\your username
2. RUN DSIXDA KITCHEN
open cygwin and write cd kitchen
write ./menu
3. MAKE THE ROM
unzip the stock rom and put the unzipped files (not in a folder) in C:cygwin\home\your username\kitchen\original_update
write 1
write 99
then follow the instruction and made the rom
rom is in C:cygwin\home\your username\kitchen\OUTPUT_ZIP
DONE
METHOD B:
What do u need
windows
stock rom
custom rom
Diskinternals Linux reader
1. MAKE THE ROM
rename stock rom.tar.md5 in stock rom.tar
rename stock rom in stockrom and custom rom in stockrom (only for made talking easier..)
unzip stockrom
unzip custom rom; delete system folder and boot.img
open Diskinternals Linux reader and mount system.img.ext4 ; copy the result (system folder) in custom rom
copy boot.img from stockrom into custom rom
zip META-INF, system and boot.img
DONE
Flash/ stock cwm rom list
GET STOCK
flash stockrom.zip as a normal zip
flash
Stock recovery (search about in your phone section)
DONE
STOCK CWM ROM LIST
i9001
TELL ME WHAT I'LL ADD HERE
ROMANIA -VODAFONE- BUKP9 [2.3.6]
ITA -NO BRAND- [2.3.5]
..
..
CREDIT
- dsixda
- broodplank1337
just in case..
guyz tell me what rom and device do u want..!
I done something wrong (I5510)
I follow the steps above but failed .
My device bootloop after flashing zip
I don't know what is going on there
It Needs a wipe data
■ Tapatalk ★ N7100 ●
hypnos17 said:
It Needs a wipe data
■ Tapatalk ★ N7100 ●
Click to expand...
Click to collapse
i tried everything not working for my device(galaxy 551) i also modified the updater script manually.....
i checked that the kitchen is producing the wrong format and mount point of your device .......still not working...
what method have u followed? The first, isn't it?

How to get updater script from stock rom

I have setup a working folder with android kitchen from the stock system.img and boot.img but the problem is with the updater script as I don't know the mount points and all the other things of the stock rom I am actually making a flashable zip of my stock rom so I don't have to get on my computer again and again to flash it whenever i need to pls help me..............the default update script that the kitchen made was not accepted by TWRP saying that the update binary was incorrect.................................PLs Pls help me..................is there any use of the scatter file to get the updater scripts????????????????????................Please suggest me a solution pls

Modem image from twrp needed .

Hello. I need backup from twrp partition modem/firmware/radio . I want to add support of volte to my device and i need to extract files from image . mcfg_sw and mcfg_hw i need from image . Unpack of stock image radio from stock zip is impossible , because i can't read correct files . I need last image of this partition from updated device . Please image on pm

Categories

Resources