Updater script file - Moto X Q&A

I've noted that many people that use rom, have problem with the updater script file, because they first need to delete the row of control....so my question is: why the developers doesn't generate the rom files already with modified updater script? We always need to make this process every download, and it's so boring....

Can any developer aswer to my question?

Your post doesn't give much information for what ROM or other zip your flashing, so I doubt anyone can give you any useful answer.
Sent from my Moto X

This is not a question this is a rant.
Most developers maintain several devices and nightlies get generated automatically.
You find it boring don't do.
The updater script is necessary so that other devices don't get bricked flashing it.
You could also try Philz recovery which doesn't have this problem

adity said:
This is not a question this is a rant.
Most developers maintain several devices and nightlies get generated automatically.
You find it boring don't do.
The updater script is necessary so that other devices don't get bricked flashing it.
You could also try Philz recovery which doesn't have this problem
Click to expand...
Click to collapse
Philz haven't problems with that file??? Really?

interista4e said:
Philz haven't problems with that file??? Really?
Click to expand...
Click to collapse
Yup.
You could flash it with flashify or rashr directly from phone

Related

boot.img? huh?

So i've noticed in most of the rom threads that people are needing to flash the boot.img? Is this a new boot.img? i've searched but obviously used the wrong keywords or something becuase i can't find any information on it anywhere. Can someone point me in the right direction? I remember having to do this with my Nexus 4, but links were posted everywhere for it,..
thanks in advance
Well..
The boot.img was required to be flashed separately at some point. Later one of the devs figured out how to do it using a script.
In most of the new custom roms, its within the zip and the script installs it automatically. You can see it if you open up the zip. I didnt have to flash it separately while installing trickdroid.
watermelun said:
The boot.img was required to be flashed separately at some point. Later one of the devs figured out how to do it using a script.
In most of the new custom roms, its within the zip and the script installs it automatically. You can see it if you open up the zip. I didnt have to flash it separately while installing trickdroid.
Click to expand...
Click to collapse
+1 never flashed a boot.img for this phone
boot.img is the kernel

[Q] i9305 Unofficial cm11

Hi!
I'm wanting to install that unofficial CM 11 for my international I9305, already running TWRP 2.6.3.0 on it and apparently i need to use the custom recoveries posted in the thread.
My question is though, how do i flash the .img files using odin, or an app, or is it possible to do with twrp itself booted up into recovery ? i've searched high and low, and just can't seem to find a straight answer - so here i am, bear with me, i'm tired
You can download an app called mobile Odin and use that to flash your .img files just using your phone!
You need to rename it to recovery.img for it to be detected though!
Sent from my GT-I9305 using Tapatalk
If there is another way than that, I'd appreciate it. I cannot purchase apps in the app store currently. So that's unfortunately a no go
CM 11 Q&A thread ???
As you dont have a clue about anything suggest you start by reading the basic faqs and guides before bricking your phone .
Basics read first.
http://forum.xda-developers.com/showthread.php?t=2344125
Critical you read the first two posts .
Didn't see that thread at all until earlier as a second glance, i got plenty of clue though.
But an overload of information all pointing in different directions, each of them seeming to be correct is making me a little cautious when all i want is to know how i manually update my TWRP with the provided recovery.img file in that post, but i'll take my answer there instead for help.
sid378 said:
Didn't see that thread at all until earlier as a second glance, i got plenty of clue though.
But an overload of information all pointing in different directions, each of them seeming to be correct is making me a little cautious when all i want is to know how i manually update my TWRP with the provided recovery.img file in that post, but i'll take my answer there instead for help.
Click to expand...
Click to collapse
Faqs flash zip via recovery flash tar via odin no if ands or buts .
But....! That wouldn't be a problem at all to flash, except what I was provided was a recovery.img file.. That's my hindrance currently
Flash it with mobile odin.
Sent from my GT-I9305 using XDA Premium 4 mobile app
sid378 said:
If there is another way than that, I'd appreciate it. I cannot purchase apps in the app store currently. So that's unfortunately a no go
Click to expand...
Click to collapse
You can get the APK from his thread over here ---> http://forum.xda-developers.com/showthread.php?t=1347899

Fix for not loosing recovery flashing 5.0 "otapackage" Aosp Roms.

