How can i flash kernel alex 2.7 pa3 - HTC One X

hi guy!i tried to flash that kernel form file zip,i exact that file and copy file boot.img out on my destop.so after i falshed it ,my phone is always on plane mode.Please help me!

JourNo said:
hi guy!i tried to flash that kernel form file zip,i exact that file and copy file boot.img out on my destop.so after i falshed it ,my phone is always on plane mode.Please help me!
Click to expand...
Click to collapse
put kernel's boot.img inside your fastboot files then flash it via cmd.

then flash the zip file in recovery.

tomascus said:
then flash the zip file in recovery.
Click to expand...
Click to collapse
thanks,i did it well^^

http://forum.xda-developers.com/showpost.php?p=46763215&postcount=4108

Related

[Q] Why does the boot.img have to be present in the .zip file?

Why does the boot.img have to be present in the .zip file? I take the boot.img out of the zip file and
fastboot flash boot boot.img
Click to expand...
Click to collapse
it anyway, so why is it in the zip file?
Is the boot.img by the way the kernel?
zettez said:
Why does the boot.img have to be present in the .zip file? I take the boot.img out of the zip file and
it anyway, so why is it in the zip file?
Is the boot.img by the way the kernel?
Click to expand...
Click to collapse
Boot.img is inside zip because same source build sripts are used for devices with s-off. So...on s-off devices U only have to flash rom.zip and it's installing boot.img also.
icke said:
Boot.img is inside zip because same source build sripts are used for devices with s-off. So...on s-off devices U only have to flash rom.zip and it's installing boot.img also.
Click to expand...
Click to collapse
And because my One X has s-on that means I have to install the contents of the zip first and then flash because of the s-on security preventing installation from within the zip file?
zettez said:
And because my One X has s-on that means I have to install the contents of the zip first and then flash because of the s-on security preventing installation from within the zip file?
Click to expand...
Click to collapse
That's right...as long as your bootloader is saying s-on u've to flash boot.img via fastboot.
icke said:
That's right...as long as your bootloader is saying s-on u've to flash boot.img via fastboot.
Click to expand...
Click to collapse
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
zettez said:
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
Click to expand...
Click to collapse
What is the target to doing this? What are U meaning with "just make a zip file"?
zettez said:
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
Click to expand...
Click to collapse
You cant 'just make' a zip file.. you would have to repack and sign the zip again. Better would be that the boot.img stays where it is.
Sent from my unlocked HTC One X using XDA premium.
icke said:
What is the target to doing this? What are U meaning with "just make a zip file"?
Click to expand...
Click to collapse
Based on our conversation I have come to this conclusion.
S-OFF: You need not use fastboot to flash a boot.img. When you install a ROM from a zip file it will automatically take the boot.img and put it in the right place.
S-ON: You need to use fastboot to flash a boot.img. When you install a ROM from a zip it will not install the boot.img because it is protected by the system (read-only or something) and you then need to implement one more step, the
fasboot flash boot boot.img
Click to expand...
Click to collapse
code. What I wanted to confirm is if I have an S-ON phone I need not have the boot.img in the zip file? I can just flash it after I have installed the manifest/system folder from the zip file?
anks257 said:
You cant 'just make' a zip file.. you would have to repack and sign the zip again. Better would be that the boot.img stays where it is.
Click to expand...
Click to collapse
But is it possible on an S-ON phone to skip the boot.img in the zip file and only go with the manifest and system folder?
Yes, you could delete the boot.img from the zip file if you really wanted. It won't make any difference as it isn't being written anyway (you might also want to modify the updater script so it's not referencing something you've removed).

[Q] How do I flash modem.img or how do I make a flashable zip?

