[Xperia Pro MK16i] Several questions about firmware, OTA update and customization - Sony Ericsson Xperia Neo, Pro

Hi everybody
I own an Xperia Pro MK16i. The phone is still on stock ROM (4.0.2.A.0.58 GB 2.3.4) and the bootloader is still locked. The only thing I did recently is root the phone successfully with eRoot.
Now, the phone still gets the OTA updates, right now it does notify me that the "new" update 4.0.2.A.0.62 (the latest GB release available for my phone) is ready to download. I would like to install this update in order to try it and only after eventually switch for ICS 4.0.4 (4.1.B.0.587 is the latest).
I was wondering myself:
1) Is there any way to backup the OTA update in order to save and store it for the future? I red that OTA update files end up in the /cache folder and thank to root access I managed to open that folder and see that as soon as I download the OTA update a download_package.bin is created inside the folder; the problem is that the file is less than 8MB and it's a BIN file. What this file is for and is there any way to make use of it? The only thing I know is that it's too small to be the real firmware/rom...right?
2) Is there any chance for me to get somewhere the 4.0.2.A.0.62 stock rom with the proper customization number? My phone is unbranded and purchased in Italy where I live, customization version is: 1249-7782_R12D
3) What does this customization mean? Is it about language? About preinstalled apps? Or what? Someone could clear me the whole thing please?
Many thanks

goriath said:
1) Is there any way to backup the OTA update in order to save and store it for the future? I red that OTA update files end up in the /cache folder and thank to root access I managed to open that folder and see that as soon as I download the OTA update a download_package.bin is created inside the folder; the problem is that the file is less than 8MB and it's a BIN file. What this file is for and is there any way to make use of it? The only thing I know is that it's too small to be the real firmware/rom...right?
Click to expand...
Click to collapse
OK, I digged around about this point and just for reference I share what I found.
The main problem with OTA updates is these packages are binary DELTA packages; they are not the full ROM/FW release, but they contain only the differences between the source ROM (the firmware installed in the phone) and the target ROM (the updated firmware you want to install in the phone).
I took a look inside the BIN file with an HEX editor and what I found confirm the dependance between the update and the stock ROM:
<?xml version="1.0" encoding="ISO-8859-1"?>
<metadata version="3.2">
<product>
<manufacturer>SonyEricsson</manufacturer>
<model>MK16i</model>
<hwplatform>MSM7x30/8x55</hwplatform>
</product>
<update>
<generation>
<version>2.0.0.24</version>
<date>2012-02-01T11:01:38+01:00</date>
<rb_version>6.2.29.19</rb_version>
<rb_ua_version>6.2.29.19</rb_ua_version>
</generation>
<source>
<software>
<revision>4.0.2.A.0.58</revision>
</software>
<customization>
<variant>1249-7782</variant>
<revision>R12D</revision>
</customization>
</source>
<target>
<software>
<revision>4.0.2.A.0.62</revision>
</software>
<customization>
<variant>1249-7782</variant>
<revision>R12D</revision>
</customization>
</target>
</update>
</metadata>
This explains why my download_package.bin is large only 7.55MB; it does update (add/replace files to) the actual ROM. And this is the reason why updates through OTA are sequentials; I cannot install latest GB OTA update w/o go through every previous update first.
So this binary package alone is not useful to create a full ROM of any sort, cannot be flashed as is and cannot be extracted/unpacked/decrypted unless to be a developer and doing reverse engineering.

Related

[PSA] NO OTAs!! | Keep Root/Unlock | How-To: Block OTA, DL SW/FW, Update Manually