Hi,
For those of you who don't know , flashing an Aosp source built ROM that was compiled with the command " make otapackage" will break and overwrite your custom recovery (for example Twrp).
But I came up with a fix for it when i saw that Scroler made a script to fix this problem for the Nexus 7 (2013) .
I modified it to work on the Nexus 4.
You only need to flash this in recovery as a zip file just after you flash your ROM.
So for example you would flash your ROM, the Don't_lose_Recovery. zip and after your gapps.
With this script your good to go and you will keep your beloved custom recovery.
Please note that I tested the script with Twrp and not with Clockworkmod recovery since I don't use this one.
Don't forget to hit the thanks button.
Happy flashing.
Link for the script : https://mega.co.nz/#!3wxB2azJ!nBoVqsrDWmfGDHP-egRt_Fwy3b2rRrseMSUPrj1PWzY
Thanks to Scroler for guiding me
Check out my Nexus 4 Aosp ROM here http://forum.xda-developers.com/nexus-4/development/rom-t2931659
Sent from my Nexus 4.
Thank you !
Can't you just remove the recovery from the zip....along with the line that flashes it from the updater script?
Its also easy to fastboot a recovery back when no one removes it from zips....
strapped365 said:
Can't you just remove the recovery from the zip....along with the line that flashes it from the updater script?
Its also easy to fastboot a recovery back when no one removes it from zips....
Click to expand...
Click to collapse
It's not as easy as " if it break something I will remove it and everything will be fine", unfortunately.
But now this fix is built into my rom http://forum.xda-developers.com/showthread.php?t=2931659so there is one less zip to flash.
Sent from my nexus 4
Is this a new 5.0 thing?? I've been flashing for quite a long time and I've literally never heard of this happening before.
hp420 said:
Is this a new 5.0 thing?? I've been flashing for quite a long time and I've literally never heard of this happening before.
Click to expand...
Click to collapse
A clean aosp build will produce the recovery also. Its as easy as deleting it, and the corresponding lines from updater-script or using the git commits to not include it...
strapped365 said:
A clean aosp build will produce the recovery also. Its as easy as deleting it, and the corresponding lines from updater-script or using the git commits to not include it...
Click to expand...
Click to collapse
OP claims it's not just that easy.
hp420 said:
OP claims it's not just that easy.
Click to expand...
Click to collapse
Cool story....this is the reason I've quit posting on XDA.... :cheers:
strapped365 said:
Cool story....this is the reason I've quit posting on XDA.... :cheers:
Click to expand...
Click to collapse
Cool story

[Q] Can't boot into TWRP and my phone got unrooted