Hi, I've downloaded a Rom and I just want to flash the modem. Ok, I have the modem.img file. First, I've downloaded a already flashable modem, with the modem.img and a META-INF folder. Then, I extracted it and replaced the modem.img from that flashable zip for the one that I've downloaded. Created a .zip, tried to flash via TRWP. It didn't work (I believe it is because, of course, I've changed the modem.img and it didn't match the META-INF folder). So, I've tried to flash the modem.img via fastboot flash radio modem.img. It didn't work either. Now I'm asking for your help: How do I flash the modem.img or how do I make a flashable .zip(with the correct META-INF folder)?
Thanks.
alex91s said:
Hi, I've downloaded a Rom and I just want to flash the modem. Ok, I have the modem.img file. First, I've downloaded a already flashable modem, with the modem.img and a META-INF folder. Then, I extracted it and replaced the modem.img from that flashable zip for the one that I've downloaded. Created a .zip, tried to flash via TRWP. It didn't work (I believe it is because, of course, I've changed the modem.img and it didn't match the META-INF folder). So, I've tried to flash the modem.img via fastboot flash radio modem.img. It didn't work either. Now I'm asking for your help: How do I flash the modem.img or how do I make a flashable .zip(with the correct META-INF folder)?
Click to expand...
Click to collapse
fastboot flash modem modem.img
suljo94 said:
fastboot flash modem modem.img
Click to expand...
Click to collapse
Are you sure? I've read that for modem.img the right thing to do is fastboot flash radio.
@autoprime created flash2Boot, flash2Modem, and flash2System flashable zips that we've been able to use for VZW VS985 phones.
Need to ask a developer to look at it, but the same methodology would likely work for other G3 (for all I know the exact same flash2xxx files may work, but I wouldn't try it until a developer chimes in)
-Create a flash2 folder (all lower-case) in your main user directory area, at the top level (the same level as /Documents, /Download, /DCIM)
-Make the filename modem.img, boot.img, or system.img (depending on which one you are trying to flash), and stuff it in flash2
-Copy the flash2xxx zip files onto your phone.
-Use TWRP (or whatever) to Install the flash2xxx
http://forum.xda-developers.com/showthread.php?p=56100153
alex91s said:
Are you sure? I've read that for modem.img the right thing to do is fastboot flash radio.
Click to expand...
Click to collapse
yes I did it 20 times already
suljo94 said:
fastboot flash modem modem.img
Click to expand...
Click to collapse
I tried this but it fails. LOS 14.1 on P8 Lite 2017.
Tino_M said:
I tried this but it fails. LOS 14.1 on P8 Lite 2017.
Click to expand...
Click to collapse
Literally exact same. You trying to fix WiFi?
itsttime206 said:
Literally exact same. You trying to fix WiFi?
Click to expand...
Click to collapse
Nah, fingerprint sensor.
problem
i have a huawei mate 10 pro, i flashed firmware on it and now sim card does not work

CWM or TWRP making from secure boot.img and recovery

Any droid xpert here from or.......
I tried to create CTR on my phone huawei-g700-u10 V100R001C100B126 by stock files ..my phone doesnt have any CWM
So i tried to build
But when i tried to unpack my stock boot-sign.img it only extract kerenal and ramdisk.cpio.gz
There should been ramdisk folder with it..!!
Its becuse my boot.img and recovery is secure ..
How yo break and extract using apktool??
I tried also with pc for making twrp ?????
I guess your device is mtk based.. .. You have to unpack your image file as an mtk rom or recovery.. .... and the best tool to do that as far as I know is CarlivImageKitchen
This thread will surely help you
http://forum.xda-developers.com/android/development/guide-how-to-port-custom-cwm-based-t2970004
Sami Devo said:
Any droid xpert here from or.......
I tried to create CTR on my phone huawei-g700-u10 V100R001C100B126 by stock files ..my phone doesnt have any CWM
So i tried to build
But when i tried to unpack my stock boot-sign.img it only extract kerenal and ramdisk.cpio.gz
There should been ramdisk folder with it..!!
Its becuse my boot.img and recovery is secure ..
How yo break and extract using apktool??
I tried also with pc for making twrp
Click to expand...
Click to collapse
have found the way to? Stuck in the same with teclast x10 3g....

[SOLVED] Trying to get stock recovery back

Hi, I flashed TWRP to be able to install magisk on my friend's Honor 7x (BND-L21 C432) and now that magisk is flashed and configured I want to go back to the stock recovery. I've downloaded the update.zip with the Firmware Finder app, and I've extracted the recovery_ramdisk.img from the UPDATE.APP file.
But once flashed (with fastboot) I can't access it, it gives me ERROR MODE, like if the img was invalid.
Any help?
Thanks!
Did you download and flashed the correct build file? Which recovery you flashed?
shashank1320 said:
Did you download and flashed the correct build file? Which recovery you flashed?
Click to expand...
Click to collapse
I was using correct version, but I wasn't using HuaweiUpdateExtractor. After using it to get the img it worked well.
Thanks!
eXtremeDevil said:
Hi, I flashed TWRP to be able to install magisk on my friend's Honor 7x (BND-L21 C432) and now that magisk is flashed and configured I want to go back to the stock recovery. I've downloaded the update.zip with the Firmware Finder app, and I've extracted the recovery_ramdisk.img from the UPDATE.APP file.
But once flashed (with fastboot) I can't access it, it gives me ERROR MODE, like if the img was invalid.
Any help?
Thanks!
Click to expand...
Click to collapse
this install zip, should restore the recovery-from-boot.p file, the file that causes stock recovery to be replaced. I have not confirmed on this device but it is a generic solution that should work.
mrmazak said:
this install zip, should restore the recovery-from-boot.p file, the file that causes stock recovery to be replaced. I have not confirmed on this device but it is a generic solution that should work.
Click to expand...
Click to collapse
Thanks anyway, I was able to *correctly* extract the img file
What does that file exactly? Is there a backup of the recovery on the phone?? I assuming we're talking about normal recovery, not the second eRecovery thing, right?
eXtremeDevil said:
Thanks anyway, I was able to *correctly* extract the img file
What does that file exactly? Is there a backup of the recovery on the phone?? I assuming we're talking about normal recovery, not the second eRecovery thing, right?
Click to expand...
Click to collapse
Stock Android has a feature to make a recovery image from the boot.img. By checking the contents of the recovery partition and comparing a checksum. When the sum does not match, the file "recovery_from_boot.p" takes over and builds it's own recovery image.
When you install twrp and "swipe to allow system modification" that file gets renamed to end with ".bak"
This zip file verifies the recovery script is on the phone e, and if it is, it will remove the .bak extension . That makes the system .restore (make) stock recovery on the next boot up
Thanks for the info!

Question Flash stock Rom Poco F3

Hallo Guys ,
My situation is , I flashed Xiaomi.eu MIUI 13 Rom on my Poco F3.
Now I'm willing to give it as a gift and would like to flash back the stock Rom with Android 11.
I downloaded fastboot stock Rom for Europe and the flashtool is installed on my pc as well .
I put the Phone on fastboot mode and connect the phone to the Pc and start flashtool , press refresh to recognise the device , no issues there , but once I click flash to start the process I get the error message " can not found flash _all_ lock.bat .
I need help please what do I do wrong ?
I went for the installable flash tool because the zipped version delivers errors as well when I press refresh for recognise the device .
Thanks for help
Check again inside folder. It should be double folder which is flash tool can not detect flash bat.
anang1979 said:
Check again inside folder. It should be double folder which is flash tool can not detect flash bat.
Click to expand...
Click to collapse
Which folder? From the zipped flashtool or ?
From fasboot rom. If you unzip there is another folder inside with same name. That folder you should put into flash tool.
anang1979 said:
From fasboot rom. If you unzip there is another folder inside with same name. That folder you should put into flash tool.
Click to expand...
Click to collapse
Thanks I just had to unzip the Rom again as it was tgz compressed , and it worked like a Charme.. thread solved . Thanks mate

Categories

Resources