Hi devs ,
Here's my situation: i've tried to flash xPirt 2.0 ROM on my DX (previously, I flashed the boot.img with the boot.img installer) with TWRP 2.6 (i know, this is the problem) and the final log (when the installation seems completed) says:
Code:
assert failed: write_raw_image("/tmp/boot.img", "boot")
and the install log (i put it in the attached
Code:
Finishing...
script aborted: assert failed: write_raw_image("/tmp/boot.img", "boot")
assert failed: write_raw_image("/tmp/boot.img", "boot")
and when i reboot, after the htc logo, nothing appears.
So, in this moment,
- I've no ROM installed
- I cant erase/flash any different boot.img file because i can't connect the phone to the PC
Obviously the backup i made, doesn't work (i think) because of the bad boot.img file.
Now the questions:
1) I'm in Europe and i know that exist an official RUU for my "region", BUT i can't find any link!! I also read that i have to know my CID, how can i get this without ROM and usb plug?
2) Will the official RUU, solve my boot.img problem?
3) Is it possible for you alien genius devs , to create a zip that erase/flash a boot.img??
I hope that xpirt will answer this thread!! :good:
Help me... i'm in BIG TROUBLE!
Which hboot version: 1.24.x or 1.25.x?
Then open zip/META-INF/com/google/android/updater-script and delete at the end the line with assert boot.img.
After that:
1. Use SuperWipe script to erase all
2. Go into recovery -> flash Rom without wiping
3. Reboot to bootloader (no normal reboot!)
4. Flash boot.img with boot.img installer
5. Reboot
xpirt
xpirt said:
Which hboot version: 1.24.x or 1.25.x?
Then open zip/META-INF/com/google/android/updater-script and delete at the end the line with assert boot.img.
After that:
1. Use SuperWipe script to erase all
2. Go into recovery -> flash Rom without wiping
3. Reboot to bootloader (no normal reboot!)
4. Flash boot.img with boot.img installer
5. Reboot
xpirt
Click to expand...
Click to collapse
thanks for the fast aswer!! the hboot is 1.25.0002... BUT i can't connect the phone to the computer!! how can i flash the boot.img without pc connection??
can you give me superwipe script link?? THANK YOU VERY VERY MUCH :good:
danirizziero said:
thanks for the fast aswer!! the hboot is 1.25.0002... BUT i can't connect the phone to the computer!! how can i flash the boot.img without pc connection??
can you give me superwipe script link?? THANK YOU VERY VERY MUCH :good:
Click to expand...
Click to collapse
Flash this: http://forum.xda-developers.com/showthread.php?t=2192101 - Now you will not have nothing on yuor partitions (system,data,cache,boot).
Edit updater-script I said removing that line. Then find 25/26/27 numbers in it and replace these with 24/25/26 (use Notepad++ to edit updater-script).
Zip all and flash Rom. Then reboot into bootloader & Flash boot.img attached.
Done!
xpirt
xpirt said:
Flash this: http://forum.xda-developers.com/showthread.php?t=2192101 - Now you will not have nothing on yuor partitions (system,data,cache,boot).
Edit updater-script I said removing that line. Then find 25/26/27 numbers in it and replace these with 24/25/26 (use Notepad++ to edit updater-script).
Zip all and flash Rom. Then reboot into bootloader & Flash boot.img attached.
Done!
xpirt
Click to expand...
Click to collapse
maybe i didn't understand, or i didn't explain much well... sorry, but HOW CAN I FLASH BOOT.IMG WITHOUT BOOTING into a valid ROM?? (from bootloader?)
sorry but i'm noob, and I unfortunately know it
ok GOT IT, so in this way, i'm going to flash boot.img without PC right?
danirizziero said:
maybe i didn't understand, or i didn't explain much well... sorry, but HOW CAN I FLASH BOOT.IMG WITHOUT BOOTING into a valid ROM?? (from bootloader?)
sorry but i'm noob, and I unfortunately know it
Click to expand...
Click to collapse
Use attached BootIMG_Installer.zip on xPirtROM thread
xpirt
danirizziero said:
maybe i didn't understand, or i didn't explain much well... sorry, but HOW CAN I FLASH BOOT.IMG WITHOUT BOOTING into a valid ROM?? (from bootloader?)
sorry but i'm noob, and I unfortunately know it
Click to expand...
Click to collapse
boot your phone into fastboot mode, then flash boot.img via fastboot command
scusa ma se sai italiano scrivimi pure in italiano!! :good::laugh:
danirizziero said:
scusa ma se sai italiano scrivimi pure in italiano!! :good::laugh:
Click to expand...
Click to collapse
XDA does't allow to speak in italian. You can write me in PM.
xpirt
Is there a boot.img installer for ics?
Just use any boot.img installer, place your boot.img inside and start the batch file. Make sure it's named boot.img.
Related
from
http://forum.xda-developers.com/showthread.php?p=26199933
I already dl the gsmfix.zip file but I don't know how to flash it.
thx
gabox99 said:
from
http://forum.xda-developers.com/showthread.php?p=26199933
I already dl the gsmfix.zip file but I don't know how to flash it.
thx
Click to expand...
Click to collapse
Flash in recovery. You need Amon Ra installed or any other recovery like TWRP or CWM. Boot into recovery and choose zip from SD.
zac41189 said:
Flash in recovery. You need Amon Ra installed or any other recovery like TWRP or CWM. Boot into recovery and choose zip from SD.
Click to expand...
Click to collapse
thx
now the phone gets stuck in the
white screen
with the words
htc one
p.d.
my ROM is BAMF-33112-RELEASE-KEYS.zip
don't flash gsmfix.zip there. that is only for sense 4 ROM developed by Joel.
On the same page of download link you can find stockgsmfix.zip, try to flash that as bamf-33112-release-keys.zip is based on sense 3.6. hope this helps you!
kancherlapraneeth said:
don't flash gsmfix.zip there. that is only for sense 4 ROM developed by Joel.
On the same page of download link you can find stockgsmfix.zip, try to flash that as bamf-33112-release-keys.zip is based on sense 3.6. hope this helps you!
Click to expand...
Click to collapse
I flash stockgsmfix.zip and the phone still gets stuck in the white screen
with the words htc one
It should work. anyway you are running BAMF sense 3.6 ROM right?
IF that is the case , do clean wipe, flash ROM again, change below values in /system/build.prop file using any editor and reboot once( better do factory reset )
ro.config.lte=false
ro.telephony.default_network=3
kancherlapraneeth said:
It should work. anyway you are running BAMF sense 3.6 ROM right?
IF that is the case , do clean wipe, flash ROM again, change below values in /system/build.prop file using any editor and reboot once( better do factory reset )
ro.config.lte=false
ro.telephony.default_network=3
Click to expand...
Click to collapse
ro.config.lte=false
ro.telephony.default_network=3
I made those changes inside the BAMF-33112-RELEASE-KEYS.zip file and save it
I did the steps and the same, gets stuck after reboot
in the white htc screen.
were you able to boot atleast once? if you are s-on you need extract boot.img (kernel) and need to flash it via fastboot usb ( fastboot flash boot boot.img)
below are steps
- extract boot.img from your downloaded zip file
- place it in android-sdk/platform tools folder- you will have fastboot executable there ( need to have android sdk and HTC driver installed on your pc)
- open command prompt ( right click on cmd -> run ad admin) and navigate to platform-tools folder
- reboot your phone to booltloader and select fastboot
- run command "fastboot flash boot boot.img"
- reboot the phone
If a flashable boot,img is provided in BAMF thread you can just flash it via bootloader
kancherlapraneeth said:
were you able to boot atleast once? if you are s-on you need extract boot.img (kernel) and need to flash it via fastboot usb ( fastboot flash boot boot.img)
below are steps
- extract boot.img from your downloaded zip file
- place it in android-sdk/platform tools folder- you will have fastboot executable there ( need to have android sdk and HTC driver installed on your pc)
- open command prompt ( right click on cmd -> run ad admin) and navigate to platform-tools folder
- reboot your phone to booltloader and select fastboot
- run command "fastboot flash boot boot.img"
- reboot the phone
If a flashable boot,img is provided in BAMF thread you can just flash it via bootloader
Click to expand...
Click to collapse
I extract boot.img from PH98IMGnewfirmwarepeople.zip
I did it and the same, it gets stuck in white HTC screen.
Extract boot.img from your downloaded rom zip file and flash
Sent from my PI86100 using Board Express
gabox99 said:
I extract boot.img from PH98IMGnewfirmwarepeople.zip
I did it and the same, it gets stuck in white HTC screen.
Click to expand...
Click to collapse
the issue is with the STOCKGSMFIX.zip, it seems doesn't work with
BAMF-33112-RELEASE-KEYS ROM
dont flash that. just change the build.prop values and flash ROM and boot.img. that should be good enough!
kancherlapraneeth said:
dont flash that. just change the build.prop values and flash ROM and boot.img. that should be good enough!
Click to expand...
Click to collapse
Finally!
It works!
I can send SMS!
thank you!
got struck up with boot logo and not getting inside, I tried to install new rom and it got struck up, I have rooted my mobile and have recovery mode, when i try to restore my backup it shows checksum md5 mismatch, and cant able to fix the problem,
Can anyone help.....?
Thanks in advance
hi
manoj.p0489 said:
got struck up with boot logo and not getting inside, I tried to install new rom and it got struck up, I have rooted my mobile and have recovery mode, when i try to restore my backup it shows checksum md5 mismatch, and cant able to fix the problem,
Can anyone help.....?
Thanks in advance
Click to expand...
Click to collapse
There is a guide around for you in the Q&A/General Section.
You should be careful when rooting phone and flashing stuff. The acts u mention above, i think you ca recover very easily. Just read the guides and follow these steps.
1. Flash a proper recovery for ICS or JB (whichever stock rom u had).
2. Download a proper ROM, ICS or JB (whichever you want to)
3. Flash the zip thorugh recovery and wait for it to complete.
4. Turn off the phone,
5. Boot to fastboot mode and flash the boot.img files (which is the kernel and it is different for each rom)
Actually i think flashing the correct boot.img will solve ur issue but you better follow the steps i mentioned above.
Regards
Yasir
neXus PRIME said:
There is a guide around for you in the Q&A/General Section.
You should be careful when rooting phone and flashing stuff. The acts u mention above, i think you ca recover very easily. Just read the guides and follow these steps.
1. Flash a proper recovery for ICS or JB (whichever stock rom u had).
2. Download a proper ROM, ICS or JB (whichever you want to)
3. Flash the zip thorugh recovery and wait for it to complete.
4. Turn off the phone,
5. Boot to fastboot mode and flash the boot.img files (which is the kernel and it is different for each rom)
Actually i think flashing the correct boot.img will solve ur issue but you better follow the steps i mentioned above.
Regards
Yasir
Click to expand...
Click to collapse
Hi Yasir,
First of all thanks for your reply, I have tried to download ROM.img for my cid :htc_038 and flash through recovery mode but it says installation aborted.
manoj.p0489 said:
Hi Yasir,
First of all thanks for your reply, I have tried to download ROM.img for my cid :htc_038 and flash through recovery mode but it says installation aborted.
Click to expand...
Click to collapse
No No No No No NO.
Rom.zip , and i repeat "*.zip" are meant to be flashed via recovery.
for boot.img, and i repeat "*.img" files are meant to be flash via FASTBOOT mode. You need proper exe file on a pc for that. "fastboot.exe flash boot boot.img"
neXus PRIME said:
No No No No No NO.
Rom.zip , and i repeat "*.zip" are meant to be flashed via recovery.
for boot.img, and i repeat "*.img" files are meant to be flash via FASTBOOT mode. You need proper exe file on a pc for that. "fastboot.exe flash boot boot.img"
Click to expand...
Click to collapse
sorry.... its Rom.zip only..... but i get the same error...
manoj.p0489 said:
sorry.... its Rom.zip only..... but i get the same error...
Click to expand...
Click to collapse
Then use another recovery.
Hello! I just rooted my xperia u today and now I'm trying to flash a custom ROM. The problem
is that I keep getting error/status 7 in cwm when trying to do this. I have searched around,
but can't find a solution. Any help appreciated!
Info:
Xperia U ST25i
Stock kernel
Stock ICS 4.0.4
CWM 5
Fixed it by following this:
1) Extract the contents you will get 3 things in it .... boot.img (file) , system(folder) , meta-inf (folder)
2) Leaving the boot.img out repack the other two folders (system,meta-inf)
3) fastboot the boot.img file via fastboot by this command "fast boot flash boot boot.img" without quotes
4) then place the new packed zip file
The one without the boot image
5) try flashing it
6) factory reset and wipe delvik cache and reboot
step 2?
blackjacknapper said:
Fixed it by following this:
1) Extract the contents you will get 3 things in it .... boot.img (file) , system(folder) , meta-inf (folder)
2) Leaving the boot.img out repack the other two folders (system,meta-inf)
3) fastboot the boot.img file via fastboot by this command "fast boot flash boot boot.img" without quotes
4) then place the new packed zip file
The one without the boot image
5) try flashing it
6) factory reset and wipe delvik cache and reboot
Click to expand...
Click to collapse
Hi, i'm what you call a noob and I could really use your help.
Could you explain to me what you mean by step 2 'repacking the other two folders (system,meta-inf)'? And do I put all the files in the fastboot folder?
Thanks a lot!!
blackjacknapper said:
Fixed it by fooowing this:
1) Extract the contents you will get 3 things in it .... boot.img (file) , system(folder) , meta-inf (folder)
2) Leaving the boot.img out repack the other two folders (system,meta-inf)
3) fastboot the boot.img file via fastboot by this command "fast boot flash boot boot.img" without quotes
4) then place the new packed zip file
The one without the boot image
5) try flashing it
6) factory reset and wipe delvik cache and reboot
Click to expand...
Click to collapse
Yeah, u should flash the kernel first
I have..
MT27i said:
Yeah, u should flash the kernel first
Click to expand...
Click to collapse
I flashed the kernel via the cmd promt fastboot flash boot boot.img. The device is rooted and bootloader is unlocked.
But when i reboot the phone into recovery mode it doesn't get the FXP screen it just gets the sony logo.
Then when i try to instal from zip I get status 7. I placed the gapps and cm zip files on the sd card.
What am i doing wrong?
I really appreciate the help:good:
blackjacknapper said:
Hello! I just rooted my xperia u today and now I'm trying to flash a custom ROM. The problem
is that I keep getting error/status 7 in cwm when trying to do this. I have searched around,
but can't find a solution. Any help appreciated!
Info:
Xperia U ST25i
Stock kernel
Stock ICS 4.0.4
CWM 5
Click to expand...
Click to collapse
Watch this video (start watching at 8:05).
youtube.com/watch?v=O52IeX93Jek
In this video, he is showing how to flash cm9, but you can also use other custom roms.
What software are you trying to flash?
@Buddha's belly
Have you flashed the kernel that's in the ROM zip?
And you can look at the log to see what exactly fails.
ChikeD said:
@Buddha's belly
Have you flashed the kernel that's in the ROM zip?
And you can look at the log to see what exactly fails.
Click to expand...
Click to collapse
@ChikeD is rights.
try to flash the kernel from rom zip.
T329w is customized version Of Desire X (t329e) which have to SIM card
The rom for Desire X running Perfect on my T329w except there is no Signal...
I think flash back the T329w's stock Kernal and Radio can fix it?
Has anyone can Help me?
Thanks a Lot !
link of Rom for T329w
Version 1
http://pan.baidu.com/s/122oNL
Version 2
http://pan.baidu.com/s/1oVdzO
Hi
You can downlod from here:https://hotfile.com/dl/249367403/0b72cc6/T329W.rar.html
This is decrypt stock rom for T329w without "System.img"
I can't install this,
more details: http://forum.xda-developers.com/showthread.php?t=2483223
BABAK236 said:
Hi
You can downlod from here:https://hotfile.com/dl/249367403/0b72cc6/T329W.rar.html
This is decrypt stock rom for T329w without "System.img"
Click to expand...
Click to collapse
I need the Stock Recovery for T329w as by mistake flashed Single sim recovery. I am from India and using Stock ROM with JB (version 4.1.1).
Flashing the "recovery_signed.img" inside the folder of this Download would be helpful?
Please reply.
Thanks.
arindam4u said:
I need the Stock Recovery for T329w as by mistake flashed Single sim recovery. I am from India and using Stock ROM with JB (version 4.1.1).
Flashing the "recovery_signed.img" inside the folder of this Download would be helpful?
Please reply.
Thanks.
Click to expand...
Click to collapse
I think it will
Did the same mistake..
Any help on this front will be useful
yashvchauhan said:
Did the same mistake..
Any help on this front will be useful
Click to expand...
Click to collapse
There is a dual sim rom in one of these threads, flash that and after that flash the correct stock recovery.
And next time read carefully because this forum is not for the the Desire X dual sim
GtrCraft said:
There is a dual sim rom in one of these threads, flash that and after that flash the correct stock recovery.
And next time read carefully because this forum is not for the the Desire X dual sim
Click to expand...
Click to collapse
Searched, couldn't find any dual sim roms apart from the one in this thread
EDIT - or maybe it's this one? it's compatible with dual sim http://forum.xda-developers.com/showpost.php?p=46730392&postcount=30
thanks for your help though..
This is what i plan to do :
Download and flash TWRP for t329w
Transfer http://pan.baidu.com/s/122oNL (version 1) to SD Card and the recovery_signed.img and boot_signed.img to SC Card
Reboot phone to recovery
Choose Wipe then Swipe to Factory Reset
or the best is Select Advance Wipe, tick all except sdcard then swipe to wipe
Select Install and select the version1 rom.zip then swipe to confirm flash
Wait until the installation is finished
Reboot phone to fastboot and connect it to your PC
Open command prompt, lead it to folder where you installed adb and fastboot and issue commands:
fastboot flash recovery C:\recovery_signed.img
fastboot erase cache
fastboot reboot
fastboot flash boot c:\boot_signed.img
fastboot erase cache
fastboot reboot
yashvchauhan said:
Searched, couldn't find any dual sim roms apart from the one in this thread
EDIT - or maybe it's this one? it's compatible with dual sim http://forum.xda-developers.com/showpost.php?p=46730392&postcount=30
thanks for your help though..
This is what i plan to do :
Download and flash TWRP for t329w
Transfer http://pan.baidu.com/s/122oNL (version 1) to SD Card and the recovery_signed.img and boot_signed.img to SC Card
Reboot phone to recovery
Choose Wipe then Swipe to Factory Reset
or the best is Select Advance Wipe, tick all except sdcard then swipe to wipe
Select Install and select the version1 rom.zip then swipe to confirm flash
Wait until the installation is finished
Reboot phone to fastboot and connect it to your PC
Open command prompt, lead it to folder where you installed adb and fastboot and issue commands:
fastboot flash recovery C:\recovery_signed.img
fastboot erase cache
fastboot reboot
fastboot flash boot c:\boot_signed.img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Perfect steps, if those two roms don't work then try this: http://sourceforge.net/projects/others/files/DX/Dual SIM/T329w_2.12.1402.1.zip/download
(That was the one I meant)
GtrCraft said:
Perfect steps, if those two roms don't work then try this: http://sourceforge.net/projects/others/files/DX/Dual SIM/T329w_2.12.1402.1.zip/download
(That was the one I meant)
Click to expand...
Click to collapse
One last thing, I forgot to mention I had taken a NAndroid backup before installing the ROM. I restored it and did a full wipe/factory reset, but I think the kernel is the problem (it shows the kernel used by the single sim ROM)
So as of now, I'm just going to flash the boot and recovery, coz boot_signed should change the kernel.
Also, this folder contains other images such as radio, hboot, dzdata etc. what are these for and would they help?
Thanks a lot for your help!!
---------- Post added at 06:57 AM ---------- Previous post was at 06:21 AM ----------
There's a guy on FB who had a similar problem. He said he flashed a "brushed" ROM from a chinese forum (i got the links), well if you translate it means a modified ROM for the dual sim, right? He also said he was missing the RUU. Any help here would be appreciated.. Thanks a lot!
Heres what he said
"i used a brushed rom and installed through twrp recovery bro . check the link i sent u can translate it and find everything . i couldnt find ruu file"
yashvchauhan said:
One last thing, I forgot to mention I had taken a NAndroid backup before installing the ROM. I restored it and did a full wipe/factory reset, but I think the kernel is the problem (it shows the kernel used by the single sim ROM)
So as of now, I'm just going to flash the boot and recovery, coz boot_signed should change the kernel.
Also, this folder contains other images such as radio, hboot, dzdata etc. what are these for and would they help?
Thanks a lot for your help!!
Click to expand...
Click to collapse
After restoring Nandroid, just fastboot flash the boot_signed.img and reboot and see whether it boot. It should work if the custom recovery is working well for your device. No need to fastboot flash recovery_signed.img first. Just boot and see whether it works. If it works then only you fastboot flash the recovery_signed.img if you want to.
Don't worry about other images as you can't flash those on a S-On device.
ckpv5 said:
After restoring Nandroid, just fastboot flash the boot_signed.img and reboot and see whether it boot. It should work if the custom recovery is working well for your device. No need to fastboot flash recovery_signed.img first. Just boot and see whether it works. If it works then only you fastboot flash the recovery_signed.img if you want to.
Don't worry about other images as you can't flash those on a S-On device.
Click to expand...
Click to collapse
HELP!! I flashed the boot.img and now the phone doesn't boot. Shows white screen then blackout.
adb doesn't detect it
help!!
yashvchauhan said:
HELP!! I flashed the boot.img and now the phone doesn't boot. Shows white screen then blackout.
adb doesn't detect it
help!!
Click to expand...
Click to collapse
Inside your nandroid backup there is a file boot.emmc.win, this is your stock boot.img
So fastboot flash this one with command
fastboot flash boot boot.emmc.win
ckpv5 said:
Inside your nandroid backup there is a file boot.emmc.win, this is your stock boot.img
So fastboot flash this one with command
fastboot flash boot boot.emmc.win
Click to expand...
Click to collapse
shows Error : Cannot open boot.emmc.win
Is it because my nandroid is on external sd? I'm using nexus prime as the recovery
yashvchauhan said:
shows Error : Cannot open boot.emmc.win
Is it because my nandroid is on external sd? I'm using nexus prime as the recovery
Click to expand...
Click to collapse
What do you mean shows Error : Cannot open boot.emmc.win ? boot.emmc.win is created by a TWRP recovery only. If there is one you don't have to "open" it, just copy it to your fastboot folder
Now you mentioned you use nexus prime as the recovery do you mean you use NexusRecovery ? Can you list here the file names inside the nandroid backup ? I don't think you have boot.emmc.win in NexusRecovery
ckpv5 said:
What do you mean shows Error : Cannot open boot.emmc.win ? boot.emmc.win is created by a TWRP recovery only. If there is one you don't have to "open" it, just copy it to your fastboot folder
Now you mentioned you use nexus prime as the recovery do you mean you use NexusRecovery ? Can you list here the file names inside the nandroid backup ? I don't think you have boot.emmc.win in NexusRecovery
Click to expand...
Click to collapse
Hmm, i went to Nandroid restore > Advanced restore > Restore boot
doesn't boot.
tried restoring the whole backup, doesn't boot.
even a wipe data/factory reset doesn't make it boot!
Will taking it to an HTC centre help? (I'm ready to pay some amt of money.)
Oh no... you don't know what fastboot flash means ? It is not using the recovery to restore boot. You need to copy the boot.img to your PC where you have all your fastboot files in a folder.
Try again this way as I don't have my PC with me. Replying to you with someone else PC.
In my ROM threads, you will see Boot.img_Installer_RCx.x.zip in post #1. Download any of them then do the following
1. Download theBoot.img_Installer_RCx.x.zip and extract it on your PC desktop
2. Reboot your DX to bootloader and connect to your PC (you should see the word "fastboot usb" in red color on the bootloader)
3. Open the Boot.img_Installer_RCx.x folder that you extracted, you should see a batch file Install Boot.img.bat there
4. Replace the boot.img with your boot.img (don't use the one that already in the folder). Try the boot_signed.img that you have, rename it to boot.img
5. Run that Install Boot.img.bat and when it stop just press any key to exit
6. Reboot
And yes, taking it to HTC centre will help but of course you need to pay them
ckpv5 said:
Oh no... you don't know what fastboot flash means ? It is not using the recovery to restore boot. You need to copy the boot.img to your PC where you have all your fastboot files in a folder.
Try again this way as I don't have my PC with me. Replying to you with someone else PC.
In my ROM threads, you will see Boot.img_Installer_RCx.x.zip in post #1. Download any of them then do the following
1. Download theBoot.img_Installer_RCx.x.zip and extract it on your PC desktop
2. Reboot your DX to bootloader and connect to your PC (you should see the word "fastboot usb" in red color on the bootloader)
3. Open the Boot.img_Installer_RCx.x folder that you extracted, you should see a batch file Install Boot.img.bat there
4. Replace the boot.img with your boot.img (don't use the one that already in the folder). Try the boot_signed.img that you have, rename it to boot.img
5. Run that Install Boot.img.bat and when it stop just press any key to exit
6. Reboot
And yes, taking it to HTC centre will help but of course you need to pay them
Click to expand...
Click to collapse
Hmm, I will try that. Guess I will have to take it anyway coz of the SIM card issue.
Thanks a lot man. You've been a great help. Appreciate every bit of it.
yashvchauhan said:
One last thing, I forgot to mention I had taken a NAndroid backup before installing the ROM. I restored it and did a full wipe/factory reset, but I think the kernel is the problem (it shows the kernel used by the single sim ROM)
So as of now, I'm just going to flash the boot and recovery, coz boot_signed should change the kernel.
Also, this folder contains other images such as radio, hboot, dzdata etc. what are these for and would they help?
Thanks a lot for your help!!
---------- Post added at 06:57 AM ---------- Previous post was at 06:21 AM ----------
There's a guy on FB who had a similar problem. He said he flashed a "brushed" ROM from a chinese forum (i got the links), well if you translate it means a modified ROM for the dual sim, right? He also said he was missing the RUU. Any help here would be appreciated.. Thanks a lot!
Heres what he said
"i used a brushed rom and installed through twrp recovery bro . check the link i sent u can translate it and find everything . i couldnt find ruu file"
Click to expand...
Click to collapse
don't flash the radio hboot and other files than boot and recovery
[
yashvchauhan said:
Hmm, I will try that. Guess I will have to take it anyway coz of the SIM card issue.
Thanks a lot man. You've been a great help. Appreciate every bit of it.
Click to expand...
Click to collapse
Ohh, I just read it properly. I know what fastboot flash means. Using Android SDK > Platform tools > Shift+rightclick > open as command prompt > fastboot flash boot boot_signed.img
I've already done it. This boot_signed.img in this thread seems weird.
After installing the custom ROM, restoring my nandroid backup, my phone was booting, but without the sim being recognized.
So I fastboot flashed the above (second post of this thread) boot_signed.img from c:\
But THAT boot_signed.img led to my phone being stuck in a bootloop > white start screen > turns black > try switching it on again > same thing
Hoped I could restore the nandroid boot using recovery advanced restore, but didn't work.
Will try fastboot flashing the MIUI boot.img (coz that's what was working initially, though without a sim, and the one in this thread's second post doesn't have a source), atleast that should get my phone booting. And will try searching for the boot of my nexus recovery backup, coz that will be the stock boot.img.
My last thing before I go to HTC .
---------- Post added at 03:08 PM ---------- Previous post was at 03:06 PM ----------
GtrCraft said:
don't flash the radio hboot and other files than boot and recovery
Click to expand...
Click to collapse
I only flashed boot and recovery, not the others
Hi,
After much read of guides, I post here my SIMPLE guide for OTA upgrades when your Moto G is unlocked and you use systemless root and TWRP.
This guide is safe and works!
For example, with this guide you can upgrade from STOCK MPJ24.139-23.4 to MPJ24.139-63:
Warning: I assume you know the concepts "fastboot", "systemless root" and TWRP.
For the original stock firmware search here for your exact MODEL and VERSION: http://mirrors.lolinet.com/firmware/moto/athene/official/
1) Reboot to TWRP and make a FULL BACKUP of your current firmware. Use the SD-Card and not the internal memory.
2) To Apply the OTA you need to restore BOOT.IMG and SYSTEM.IMG.
2a) If you rooted your device, for sure your BOOT.IMG isn't the original one. You can:
- Option 1: Restore it from an original backup of your firmware (if you backup it prior to root).
- Option 2: Download the STOCK and ORIGINAL firmware for your device, extract "boot.img" and flash it in the fastboot mode using "fastboot flash boot boot.img".
2b) If you use Systemless SuperSU then your system partition can be untouched. In case of doubt, or if the patch shows an error, you can restore it...
- Option 1: Restore it from one backup of your firmware (only if you backup it prior to root).
- Option 2: Download the STOCK and ORIGINAL firmware for your device, extract "system.img_sparsechunk.0-7" and flash them in the fastboot mode using these 8 commands (execute one, wait until completes, then execute the next one):
Code:
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
3) Boot to the TWRP Custom Recovery (you don't need to restore the original Recovery partition).
4) Download the OTA (Blur_Version.24.24.4.athene.retail.en.US.zip) or copy it from the downloaded directory. Copy the ZIP file to a computer, extract the file "/META-INF/com/google/android/updater-script" and edit it... Remove these three lines (this only removes the check of the running build, because you like to execute it inside TWRP):
Code:
getprop("ro.build.thumbprint") == "6.0.1/MPJ24.139-63/64:user/release-keys" ||
getprop("ro.build.thumbprint") == "6.0.1/MPJ24.139-23.4/4:user/release-keys" ||
abort("Package expects build thumbprint of 6.0.1/MPJ24.139-63/64:user/release-keys or 6.0.1/MPJ24.139-23.4/4:user/release-keys; this device has " + getprop("ro.build.thumbprint") + ".");
After that, copy (repack) this edited file to the ZIP file of the OTA. I suggest to change the name of the ZIP, for example to "Blur_Version.24.24.4.athene.retail.en.US-TWRP.zip". Now, you can run this patch file running TWRP.
5) Copy the patch OTA file to the SD-CARD, boot to the TWRP and apply the OTA... After several minutes the task completes. Reboot and check if the update is done and all works well. Your data needs to be already there...
6) Reboot into the fastboot mode and reflash the TWRP Custom Recovery using "fastboot flash recovery twrp-3.0.2-0-athene.img". Then boot in the recovery mode and do another Backup (for save untouched "system.img" and "boot.img" partitions).
7) Now you can re-root using the TWRP mode and SuperSU 2.78 in Systemless mode (remember to execute "echo SYSTEMLESS=true>>/data/.supersu" prior to install the SuperSU.zip)
I hope this helps you!
This guide only uses the minimum and required steps.
:good:
If you like to download one already patched OTA, then download it from here (join the two files first!):
Part 1: http://www.sendspace.com/file/dkws7p
Part 2: http://www.sendspace.com/file/xaompg
Part 1: http://www.sendspace.com/file/e3of46
Part 2: https://www.sendspace.com/file/a3tl4r
CRC:
filename=Blur_Version.24.24.4.athene.retail.en.US-TWRP.zip
size=508332365
crc32=AFEC5752
Thank you, I was wondering about just this. Will come In handy.
Do you need to resign the zip with signapk?
Thanks for you guide!
I used it to update my Lenovo P2 to Nougat.
I would love to unlock my phone, alas, I am on an amazon variant of the G4, so it cannot be done. I would love to try out the OS listed here.
Indianvixen9 said:
I would love to unlock my phone, alas, I am on an amazon variant of the G4, so it cannot be done. I would love to try out the OS listed here.
Click to expand...
Click to collapse
I've heard this from a few people. I got the Amazon variant little more than a week ago. Unlocked BL and rooted lickety splits, no issues.
I consider myself pretty tech savvy, but the post might as well have been in Swahili. Can it be dumbed down any further?
The links at the end of your post for the two patched ota downloads aren't any good, would you please upload them again? Thanks
t0mm13b said:
Do you need to resign the zip with signapk?
Click to expand...
Click to collapse
No, just re-zip! :victory:
Dbush72 said:
The links at the end of your post for the two patched ota downloads aren't any good, would you please upload them again? Thanks
Click to expand...
Click to collapse
Done! :highfive:
Thank you for the reply and refreshing the download links
As far as I can tell you are flashing this via TWRP which is why the zips dont need signed is that correct?
I have an xt1625 non-amazon version that im working with.
I tried flashing Blur_Version.25.11.12.athene.retail.en.US on top of ATHENE_MPJ24.139-49_cid50_subsidy-DEFAULT_CFC.xml which didnt work with this error:
E3005: "EMMC:/dev/block/bootdevice/by-name/boot:
has unexpected contents
I also tried flashing Blur_Version.25.11.12.athene.retail.en.US on top of ATHENE_MPJ24.139-48_cid50_subsidy-DEFAULT_CFC.xml
Failed with the same error as last time
I also tried flashing Blur_Version.24.31.48.athene.retail.en.US on top of ATHENE_MPJ24.139-48_cid50_subsidy-DEFAULT_CFC.xml which does seem to pass the version checks but gives this error:
"eom/app/BRApps2/oat/arm/BRApps.odex" has unexpected contents.