Manual Updating: How-To Preserve Root Access and Bootloader Unlock!
update... as of Nov 10 2014:
Official Lollipop for D855 and F400 has come out... following my instructions here you can still get bump'd - http://forum.xda-developers.com/showpost.php?p=56650179&postcount=59
So far, no anti-rollback in sight but I would still be careful of future updates.. and all other G3 devices models should be careful before taking an OTA (AT&T/Verizon... maybe).
Follow the steps above and you will ALWAYS have access to root/bump and flash anything you want.
​This thread assumes you are already rooted, have TWRP installed and can read English.
If you have those 3 covered the rest is EASY as long as you read.
If you are unsure of any terms used in this post please search XDA/Google instead of asking in here.
Background
I'll get this out of the way right now... if you do not care about having access to Bump or root you can ignore all of this and continue to take LG's OTA updates. One could argue that taking OTA updates is required to maintain any level of safety/security... but that goes out the window once you start rooting and installing recovery/roms anyway. Regardless, I am not telling anyone not to update. But if you do update... do it manually. As of Oct 18 2014, every single G3 variant has root and bootloader unlock.. either out of the box(D851) or thanks to Bump. There is no need to ever take an OTA from here on out. The latest D855 and F400 OTA updates have blocked TowelRoot, IORoot and even Stump.. pretty sure only PurpleDrake works on them for now... I would expect PurpleDrake to be patched soon enough. And with official Lollipop updates coming root will only get harder. But.. as long as we install everything through TWRP manually we can update while keeping root/unlock/Bump.
Yes, we can downgrade using LG FlashTool but that could be blocked at any time with an OTA update to prevent rollback(Samsung does this).
Yes, it's possible to complete an OTA upgrade and maintain root but there is no way to know for sure if root will stick. And the OTA is upgrading the bootloader. Why gamble? This post is just a suggestion on how to stay updated without locking yourself out of anything... but it's not a rule. Just one of many options you can take. But if you do lose root or bootloader unlock after an OTA... don't go asking any devs when then next root tool is coming out or if there's a magical way to downgrade the bootloader. ​Overview
With all that said... now that we're all rooted and unlocked I decided to make a thread on how to:
1. Block OTA updates and remove OTA packages and that annoying notification. Easy!
2. Download updates manually.. no OTA zip needed. Easy!
3. Manually flash updates without losing root or Bump. Easy!
Most of us have access to the same files found in the latest OTA.. either with a .KDZ or .TOT(Sprint and AT&T refuse to release KDZ files..it seems they would prefer you to not be ale to fix the phone yourself). We can extract the individual partition files from a KDZ/TOT and easily flash them through TWRP. ATT/Sprint users will need leaked TOT files... or something like a pre-patched System.img/Boot.img/Modem.img from a user who has run a modified OTA update... yet managed to keep/regain root. More on that possibly in the future.
The main things we want out of a new OTA update:
A. Radio/Modem.img - although newer isn't always better
B. Kernel/Boot.img - this is often where root is blocked in new updates. But update manually and it no longer matters since we can root system through TWRP.
C. Rom/System.img - this is where most of the "fixes" in updates happen.. and what most people want from an OTA.
D. *Optional: Bootloader stack/Aboot.img,SBL1.img, DBI.img, LAF.img, RPM.img, TZ.img - this is where downgrading and Bump could be blocked. Avoid updating for now unless you are 110% sure you know what you're doing.​How-To Block and Remove OTA Updates
If you are flashing custom roms in TWRP.. I'd expect OTA updates to already be removed. If you get an OTA update while running a custom flashable rom be sure to ask the dev why he can't make a proper custom rom that keeps you safe from OTA updates.
Block
Open LG Hidden Menu (3845#*851#) --> WLAN Test --> OTA Setting --> Disable
*Replace "851" with your devices model number, 850, 852, 855 etc.
This seems to only work on D851, D851 and D855 versions (possibly D857/8/9 and F400). AT&T, Verizon and Sprint users have reported the Hidden Menu method does not work. If you have one of those devices you can use a RootExplorer-type app to find the OTA related APK and rename the file to ____.apk.bak or use Titanium Backup to freeze it. If using Titanium Backup look for com.lge.lgfota.permission, OTA or System Update and freeze it. If looking for apk and odex file to rename.. search for OTA or FOTA or LGDMSClient.. etc
If you see an "Apps update" that just might be the "LG Apps" and not a firmware update. Updating LG apps is safe.. firmware is not (if you want to be able to maintain root/mods).
Remove OTA Update(and notification)
If an OTA notification is on your device you most likely already have the OTA file on your phone. If rooted, you can remove the OTA files and get rid of that annoying notification.
Updates are found in the /cache/ folder on your phone. Using a RootExplorer-type app(or ES File Explorer) browse to the root of your phone(NOT the root of your internal storage, /sdcard/, but the actual phone). If using ES File Explorer you may have to use the "show hidden files" option and grant the app root. You will see the update .zip file in cache if you did everything correctly. If no one has already uploaded the OTA zip.. copy the update to your sdcard and then upload for everyone else. Now delete the zip file from /cache/.
Deleting the file in /cache/ will get rid of the OTA but will not get rid of the notification. To get rid of notification:
1. Pull the notification shade down on your phone
2. Long press on the OTA notification until you see the App Info option pop up.
3. Click App Info and uncheck the Show Notifications box.
​How-To Download Updates and Extract KDZ/TOT Files
1. Easiest way to obtain updates would be to look in this around XDA in your proper subforum for an update already posted by someone else. With Bump, many flashable rom zips will be popping up. Roms usually contain "system" and "boot"... which are two of the three things we generally want from an update. The third being the modem.. which is never included in a flashable rom and often not required to be updated. If you want the updated modem you will have to look around for the file or use the steps below to get it yourself.
2. If there is a new OTA update, no one has already posted the updated flashable files and you can't wait any longer... it is time to take matters into your own hands. Instead of giving in and taking the official OTA or begging others for help.. download the updated KDZ for your device yourself. And NO, we will NOT be not flashing the full KDZ.. we are just taking some files from it.
You can get your devices KDZ by visiting THIS LINK and entering in your MEID or IMEI.. it will give you a link to the latest available KDZ from LG. Sometimes KDZ files take a few days to show up after the OTA.. give it a little time. Do not beg in thread for KDZ files. Help yourself or wait for someone to post the files you were looking for.
It is encouraged to share not only KDZ and TOT files... but the extracted System/Boot/Modem images you extract from them as well. Only one person needs to download a KDZ per DeviceVariant/SoftwareVersion... that person can then share and everyone else just downloads from their link. You no longer have to be a "rom dev" of even know how to make a flashable zip to help share updates with others.
Anyway... to extract these partitions after downloading the KDZ/tot you can check out the following posts for scripts/tools to make things easy:
a. CLICK HERE [Tool][python] LG Compressed KDZ Extractor - by thecubed Script to extract partitions from KDZ.
b. CLICK HERE SystemMerger.py - by cybojenix Script to merge split system files from extracted KDZ.
c. CLICK HERE [TOOL]LG Bin Firmware Extractor - by xonar_ Script to extract TOT files and merge system.img's into one.
d. CLICK HERE [TOOL] KDZ and TOT Extractor - by bullghost Windows tool, adds all features of the scripts above with an easy to use UI.
invisiblek has updated xonar_'s LGBinExtractor to work with some more G3 devices - https://github.com/invisiblek/LGBinExtractor
If you have a question about an extraction tool be sure to read everything in the 4 threads. Post in the above threads if your question is still unanswered. Between the 5 extraction links above you can extract any G3 KDZ/TOT on Linux, OSX or Windows.
And remember, the main partitions we want from the TOT or KDZ: modem, boot and system.
Alternatively you can extract the KDZ directly on your phone -- click HERE.
Since more than a few people are having issues manually extracting... I will show an example that came from this thread and how to correct it:
KDZFileTools.py -f D85510L_00.kdz -x
[!] Error: Unsupported KDZ file format.
[ ] Expected: 0x28 0x5 0x0 0x0 0x34 0x31 0x25 0x80 ,
but received 0x28 0x5 0x0 0x0 0x24 0x38 0x22 0x25
Two things wrong here... first, the command is incorrect. when using the KDZFileTools.py "-x" is not used.. you want "-s 0" to extract the DZ.
Example:
Code:
python KDZFileTools.py -f D85510L_00.kdz -s 0
The second error is the "Expected.. but received" message. To fix this just open the .py script up in a proper text editor(notepad++ on windows for example).. find "x28x05x00x00x34x31x25x80" in the script...
replace it with "x28x05x00x00x24x38x22x25" (or whatever string is given after the "but received" output.. use logic) then save script.
rerun script. DZ will now extract into the "kdzextracted" folder. Once that finishes extracting you can use the Windows GUI tool to extract the .DZ file into individual partitions (and merge system). Or you can continue using the manual script methods.
To manually extract the DZ you're going to now use the DZFileTools.py script to split the DZ file (that's in the kdzextracted folder) into individual partitions.
Example:
Code:
python DZFileTools.py -f kdzextracted/D85510l_00.dz -x
that command will extract all your partitions into the dzextracted folder. Now drop the SystemMerger.py - by cybojenix file linked above into the dzextracted folder.. cd into the dzextracted folder and run that script to merge all the split system partitions into one system file.
Code:
python SystemMerger.py
All done.. you now have the boot, modem and full system.img to flash on your phone (along with every other partitions that comes with a kdz). :good:
3. Other methods for obtaining updated files would be grabbing the OTA update zip from the /cache folder and trying to pull files out of that.. or having an "in" and getting some leaked files or TOT. Sprint and AT&T users would benefit most from a leaked updated TOT.
​Where-To Download KDZ Files
In this section I want to start a collection of all the latest KDZ files for all G3 devices.
You can help me out by either posting your KDZ link with FULL info about the KDZ/DEVICE..
Example of a helpful post:
derp said:
Hi, here is my model info and kdz url below...
LGD855
A6NEWH
D85510L_00
16GB
http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW978806432109876543213/D85510L_00.kdz
Click to expand...
Click to collapse
OR you can PM/Private Message me your IMEI so I can look up all the models and latest KDZ's myself. This would help me the most but I understand the security concern. If security is an issue.. you could leave the last 3 digits off the end so I dont have your exact #. If you trust me.. please consider sending me your IMEI if you own one of the devices I need listed below...
KDZ Links Below
Team Codefire had to come through once again and supply TOT files to the USA carriers that provide no public KDZ (AT&T, Sprint, Verizon)
AS985 (USA Regional) - NEED IMEI
D850 (USA AT&T) - 10D TOT (AT&T has no public KDZ files. Feel free to complain to them.)
D850PR (Puerto Rico Claro) - NEED IMEI
D851 (USA T-Mobile) - 10M KDZ
D852 (Canada) - NEED IMEI for D852 Bell, D852 Rogers and D852G
D855 (Europe) - 10L Netherlands 16GB | 10L Germany 16GB NEED MORE IMEIS
D855AR (Argentina) - NEED IMEI
D855K (Australia) - NEED IMEI
D855P (Brazil / Mexico) - NEED IMEI
D855TR (Turkey) - NEED IMEI
D857 (China) - 10C KDZ NEED IMEI STILL
D858 (China / Hong Kong) - NEED IMEI D858 and D858HK
D859 (China) - NEED IMEI
F400 (Korea)- F400L 20E,
LS990 (USA Sprint) - ZV4 TOT (Sprint has no public KDZ files. Feel free to complain to them.)
US990 (USA US Cellular) - 10C KDZ
VS985 (USA Verizon) - 12B​
Click to expand...
Click to collapse
​How-To Manually Flash/Update Device w/ System.img, Boot.img and Modem.img
1. You downloaded a custom rom flashable zip a rom has made for the community. Roms contain "system" and "boot"
Flash these in TWRP and follow any instructions in the thread/post where you downloaded it. Rom questions belong in those specific rom threads.
You may have to wipe data/factory reset in TWRP, depending on rom.. or you may need to flash a gapps zip if using an aosp-type rom.. etc..
There's no need to worry about OTA's using this route. Proper custom roms will never include the bootloader stack or anything that could remove your bootloader unlock. And just about all custom roms come with a pre-rooted "system" so you don't have to worry about root either. Remember to make a backup in TWRP before flashing anything.
2. You obtained some boot.img,modem.img,system.img files... either extracting from TOT/KDZ yourself or downloaded files another XDA member has uploaded. This method is something you can do all by yourself... no help from a dev needed. To make this method just as easy as flashing a custom rom zip in method #1.. I have made 3 flashable zip files - [Flash2System.zip, Flash2Boot.zip and Flash2Modem.zip]
Download them to your phone using the link below then follow the directions that follow...
DOWNLOAD FLASH2 FILES FROM CODEFIRE HERE
A. Make a new folder on your internal sdcard called: flash2
B. Download and place Flash2System.zip, Flash2Boot.zip and Flash2Modem.zip on your phone. Internal/external sdcard.
C. Stick system.img, boot.img and modem.img into the /sdcard/flash2/ folder. Files must be named system.img, boot.img and modem.img
D. Create backup's in TWRP.
E. In TWRP, flash Flash2System.zip and/or Flash2Boot.zip and/or Flash2Modem.zip to install your updated images.
F. If you have flashed a stock system.img you will need root. After the flash completes press Reboot System and TWRP will ask if you want root. Go thru the process in TWRP then reboot. After booting you may have a notification to finalize root. Few more clicks and you're rooted... it's that easy. No more worrying if root is patched in the latest OTA update... or having to undo everything you changed in stock so that the OTA doesn't brick you.
Flash2*.zip didn't work? Make sure your system/boot/modem.img files are in the /sdcard/flash2/ folder. Internal sdcard!
​How-To Properly Share KDZ/TOT and other Update Files
If you have a new KDZ or have already extracted the KDZ.. please share it with the rest of us in this thread! Please post the KDZ link along with the exact model, region software version and size. Example: D855 Germany 10L 16GB KDZ.
If you want to share your extracted system.img, boot.img and modem.img files please upload them somewhere and share the link. Please specify if you would like others to mirror your files or not (if hosting them on personal server).
Please label all shared files properly! Name them appropriately with boot, modem or system in the name.. as well as the FULL model and software version. Entering my IMEI into the KDZ generator from the last section I can see my device info such as: LGD851TN and D85110M_00. Exact models and software versions are important so other users know which files they need to flash and which to avoid. You should only flash files for your exact device variant. An example name based on my info above: LGD851TN_10M_00_Boot.img (this can be renamed later to boot.img once downloaded or placed on sdcard).
​
Click to expand...
Click to collapse
More G3 Flash2 Threads:
[FIX] Stuck in Custom Recovery [TWRP/CWM] (After trying OTA)
[EFS] LG G3 EFS Backup and Restore
XDA:DevDB Information
Flash2, Tool/Utility for the LG G3
Contributors
autoprime
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-18
Last Updated 2014-12-11
Reserved
Nice. On the LS990 (Sprint), it appears that the APK responsible for OTA is titled "com.lge.lgfota.permission" version 4.4.2-LS990ZV41403169216
If I'm looking at the wrong app, someone please correct me, so that other users don't freeze this app and think they're covered, but I froze it and rebooted with no problems.
I also had to run the command line "am start com.lge.hiddenmenu ....[etcetera]" to get into the OTA enable/disable screen.
Block and remove instructions won't show, "spoiler" text reads "blocked"
Sent from my LG-D850
I have Verizon and after i enter : am start com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons in to adb i get an error:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
starting: intent {act=android.intent.acton.MAIN cat =[android.intent.category.LAUNCHER] cmp=com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons} does not exist.
cali4nia831 said:
I have Verizon and after i enter : am start com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons in to adb i get an error:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
starting: intent {act=android.intent.acton.MAIN cat =[android.intent.category.LAUNCHER] cmp=com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons} does not exist.
Click to expand...
Click to collapse
did you install the hiddenmenu.apk as the link instructed?
then entered the following commands like the URL says:
Code:
adb shell
su
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
which should then give you the hidden menu where you can "WLAN Test --> OTA Setting --> OFF"
Yes I did install the apk as instructed. It does open up the hidden menu after i enter those commands and after that error message but there is no WLAN TEST in the hidden menu that i can see.
---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------
autoprime said:
did you install the hiddenmenu.apk as the link instructed?
then entered the following commands like the URL says:
Code:
adb shell
su
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
which should then give you the hidden menu where you can "WLAN Test --> OTA Setting --> OFF"
Click to expand...
Click to collapse
Okay so i got it to the hidden menu to pop up as well as OTA enable/disable page even though it still gives me the same error message. I tap ENABLE and it says ENABLE but then i go back to the hidden menu and it still isn't listed...
EDIT:
Ended up just renaming the LGFOTA.apk file listed in the first reply above. So I should be good to go...
cali4nia831 said:
Yes I did install the apk as instructed. It does open up the hidden menu after i enter those commands and after that error message but there is no WLAN TEST in the hidden menu that i can see.
---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------
Okay so i got it to the hidden menu to pop up as well as OTA enable/disable page even though it still gives me the same error message. I tap ENABLE and it says ENABLE but then i go back to the hidden menu and it still isn't listed...
Click to expand...
Click to collapse
Don't tap Enable.. Tap Disable... and that's it. OTA disabled... off.. all done.
Someone can provide me with img files? I dont have a PC, just using my phone PM if you can help me.
autoprime said:
word
XDA:DevDB Information
Flash2, Tool/Utility for the LG G3
Contributors
autoprime
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-18
Last Updated 2014-10-18
Click to expand...
Click to collapse
Don't stick threads.. stick the man
He knows too much
Thanks for all your work
Edit: Can someone sticks his threads ?
Sorry for my noobish post, but where can I find tool for extracting KDZ for LG G3? You just provide link for GitHub, not for .exe program. Thanks.
First of all, thanks for the guide! It will help a lot of users in preserving bump and root
I don't think that leaving boot/etc .img out will help. LG engineers aren't stupid. The can, for example, do it like this: after "m" update all our phones will reflash aboot/etc partitions to patched versions on 1 jan 2015. The partition's images will be hidden in some big system file, while the waiting daemon will be hidden in, for example, healthd. We will never discover it until it's too late. GG WP.
That said, I really doubt that they will do it that way, but this is still a possibility. I guess i'll flash AOSP/CM/OMNI/smthing rom ASAP.
pRo_lama said:
Sorry for my noobish post, but where can I find tool for extracting KDZ for LG G3? You just provide link for GitHub, not for .exe program. Thanks.
Click to expand...
Click to collapse
link a, b ,c , d in the O.P. mate.. He provided all you need.... =)
The Python scripts and Windows GUI App, don't work for my D855 kdz files.
Don't have linux currently setup to test the last one (needs to be compiled).
L10nH34Rt said:
The Python scripts and Windows GUI App, don't work for my D855 kdz files.
Don't have linux currently setup to test the last one (needs to be compiled).
Click to expand...
Click to collapse
I'm on windows 8 mate... use the phython first with the kdz, then you can use the one with GUI for the dz file....
The hidden menu setting ever resets? Not after reboot, factory reset etc?
teddy0209 said:
I'm on windows 8 mate... use the phython first with the kdz, then you can use the one with GUI for the dz file....
Click to expand...
Click to collapse
I get an unsupported KDZ format error, that's my problem.
L10nH34Rt said:
I get an unsupported KDZ format error, that's my problem.
Click to expand...
Click to collapse
Well, I just extracted mine.... d855, v10i..
Check the command...
teddy0209 said:
Well, I just extracted mine.... d855, v10i..
Check the command...
Click to expand...
Click to collapse
I tried to extract v10l and it failed.
i deleted system updates with tibu should i delete LGFOTA.apk? under system,etc security there are a file named otacerts.zip should i delete that one to.

