I modified my system will I still get update? - Redmi 10X / 10X Pro Questions & Answers

Out of frustration of chinese app I deleted them all using file manager and root access. Will I still get update now?

Yes. But, if you apply updates, your changes will be overwriten, obviously.
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4225177/

Related

[Q] Help updating afer unlocking bootloader

Hello guys , I'm sort of a newbie to android rooting and custom Roms and stuff.So I wanted to root my HTC one(international version) , I successfully unlocked my bootloader , after that I didn't flash a custom recovery , I just rebooted . I saw that I had received an ota update , therefore I tried to update my one . After about a few minutes the installation cancelled and it shows a triangle with a red exclamation mark . I have stock Rom but I suspect it's because of unlocking the bootloader , coz unlocking it deletes a few built in apps . So is there any way I can successfully update my one ? Please take note that I'm a *noob* haha
nazeer786 said:
Hello guys , I'm sort of a newbie to android rooting and custom Roms and stuff.So I wanted to root my HTC one(international version) , I successfully unlocked my bootloader , after that I didn't flash a custom recovery , I just rebooted . I saw that I had received an ota update , therefore I tried to update my one . After about a few minutes the installation cancelled and it shows a triangle with a red exclamation mark . I have stock Rom but I suspect it's because of unlocking the bootloader , coz unlocking it deletes a few built in apps . So is there any way I can successfully update my one ? Please take note that I'm a *noob* haha
Click to expand...
Click to collapse
first read this post so you understand how ota update works
Unlocking the bootloader wipe /data partition including preloaded htc app in /data/preload. In some ota updates, these app are patched. If the updater script of the ota can't find these files (or they don't match because they were modified) the ota installation will abort --> red triangle.
Same for the thousand of system files, if some are missing or modified, ota installation will abort.
You need to know which file(s) is causing the ota install to fail. See this post how to find which file is missing or have unexpected content.
then you need to find each missing/modified files and push them to the right location and setting permission correctly (rw-r--r--).
i.e if the updater script reports (from stock recovery):
Code:
check /data/preload/calculator.apk failed, error, No such file or directory ()
calculator.apk is missing
this mean you must find the right calculator.apk for your software version and push it to /data/preload/ and set permission correctly.
i.e if the updater script reports:
Code:
"/data/preload/calculator.apk" has unexpected contents
calculator.apk have unexpected content (corrupted or modified file)
in this case again this mean you must find the right calculator.apk for your software version and push it to /data/preload/ and set permission correctly.
you must do it for all files that are causing the ota installation to fail
or in some cases, it will be simpler just to use a ruu, a guru reset rom or a nandroid backup to restore your phone and then do the ota update.
or you can use a custom rom with latest version.
Thanks alot
alray said:
first read this post so you understand how ota update works
Unlocking the bootloader wipe /data partition including preloaded htc app in /data/preload. In some ota updates, these app are patched. If the updater script of the ota can't find these files (or they don't match because they were modified) the ota installation will abort --> red triangle.
Same for the thousand of system files, if some are missing or modified, ota installation will abort.
You need to know which file(s) is causing the ota install to fail. See this post how to find which file is missing or have unexpected content.
then you need to find each missing/modified files and push them to the right location and setting permission correctly (rw-r--r--).
i.e if the updater script reports (from stock recovery):
Code:
check /data/preload/calculator.apk failed, error, No such file or directory ()
calculator.apk is missing
this mean you must find the right calculator.apk for your software version and push it to /data/preload/ and set permission correctly.
i.e if the updater script reports:
Code:
"/data/preload/calculator.apk" has unexpected contents
calculator.apk have unexpected content (corrupted or modified file)
in this case again this mean you must find the right calculator.apk for your software version and push it to /data/preload/ and set permission correctly.
you must do it for all files that are causing the ota installation to fail
or in some cases, it will be simpler just to use a ruu, a guru reset rom or a nandroid backup to restore your phone and then do the ota update.
or you can use a custom rom with latest version.
Click to expand...
Click to collapse
Thank you , I will look at the options above , I just have one more question , I read somewhere that ota's are most of the time just patch files , so is it possible that probably later on there is a whole new system update , not patches , if that's the case then I suppose the ota will not look for any modifications as it will simply just install the new version ?
nazeer786 said:
Thank you , I will look at the options above , I just have one more question , I read somewhere that ota's are most of the time just patch files , so is it possible that probably later on there is a whole new system update , not patches , if that's the case then I suppose the ota will not look for any modifications as it will simply just install the new version ?
Click to expand...
Click to collapse
ota updates always patch existing files. If you want to do a full installation, you might want to use a RUU.
nazeer786 said:
Hello guys , I'm sort of a newbie to android rooting and custom Roms and stuff.So I wanted to root my HTC one(international version) , I successfully unlocked my bootloader , after that I didn't flash a custom recovery , I just rebooted . I saw that I had received an ota update , therefore I tried to update my one . After about a few minutes the installation cancelled and it shows a triangle with a red exclamation mark . I have stock Rom but I suspect it's because of unlocking the bootloader , coz unlocking it deletes a few built in apps . So is there any way I can successfully update my one ? Please take note that I'm a *noob* haha
Click to expand...
Click to collapse
Try this stock Rom http://forum.xda-developers.com/showthread.php?p=53773615#post53773615
Thanks for this , I will try this Rom out , but first I will have to install a custom recovery
Sent from my HTC One using XDA Free mobile app
nazeer786 said:
Thanks for this , I will try this Rom out , but first I will have to install a custom recovery
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
if you choose to flash a rom, I recommend you to use twrp recovery version 2.6.3.3. older version don't work with newer rom, and newer version of twrp have some bugs, so better to use 2.6.3.3