Hello!
I have a Huawei Mate 9 (MHA-L29C432B190). Yesterday I tried to root my Phone to play Pokemon Go with fake gps. After I managed to root my phone, I couldn't boot into TWRP Recovery Mode anymore.
Because I still had some files I needed to flash I installed Flashfire from the PlayStore. I think after I flashed the newest Magisk version(The flash failed because of Error:1), my device got unrooted. But I think my device is still partly rooted because I can't get into Pokemon Go. Everytime I try to start it I get stuck the loading screen. So right now I can't flash anything to get my root back and I don't have the root to use alternative flash applications. I also tried to start return my phone to stock back with a update.app But it can't be installed. I also can't use "fastboot flash recovery twrp.img" I always get " Writing 'recovery'...FAILED (remote:command can't be used/allowed)". And also after some reboots my oem unlock got turned off and I can't turn it on anymore.
I don't have any ideas anymore what to do. I thought I could root my device, so I could unroot properly with superuser. I tried some other application like KingRoot oder OneClickRoot but both of them don't have a rooting method for the Huawei Mate 9 yet. Btw I don't have a backup because of my naivety.
I hope you guys can help me . I appreciate any ideas
Thanks in advance
In summary what do u want???
Sent from my iPhone using Tapatalk Pro
abuk91 said:
In summary what do u want???
Sent from my iPhone using Tapatalk Pro
Click to expand...
Click to collapse
Either way I want a method to root my phone without some flash application or I want a way to return my phone to stock. Or a method to fix TWRP would be fine too.
Kyranix said:
Either way I want a method to root my phone without some flash application or I want a way to return my phone to stock. Or a method to fix TWRP would be fine too.
Click to expand...
Click to collapse
Do a Google search for:
"Return to stock (your model number)"
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Do a Google search for:
"Return to stock (your model number)"
I already did and everything I found didn't work
Kyranix said:
Do a Google search for:
"Return to stock (your model number)"
I already did and everything I found didn't work
Click to expand...
Click to collapse
What did you find? What have you tried?
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
What did you find? What have you tried?
I tried to do Upgrades with many different stock firmwares for my model
Kyranix said:
What did you find? What have you tried?
I tried to do Upgrades with many different stock firmwares for my model
Click to expand...
Click to collapse
That doesn't tell me anything. That just tells me that you tried flashing.
It doesn't tell me anything about exactly what you tried to flash or what errors you got when you flashed. I need more precise information to help you. Your simple answers aren't helping me understand anything about what you have going on with your device.
What tools have you used? What guide/instructions did you use? What files have you used? What errors did you get? What results did you get. What do mean "didn't work"? "Didn't work" can mean many things.
I might be able to help you fix your device but I can't fix ignorance.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
That doesn't tell me anything. That just tells me that you tried flashing.
It doesn't tell me anything about exactly what you tried to flash or what errors you got when you flashed. I need more precise information to help you. Your simple answers aren't helping me understand anything about what you have going on with your device.
What tools have you used? What guide/instructions did you use? What files have you used? What errors did you get? What results did you get. What do mean "didn't work"? "Didn't work" can mean many things.
I might be able to help you fix your device but I can't fix ignorance.
First I tried to do a force upgrade with a "dload" folder with a update.app file on my sdcard . After booting into this upgrade mode by pressing vol up + vol down + power button my device starts to install the stock firmware, but after it reaches 5% I get the message "Error with installing" and a Link to the same site when you boot into twrp. This always happens no matter which file I use. Next I tried to do a normal upgrade by calling this number "*#*#2846579#*#*" (The dload folder is still on my sdcard). But when I start the software upgrade I get booted into twrp and like I said in my post, always when I try to get into twrp I get stuck on the "Your device is booting screen". This is what I tried and basicly every site on google is saying I should try to do one of these two methods
(Here a guide for example: https://www.getdroidtips.com/full-guide-install-stock-firmware-huawei-smartphone/)
(My file in my last try: https://www.getdroidtips.com/huawei-mate-9-stock-firmware-collections/)
Kyranix said:
That doesn't tell me anything. That just tells me that you tried flashing.
It doesn't tell me anything about exactly what you tried to flash or what errors you got when you flashed. I need more precise information to help you. Your simple answers aren't helping me understand anything about what you have going on with your device.
What tools have you used? What guide/instructions did you use? What files have you used? What errors did you get? What results did you get. What do mean "didn't work"? "Didn't work" can mean many things.
I might be able to help you fix your device but I can't fix ignorance.
First I tried to do a force upgrade with a "dload" folder with a update.app file on my sdcard . After booting into this upgrade mode by pressing vol up + vol down + power button my device starts to install the stock firmware, but after it reaches 5% I get the message "Error with installing" and a Link to the same site when you boot into twrp. This always happens no matter which file I use. Next I tried to do a normal upgrade by calling this number "*#*#2846579#*#*" (The dload folder is still on my sdcard). But when I start the software upgrade I get booted into twrp and like I said in my post, always when I try to get into twrp I get stuck on the "Your device is booting screen". This is what I tried and basicly every site on google is saying I should try to do one of these two methods
(Here a guide for example: https://www.getdroidtips.com/full-guide-install-stock-firmware-huawei-smartphone/)
(My file in my last try: https://www.getdroidtips.com/huawei-mate-9-stock-firmware-collections/)
Click to expand...
Click to collapse
Stock upgrades are not going to work if you are rooted and have TWRP.
Stock updates require stock recovery and an unmodified system partition(no root).
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
Stock upgrades are not going to work if you are rooted and have TWRP.
Stock updates require stock recovery and an unmodified system partition(no root).
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
Yeah I have already seen, but I can't find an other method to return my Huawei Mate 9 to stock and I don't really have an root.
Kyranix said:
Yeah I have already seen, but I can't find an other method to return my Huawei Mate 9 to stock and I don't really have an root.
Click to expand...
Click to collapse
But you have TWRP, that won't work. You need stock recovery, custom recovery can't flash stock updates.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
But you have TWRP, that won't work. You need stock recovery, custom recovery can't flash stock updates.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
And can you please tell me how to do it then. You can also send me a guide
Kyranix said:
And can you please tell me how to do it then. You can also send me a guide
Click to expand...
Click to collapse
I am not sure why you are not doing this in your device forum?
https://forum.xda-developers.com/mate-9
It seems that there would be more assistance specific to your device.
or did I miss something?
Moscow Desire said:
I am not sure why you are not doing this in your device forum?
https://forum.xda-developers.com/mate-9
It seems that there would be more assistance specific to your device.
or did I miss something?
Click to expand...
Click to collapse
Well thats because I already had problems to post this thread because I am new to xda
Moscow Desire said:
I am not sure why you are not doing this in your device forum?
https://forum.xda-developers.com/mate-9
It seems that there would be more assistance specific to your device.
or did I miss something?
Click to expand...
Click to collapse
Well thats because I already had problems to post this thread because I am new to xda But thanks for pointing it out, I will probably try it there again. Maybe there I will have more luck
Kyranix said:
Well thats because I already had problems to post this thread because I am new to xda [emoji14] But thanks for pointing it out, I will probably try it there again. Maybe there I will have more luck
Click to expand...
Click to collapse
Even new members(less than 10 posts) can post in device specific Q&A fora, new members are only blocked from posting in "development" fora and threads.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

my one plus 3t is bricked unbricked using msmtool but now i cant install or update

my one plus 3t is bricked unbricked using msmtool but now i cant install or update the ROM into it.. please help me can someone help me using team viewer please or a remote might also help me.. please help me no wifi and bluetooth too as of now.
avnash09 said:
my one plus 3t is bricked unbricked using msmtool but now i cant install or update the ROM into it.. please help me can someone help me using team viewer please or a remote might also help me.. please help me no wifi and bluetooth too as of now.
Click to expand...
Click to collapse
not even a single reply.. this is not the way to treat a new member thanq
avnash09 said:
not even a single reply.. this is not the way to treat a new member thanq
Click to expand...
Click to collapse
There are a couple of reasons for people not replying.
First of all, the lack of details on your problem makes it impossible to determine the solution.
1. What do you mean bricked? Bootloop? Stuck on OnePlus logo? Hard brick? How did you get it bricked in the first place?
2. The restore tool removes TWRP. Have you installed it again?
3. What do you mean you can't install or the update the ROM? Is there an error message? Are you trying to flash a custom ROM in the stock recovery?
4. You waited less than 2 hours. You realize there are different time zones? Some people are sleeping, others are at work.
ast00 said:
There are a couple of reasons for people not replying.
First of all, the lack of details on your problem makes it impossible to determine the solution.
1. What do you mean bricked? Bootloop? Stuck on OnePlus logo? Hard brick? How did you get it bricked in the first place?
2. The restore tool removes TWRP. Have you installed it again?
3. What do you mean you can't install or the update the ROM? Is there an error message? Are you trying to flash a custom ROM in the stock recovery?
4. You waited less than 2 hours. You realize there are different time zones? Some people are sleeping, others are at work.
Click to expand...
Click to collapse
hi ,
i am a newbie here . my phone gets heated up after the ota install of 4.1.6 so i thought of factory resetting it. after resetting it. it got struck on the one plus logo and started booting again and again. so one of my friend asked to check the forum and i used [UNBRICK] Unbrick Tutorial For The OnePlus 3T!!!!!!!!! by Haris K. from the forum. it installed the os sucessfully. but i couldnt find wifi and bluetooth buttons enabled. so i thought of installing new roms but it gets struck on the one plus logo.. please help me. thanks in advance
avnash09 said:
not even a single reply.. this is not the way to treat a new member thanq
Click to expand...
Click to collapse
Hey you self-entitled prick, transfer a copy of the full ROM onto your phone through adb/USB OTG/MTP and flash it through the stock recovery. If you had previously unlocked your bootloader and have TWRP installed, use that to flash instead. If you do not know what any of the above means, look for it yourself through the forums.
Anova's Origin said:
Hey you self-entitled prick, transfer a copy of the full ROM onto your phone through adb/USB OTG/MTP and flash it through the stock recovery. If you had previously unlocked your bootloader and have TWRP installed, use that to flash instead. If you do not know what any of the above means, look for it yourself through the forums.
Click to expand...
Click to collapse
after flashing the rom i am getting a message decryprtion unsuccessful. the password is correct but the data is corrupt how to bypass this message
avnash09 said:
after flashing the rom i am getting a message decryprtion unsuccessful. the password is correct but the data is corrupt how to bypass this message
Click to expand...
Click to collapse
Get into the stock recovery and wipe both cache and userdata partitions before proceeding to troubleshoot further.
fareed_xtreme said:
Get into the stock recovery and wipe both cache and userdata partitions before proceeding to troubleshoot further.
Click to expand...
Click to collapse
after doing so my OS has started but wifi and bluetooth are greyed out. persist folder cannot find any data
.bt_nv.bin
WCNSS_qcom_wlan_nv.bin
WCNSS_qcom_wlan_nv_calibration_persist.bin
WCNSS_qcom_wlan_nv_regulatory_persist.bin
no file exists .. is the answer i get
avnash09 said:
after doing so my OS has started but wifi and bluetooth are greyed out. persist folder cannot find any data
.bt_nv.bin
WCNSS_qcom_wlan_nv.bin
WCNSS_qcom_wlan_nv_calibration_persist.bin
WCNSS_qcom_wlan_nv_regulatory_persist.bin
no file exists .. is the answer i get
Click to expand...
Click to collapse
Reflash with the MSMtool after re-downloading everything and verifying all downloads first before proceeding. Use the tool I have posted at https://forum.xda-developers.com/oneplus-3t/how-to/guide-official-op3t-stock-reset-to-oos-t3598864
Ensure you verify before starting the flash. Also uninstall or deactivate any anti virus application installed on your PC.
should i change the data partitions and everything to f2fs or other thing. system to ext4 data to f2fs
For now, don't worry about the data partitions. As mentioned above, reflash from MSMTools, verify the downloaded package first, and then check. All your issues are probably caused by a bad file.

Categories

Resources