Update 09/12/2015

Hey me again.
So I just got an OTA update notification, but since I'm on a custom recovery, I can't install it. Don't suppose anyone would go to the trouble to re-package it as a flashable zip file for TWRP/clockworkmod?
Thanks.
flash recovery on OTA pack
There isn't any recovery and the firmware.zip can't be extracted
I'll have access to a full stock Asia phone that's had the update applied tomorrow. As long as the recovery.log is still in cache I should be able to work out which files where updated and create a TWRP update zip file from it.(If its just stagefright libs being replaced it should be compatible across regional roms)
I can provide the ota from Poland play version
porozex said:
I can provide the ota from Poland play version
Click to expand...
Click to collapse
Have you installed the update? Last time i tried i couldn't do anyrhing with a ota_update zip. But with a twrp /system backup and hopefully a recovery.log file from an updated rom, i think I can work out which files were updated and create twrp compatible update.zip based on that. The asia ota_update was only 87Mb in size and trying to address the stagefright bug from what I've seen. Is that the same for you?
No, I can't install it. Mine was around 38mb
edit: ok i found a solution, if you have a backup of your rom (i got it after got installed twp for first time) open it with winzip or 7zip then navigate to sytem>bin>bebuggerd and copy it to the phone. then with a filemanager with root privileges replace the current one and give proper permissions. thats it