Problem in ota-update after installing kingroot

Hi all ,
This problem is facing very one how install kingroot and made his/her device rooted with kingroot , the root is done will , but after Root we can receive ota updates but when we download and install the ota update a problem found :
Unexpected error : install-recovary.sh status 7
I have trying to make full un-root by kingroot , or superus and nothing fixed until now !!!
Some people told me that you must install stock-rom !?
But why stock-rom if there is better and easy solution ?
I need your help developers I guess this problem not hard one for you ^_^ .
So who is the hero that's will save the day
Thanks.
As I've told you, you need the stock install-recovery.sh for your device (LUZ17x or LUZ59x?)
Everything else it way too complicated! (You will need an unlocked Bootloader, modded stock-recovery or TWRP, patched updater-script, etc...)
But it seems, nobody here is willing to pull the file (or even better a stock system.img) from their device.
I forgot to pull a system.img before rooting, so I can't help.
Seems, that there is unfortunately no real active community in Thailand or Turkey (apart from the language barrier), when it comes to these devices.
At least until now.
update
theeteempire said:
Hi all ,
This problem is facing very one how install kingroot and made his/her device rooted with kingroot , the root is done will , but after Root we can receive ota updates but when we download and install the ota update a problem found :
Unexpected error : install-recovary.sh status 7
I have trying to make full un-root by kingroot , or superus and nothing fixed until now !!!
Some people told me that you must install stock-rom !?
But why stock-rom if there is better and easy solution ?
I need your help developers I guess this problem not hard one for you ^_^ .
So who is the hero that's will save the day
Thanks.
Click to expand...
Click to collapse
if you want update then why u rooted your device? this is the basic thing you have to keep in mind before root you device that you cant install OTA if your device is rooted or any thing is changed into the system(i.e. cant be done without root).
The people telling you about installing stock rom, is the best and last solution according to me... search the net you will surely find the stock rom and its procedure to install as well...
Best of luck with searching and flashing the stock rom:good:
sagar27691 said:
if you want update then why u rooted your device? this is the basic thing you have to keep in mind before root you device that you cant install OTA if your device is rooted or any thing is changed into the system(i.e. cant be done without root).
The people telling you about installing stock rom, is the best and last solution according to me... search the net you will surely find the stock rom and its procedure to install as well...
Best of luck with searching and flashing the stock rom:good:
Click to expand...
Click to collapse
I think that un-root will solve this problem with out need to make stock-rom
vel_tins said:
As I've told you, you need the stock install-recovery.sh for your device (LUZ17x or LUZ59x?)
Everything else it way too complicated! (You will need an unlocked Bootloader, modded stock-recovery or TWRP, patched updater-script, etc...)
But it seems, nobody here is willing to pull the file (or even better a stock system.img) from their device.
I forgot to pull a system.img before rooting, so I can't help.
Seems, that there is unfortunately no real active community in Thailand or Turkey (apart from the language barrier), when it comes to these devices.
At least until now.
Click to expand...
Click to collapse
I need stock " install-recovary.sh for LUZ17E ". But no one help me to do that , I think there is no real developers here in second generation
theeteempire said:
I think that un-root will solve this problem with out need to make stock-rom
Click to expand...
Click to collapse
If you don't have a backup of that file (either made by yourself or the rooting software you have used), then 'unrooting' cannot help. That file is gone.
I went through @Sadronis's LUZ17E rom dump, extracted install-recovery.sh and attached it for you. But next time, please remember to backup the original file before rooting since especially for non-Nexus devices, stock ROMs (and thus files inside them) are not easy to find.
pawitp said:
If you don't have a backup of that file (either made by yourself or the rooting software you have used), then 'unrooting' cannot help. That file is gone.
I went through @Sadronis's LUZ17E rom dump, extracted install-recovery.sh and attached it for you. But next time, please remember to backup the original file before rooting since especially for non-Nexus devices, stock ROMs (and thus files inside them) are not easy to find.
Click to expand...
Click to collapse
Thank you man.
I can't replace the file or. Overwrite it , I have the root for my device but I can do nothing do you know why ?
theeteempire said:
Thank you man.
I can do nothing do you know why ?
Click to expand...
Click to collapse
Yes, you have to mount /system as "rw", for example:
Code:
adb remount
vel_tins said:
Yes, you have to mount /system as "rw", for example:
Code:
adb remount
Click to expand...
Click to collapse
Thank youuuuuuuuuu you help me a lot man
It's all done good .
I wanna ask you the stok rom that shared in this forum , can it be updated normally or not ?
First of all king root did not support on mine tablet but after a week ,i install 4.6 version of kingroot and it work but after a day when i want to update mine tablet galaxy 4 10.1 with ota ,it seem that the operating system of your device has been ........try to connect pc and etc.please help me ,i try lots of things like wipe cage, re factory etc others but now please help me without using pc.

system update fail (manual update ww16.0631.1908.12-1.1.3)

I've tried to manual update by download the update file from asus and place it in my internal storage. The system detect the update file but it fails.
Do any of you have solutions? Before this i update to ww-1907.33 by reboot to bootloader, connect to pc, the run "flashall_AFT". Now i don't know how to update my device. Is there any way that i can update without root (use magisk) and unroot my device?
:crying::crying::crying:
asri009 said:
I've tried to manual update by download the update file from asus and place it in my internal storage. The system detect the update file but it fails.
Do any of you have solutions? Before this i update to ww-1907.33 by reboot to bootloader, connect to pc, the run "flashall_AFT". Now i don't know how to update my device. Is there any way that i can update without root (use magisk) and unroot my device?
Click to expand...
Click to collapse
After running flashall... Did you change the fingerprint to WW? Easy way to check is by installing device info hw from the play store. Under system it might say that your product id and fingerprint are still CN
You have to migrate your ROM to full WW including product ID on system factory, otherwise the update will never work.. Search on this forum, somebody already posted how to do it.
Your rom is set to WW but your fingerprint is still set to CN so the update won't work. There is a guide to properly flash over from CN to WW, covering how to change fingerprint as well.
i have issue
just 10% then failed when update android 10 beta 2 from beta 1
and now i can't update beta 3 or 4 with out updating 1st beta 2
mine is WW not CN as shown
https://files.fm/u/2qscv82v#/view/WhatsApp+Image+2020-01-20+at+2.27.31+PM.jpeg
any help would be appreciated
Everything on my device is showing WW in device info but after renaming I got update failed