Extract update .p files

I am stuck can't upgrade my phone through OTA as /system/build.prop and /system/bin debuggered have been modified by some root app.
So I managed to find the link to the OTA .zip and poking through it on the pc I removed the two lines in the update-script which verified the two files.
So the update installs itself without giving errors but when I reboot the phone info displays the same old firmware version.
I was thinking the build.prop is to be looked at but the one in the update is build.prop.p and I can't figure out how to open it.
Can someone point me in the right direction?
The endgame is to upgrade from 4.4.4 to 5.1.1 but I think I have to do one update after the other..
nobody? please helps..

Question manually installing incremental updates?

anyone have any idea how to install incremental updates manually? i have an ota incremental package, have even dumped the contents and have the .img files inside but not sure what to do with them as they are not full partition images just the increments(i guess just the parts that need to be changed of the actual partitions) is there any way to merge them or how else should they be used? i tried to use payload dumper with --diff but that just keeps giving me an error that boot image type isnt supported so i can get all the other files and no boot image with it. if anyone has any ideas i would greatly appreciate it. i downloaded the oneplus software updater to try the local upgrade/update and it just keeps telling to put it in the root directory and i have put the zip and the extracted contents in every directory i can think of to no avail. oxygen updater also doesnt support this device (yet)
nvm i found the answer thanks to someone on tg..
encrypt the incremental with ofpflasher and update

How To Guide Fastest and easiest way to transform your 3300 (Chinese) on 3301 (Global)

I AM NOT RESPONSIBLE FOR ANY BRICKS, DO AT YOUR OWN RISK. I TRIED AND WORKED FOR ME.
THIS WILL ERASE ALL DATA FROM YOUR DEVICE.
THIS IS FOR STOCK CHINESE ONLY, I DID NOT TRY IT ON UNLOCKED BOOTLOADER DEVICES, ROOTED DEVICES, OR ANY OTHER SITUATION, SO IDK IF WORKS FOR THAT.
What you gonna need:
android 12 India Rollback:
https%3A%2F%2Fdownload.c.realme.com%2Fflash%2FDP1_Android_13%2FIN%2FRMX3301_ROLL_BACK_Android12_IN.zip&e=118628786
Full OTA CN A13
https%3A%2F%2Fdisk.yandex.ru%2Fd%2FkCmfvWkxHTLqJA&e=118628786
OP Updater apk
https://forum.xda-developers.com/attachments/oplocalupdate_for_android13-apk-2-zip.5722227/
YES! YOU GONNA NEED BOTH Packages CN A13 and India Roolback
Steps:
- Update your Chinese device to A.13 c.08 normally using the official updater.
- Once you are on A13_C.08 official update turn off All internet of the device.
- Transfer all the files downloaded to Documents folder of your device.
- Go to Settings - Applications - Application Management, press 3 dots, select to show system applications! In the search, enter - Software Update, find it and clear the cache and data in it! Next, in the search, enter - Update Service, find it, and also clear the cache and data in it!
- Install the OP Updater apk
- Place the Full OTA CN A13 zip on the root folder of your device.
- Open the OP updater, press the gear on top. You will see the CN Package listed, tap on it but DO NOT INSTALL (do not touch anything on the popup that will show up)
- Put the OP updater app on Floating Window so it does not close it
- Go to the file manager copy the name of the OTA CN A13 from the root of the device and rename the android 12 India Rollback with the name of the OTA CN A13 you copied
- Delete the OTA CN A13 from the root of the device (or move to another folder) and move the Android 12 India Roolback (that you already renamed) to root folder
- Go back to the floating window OP Updater and press install now
- After process is done you will see a Reboot button, press it and let it do the job.
Done! You should now boot into global ROM India Region.
Thanks to Stano36 for Showing me this on 4PDA Forum and the guy that shared it.
Realme GT2 Pro - Прошивки - 4PDA
Realme GT2 Pro - Прошивки
4pda.to
ENJOY YOUR GLOBAL ROM DEVICE
Thanks
Will this also work for changing region from mea to eu?Will this also work for changing region from mea to eu?
No, it won't work for you.
I was able to switch from android 12 CN (A18) to Rollback 12 IN (A14) the first time, then you can switch from Rollback IN to another region.
If you switched from Rollback IN to EU, for example, then from EU to another region is not possible, after flashing will be a brick.
If you need another region, then you go back to Rollback 12 IN, and then to whatever you want. Rollback is the starting point!
P. S. I don't know about the Chinese region, mostly everyone switched from Rollback 12 IN to EU or RU.
Damien969 said:
I was able to switch from android 12 CN (A18) to Rollback 12 IN (A14) the first time, then you can switch from Rollback IN to another region.
If you switched from Rollback IN to EU, for example, then from EU to another region is not possible, after flashing will be a brick.
If you need another region, then you go back to Rollback 12 IN, and then to whatever you want. Rollback is the starting point!
P. S. I don't know about the Chinese region, mostly everyone switched from Rollback 12 IN to EU or RU.
Click to expand...
Click to collapse
Can you explain once in rollback A12 IN how to switch to EU A12 and which files are needed?
AaronZaDev said:
Can you explain once in rollback A12 IN how to switch to EU A12 and which files are needed?
Click to expand...
Click to collapse
After switching to Rollback IN you need:
Do a data reset, download Full OTA of the desired region (Global/EU/RU) and move it to the root of memory (should not lie in the folder!), then turn off the Internet (or better not turn it on at all) - clearing the cache and data of the two system applications: "Software Update" and "Update Service", do not forget to enable "show system processes".
Next run third party updater - "OPLocalUpdate_For_Android12.apk" (or "For_Android 13" if you have android 13), but this time you need "NOT TO CHANGE!", press 3 points, select the file .zip (aka Full OTA), wait for installation ... ...then reboot.
For peace of mind, do another data reset (via recovery).
If all went well, congratulations you changed the region!
P. S. I went this way from Rollback IN --> EU-NONEEA-Double (XNE00DB) Android 13.
i can't download from yandex, where can i download Full OTA CN A13 ?
cnkt_br said:
i can't download from yandex, where can i download Full OTA CN A13 ?
Click to expand...
Click to collapse
If you want, I have China A.16: https://rms01.realme.net/SW/software/RMX3300domestic_11_A.16_2022012714110118.zip
It's the only Chinese ROM URL I have.
Damien969 said:
...stiahnite si Full OTA požadovaného regiónu (Global/EU/RU) a presuňte ho do koreňového adresára a pamäte...
Click to expand...
Click to collapse
You forgot to mention that the OTA file must be modified.
In the file
payload_properties.txt
Adjust the value from 0 to 1
oplus_update_engine_verify_disable=0
Stano36 said:
You forgot to mention that the OTA file must be modified.
In the file
payload_properties.txt
Adjust the value from 0 to 1
oplus_update_engine_verify_disable=0
Click to expand...
Click to collapse
I didn't modify anything, thanks to Rapper_skull for the link to the Full OTA. Just downloaded and installed this .zip file following the instructions, no problems.
cnkt_br said:
i can't download from yandex, where can i download Full OTA CN A13 ?
Click to expand...
Click to collapse
I'll download it and upload it to another file-sharing site.
Damien969 said:
Nič som neupravoval
Click to expand...
Click to collapse
Bcecause they were already modified in the 4pda manual.
Here is the link to the Full OTA CN Android 13 C.08:
Full OTA CN A13 C.08
Can someone help me please ? How can I throw CN in the root folder I can't find it
I'm in C11 and when I try to install rollback package, it says "downgrade is not allowed".
Can u tell me how to install EU C11?
SMinato27 said:
I'm in C11 and when I try to install rollback package, it says "downgrade is not allowed".
Can u tell me how to install EU C11?
Click to expand...
Click to collapse
EU C.11 no one has rolled back from it yet, I don't know how to help you.
Meroem said:
Can someone help me please ? How can I throw CN in the root folder I can't find it
Click to expand...
Click to collapse
You need a root partition, NOT A FOLDER!
The root partition has other folders like, "Alarms, Android, DCIM, Download, etc." You need to move the .zip file to the root section, it should be next to the folders, NOT IN THE FOLDER!
Damien969 said:
You need a root partition, NOT A FOLDER!
The root partition has other folders like, "Alarms, Android, DCIM, Download, etc." You need to move the .zip file to the root section, it should be next to the folders, NOT IN THE FOLDER!
Click to expand...
Click to collapse
Thanks for your help
Mission succeeded
Damien969 said:
Here is the link to the Full OTA CN Android 13 C.08:
Full OTA CN A13 C.08
Click to expand...
Click to collapse
Can you upload into another server like, mediafire or google drive?

Categories

Resources