Bootloader lock or hide

Hi,
I hope somebody can give me a hint.
I just got a used p20 pro with open bootloader but stock rom.
Unfortunately the Google security check has some "problems" with this situation and doesn't allow me to use several apps like Netflix, Google pay, etc.
So I'm looking for a way to easily fix this problem, the phone will be used by my parents.
Either lock the bootloader or "hide" it probably.
But how - I don't have the bootloader code - and I'm not too much into android rooting...
Usefull hints are appreciated.
Merry xmas
Mounty
You're on thin ice my pedigree chum..
Avoid flashing anything that would allow a block of any kind which is an absolute reality.
Having used absolutely every ROM and OS from 8.1 to 10
My advice. Flash AOSIP and then ask in thread to get safety net working.
Literally nothing else it worth your time.
Unless you're strange and like EMUI.
In such case, stuck with stock.
Just be aware you're in a position that a lot of people would kill for.
Google have done some **** stuff to make people who have unlocked bootloader a nightmare. I don't think there is a way to hide it unless you use Magisk
mounty77 said:
the phone will be used by my parents.
Click to expand...
Click to collapse
If they are not some kind of advanced users, unlocked bootloader has exactly 0 added value for them. Search the forum for flushing methods, the ones that will warn you that this method re-locks the bootloader, flush the latest stock ROM for your region and live a happy and calm life.
As a suggestion.. Use Magisk with Safety patch and you're done. You can keep the bootloader unlocked and still bypass google restrictions. (Install apps like netflix, etc.)
My phone is on 9.0.1.328 and works fine.
Horayken said:
As a suggestion.. Use Magisk with Safety patch and you're done. You can keep the bootloader unlocked and still bypass google restrictions. (Install apps like netflix, etc.)
My phone is on 9.0.1.328 and works fine.
Click to expand...
Click to collapse
Hi,
Thx so far, I think I'll try the magisk thing.
Are there any downsides on this? Will Ota updates still work?
I already downloaded and installed magisk manager, but I was not able to install magisk via magisk manager.
I downloaded the zip file and tried to install it.
But I only got the attached error.
I think I have to patch something?!
Any advise?
Thx
Mounty
mounty77 said:
Hi,
Thx so far, I think I'll try the magisk thing.
Are there any downsides on this? Will Ota updates still work?
I already downloaded and installed magisk manager, but I was not able to install magisk via magisk manager.
I downloaded the zip file and tried to install it.
But I only got the attached error.
I think I have to patch something?!
Any advise?
Thx
Mounty
Click to expand...
Click to collapse
You need to patch the ramdisk recovery file with magisk, flash it and you are good to go. It's a 5 min procedure. Let me know if you need more help with that.
This way you will hide your unlocked bootloader and you will pass safetynet.
Only downside is that if there is an ota update you will need to flash the original ramdisk recovery, do the ota and then do ramdisk recovery file patch again.
If you lock the bootloader then you won't be able to unlock it again as you won't have the code (unless you got the code from the previous owner too).
abyssq said:
You need to patch the ramdisk recovery file with magisk, flash it and you are good to go. It's a 5 min procedure. Let me know if you need more help with that.
This way you will hide your unlocked bootloader and you will pass safetynet.
Only downside is that if there is an ota update you will need to flash the original ramdisk recovery, do the ota and then do ramdisk recovery file patch again.
If you lock the bootloader then you won't be able to unlock it again as you won't have the code (unless you got the code from the previous owner too).
Click to expand...
Click to collapse
Hi,
thx for your offer/advise. I’ll try this way - it sounds most promising to me.
Can I do this on the mobile only, or do I need a pc?
Where / How do I find the ramdisk recovery?
BL Lock
I can lock (yes, lock) your bootloader for free.
Contact me at Telegram (@AntiEngineer), you don't need to open up your device.
abyssq said:
You need to patch the ramdisk recovery file with magisk, flash it and you are good to go. It's a 5 min procedure. Let me know if you need more help with that.
This way you will hide your unlocked bootloader and you will pass safetynet.
Only downside is that if there is an ota update you will need to flash the original ramdisk recovery, do the ota and then do ramdisk recovery file patch again.
If you lock the bootloader then you won't be able to unlock it again as you won't have the code (unless you got the code from the previous owner too).
Click to expand...
Click to collapse
Hi,
unfortionatly I wasn´t sucessfull till now.
At https://openkirin.net/ is a very usefull description availaible but I´m still searching for the RAMDISK Extract. I found that database where you can donwload several versions, but mine wasn´t provided there
https://pro-teammt.ru/en/online-firmware-database/
My Version is:
CLT-L29
10.0.0.138 (C432E3R1P3log)
Anybody knows where I can download that`?
Best regards
mounty
@mounty77
You are on Android 10 Beta?
Root on Android 10 Beta not working for me.
You are on Android 10 Beta?
Root on Android 10 Beta not working for me.
Click to expand...
Click to collapse
No Root, just unlocked bootloader... I want to hide the unlock of the bootloader
mounty77 said:
No Root, just unlocked bootloader... I want to hide the unlock of the bootloader
Click to expand...
Click to collapse
Installing a "RECOVERY_RAMDIS.img" patched with Magisk is rooting the phone.
I´m fine if i have to root it to hide the open bootloader

"System update failed" No matter which update file/name (android 9 or 10)

Can someone help me please? I have tried so many different files and so many different file names but no matter what, I get an instant "system update failed" message when i click ok selecting the update. I have tried files here in xda and every A9toA10 update file I could find on Telegram, with every combination of file names, but no luck. I always get the same message. I also tried the official update of the same version (A9) nothing.
I did RAW firmware (1910.64) relocking bootloader, wiping before and after bootloader relock, still nothing.
I am currently at 1910.64, completely stock, bootloader locked (no warning on boot), no google account or patern required, not even connected to wifi, I STILL get the update failed message.
What am I missing guys? Is there a specific file I should be using? Everyone seems to be updating successfully, except me...
I don't care its a beta, I just need Android 10 for the global dark mode and the not-broken notifications of 9s doze.
palamosteliaro said:
Can someone help me please? I have tried so many different files and so many different file names but no matter what, I get an instant "system update failed" message when i click ok selecting the update. I have tried files here in xda and every A9toA10 update file I could find on Telegram, with every combination of file names, but no luck. I always get the same message. I also tried the official update of the same version (A9) nothing.
I did RAW firmware (1910.64) relocking bootloader, wiping before and after bootloader relock, still nothing.
I am currently at 1910.64, completely stock, bootloader locked (no warning on boot), no google account or patern required, not even connected to wifi, I STILL get the update failed message.
What am I missing guys? Is there a specific file I should be using? Everyone seems to be updating successfully, except me...
I don't care its a beta, I just need Android 10 for the global dark mode and the not-broken notifications of 9s doze.
Click to expand...
Click to collapse
Did you change the fingerprint?
reg66 said:
Did you change the fingerprint?
Click to expand...
Click to collapse
No I didn't touch that. Compared to the S10+ the fingerprint is much better on the ROG so I didn't feel the need to.
I found the solution so for anyone in the same position with me:
You will need to be rooted at the latest Pie version of RAW WW rom.
If your phone is Tencent (like mine) you can't do OTA updates of WW versions and thats why I was getting the error message. You need to change the /vendor/factory/COUNTRY file from CN to WW. Use root explorer and its build-in text editor to open the file and change CN to WW. Reboot now.
The OTA update will still not start if you have rooted boot.img BUT magisk won't also flash the OTA update if you dont have rooted boot.img!
So you need to press "uninstall" at the bottom of the magisk manager and "restore images" at the prompt. This will restore the stock image, but still give you the ability to patch the OTA update and still have root when u update to 10. I thought just to fastboot the stock boot.img but nope! magisk wont patch the OTA if you boot with stock boot.img.
When you will press "restore images" you will get a message that a stock backup is not present and after some researching, I found out that the backups are expected to be in "/data/" with the filename: "stock_boot_SHA1.img.gz" so you need to gzip your stock image, generate its sha1 code and put it in the file name. I used 7zip for gziping and hashmyfiles to generate the SHA1. If you don't have the stock image, you can extract it from the official firmware's (asus website) payload.bin file using payload_dumper-win64"
After you get the "backup" gzip of your stock boot.img with the correct filename (including the sha1) you place it inside the "/data/" folder with root explorer (not "data/data/" just "/data") and you can now "uninstall" and "restore images" from the magisk.
When that is complete, copy the OTA .zip file of Android 10, disconnecting the usb cable from ur pc should trigger the notification that an update is present. Start the update, when it reaches 100% it will ask you to reboot. Select "later" and go back to magisk, select install and "install to inactive slot (after ota)" and restart when that finishes.
You should boot back to Android 10 and have magisk and root at this point.
Hardest rooting I have ever done, google really f'ed us with android 10 "security". I miss the good old days we were just flashing 1 file in fastboot and we had root+twrp+hapiness...
Good Luck to anyone trying.
palamosteliaro said:
No I didn't touch that. Compared to the S10+ the fingerprint is much better on the ROG so I didn't feel the need to.
If your phone is Tencent (like mine) you can't do OTA updates of WW versions and thats why I was getting the error message. You need to change the /vendor/factory/COUNTRY file from CN to WW. Use root explorer and its build-in text editor to open the file and change CN to WW. Reboot now.
Good Luck to anyone trying.
Click to expand...
Click to collapse
I dont see the COUNTRY file in factory folder- tried using root browser and root explorer but stil dont see the file..
can you provide me file mention?
jimdorky said:
I dont see the COUNTRY file in factory folder- tried using root browser and root explorer but stil dont see the file..
can you provide me file mention?
Click to expand...
Click to collapse
Are you sure you are looking at the right folder? I believe its a mandatory file, but I am not sure. Maybe if you don't have it is for the better even. When you do factory reset, in what language is the setup? Before I edited that file mine was in chinese, but after editing its english.
Anyway, I have included a screenshot of the rest of the files inside /vendor/factory so u can check if you look in the right place.
I also uploaded the country file here DELETE THE .TXT extension, I put it so I could upload it here.
palamosteliaro said:
No I didn't touch that. Compared to the S10+ the fingerprint is much better on the ROG so I didn't feel the need to.
I found the solution so for anyone in the same position with me:
You will need to be rooted at the latest Pie version of RAW WW rom.
If your phone is Tencent (like mine) you can't do OTA updates of WW versions and thats why I was getting the error message. You need to change the /vendor/factory/COUNTRY file from CN to WW. Use root explorer and its build-in text editor to open the file and change CN to WW. Reboot now.
Click to expand...
Click to collapse
Yep, that's what i meant about the fingerprint - the CN to WW change of device fingerprint, not the actual fingerprint reader!! Glad you got it working ...
reg66 said:
Yep, that's what i meant about the fingerprint - the CN to WW change of device fingerprint, not the actual fingerprint reader!! Glad you got it working ...
Click to expand...
Click to collapse
lol I am such a noob! I was reading around about changing the fingerprint and I thought the WW version had better fingerprint recognition and everyone was switching...
palamosteliaro said:
lol I am such a noob! I was reading around about changing the fingerprint and I thought the WW version had better fingerprint recognition and everyone was switching...
Click to expand...
Click to collapse
No worries dude, I thought it at first too!
I have the same problem i have the tencent edition and the update i have is WW 1910.44_0 and i tried to update the firmware to the new one that i downloaded from asus website it says system update falied?? can someone help
AssyrianHero said:
I have the same problem i have the tencent edition and the update i have is WW 1910.44_0 and i tried to update the firmware to the new one that i downloaded from asus website it says system update falied?? can someone help
Click to expand...
Click to collapse
did you get it sorted yet. im in the same boat. confused as hell

Categories

Resources