Emui 10.0.126 - How to unpack SUPER.img? - Huawei P30 Pro Questions & Answers

Found in firmware Finder.. It seems to be for P30 Pro.
http://update.dbankcdn.com/TDS/data/files/p3/s15/G4705/g1755/v304788/f1/full/update_full_base.zip
I want to extract it so I can get apks such as the launcher or camera app. I have managed to extract UPDATE.APP and I saw inside a file called SUPER. img which I suppose is equivalent to the usual system.img however I can't extract it. I tried different tools but I failed.
Does anyone know how to unpack that SUPER.img file?

orpheliaca said:
Found in firmware Finder.. It seems to be for P30 Pro.
http://update.dbankcdn.com/TDS/data/files/p3/s15/G4705/g1755/v304788/f1/full/update_full_base.zip
I want to extract it so I can get apks such as the launcher or camera app. I have managed to extract UPDATE.APP and I saw inside a file called SUPER. img which I suppose is equivalent to the usual system.img however I can't extract it. I tried different tools but I failed.
Does anyone know how to unpack that SUPER.img file?
Click to expand...
Click to collapse
Hi m8, even if you manage to unzip the SUPER.img file (you can try with 7zip, maybe it will work, don't bet on it) you can't install those apk's on EMUI 9.1, because they are different.
On EMUI 10 you can push those apk's (and camera libs folders) only if you're rooted and have bootloader unlocked.
Later edit: or you can rename it to system.img and try using this tool. Ignore, the tool is not available anymore

SilviuO said:
Hi m8, even if you manage to unzip the SUPER.img file (you can try with 7zip, maybe it will work, don't bet on it) you can't install those apk's on EMUI 9.1, because they are different.
On EMUI 10 you can push those apk's (and camera libs folders) only if you're rooted and have bootloader unlocked.
Later edit: or you can rename it to system.img and try using this tool. Ignore, the tool is not available anymore
Click to expand...
Click to collapse
I still have hopes as based on my experience not always the system app are only restricted to the new Android SDK. So maybe those two apks will be compatible with android P SDK or can easily be modes to make them compatible
However I didn't find a way to unpack SUPER.img despite trying different methods..

hi,
but full update it works?! did you tried?
thanks.

stefanz08 said:
hi,
but full update it works?! did you tried?
thanks.
Click to expand...
Click to collapse
I tried it just now and it did not work on my P30 Pro!

How did the full update work for you? Can you please tell how you managed to flash full update?

you can used my method:https://blog.cofface.com/archives/2954.html

cofface said:
you can used my method:https://blog.cofface.com/archives/2954.html
Click to expand...
Click to collapse
any repack method for super.img back with same hashed and header.if possible i can pay for it
---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------
pakfixrom said:
any repack method for super.img back with same hashed and header.if possible i can pay for it
Click to expand...
Click to collapse
unpack already supported superR kitchen pro version

pakfixrom said:
any repack method for super.img back with same hashed and header.if possible i can pay for it
---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------
unpack already supported superR kitchen pro version
Click to expand...
Click to collapse
superR kitchen pro version,Unpack is ok but can't repack. I am looking forward to the repack tool

I've extracted using: imjtool.
http://newandroidbook.com/tools/imjtool.html

Once you've extracted hw_product, cust, vendor, system, odm how do you extract those files?

someone managed to open and close Super.img ??

Related

[xt862] .906 1-click-sbf.exe + tools updated [3/31/2013]

YOU MUST BE ON .906 OTA TO USE THIS
**If you are on .890 ota please download and use this file>>D3.SBF.890.ZIP (flash via rsdlite)**
UPDATED THE 1 CLICK SBF EXE TO THE OFFICIAL .906 SBF
now you can restore you D3 to factory .906
I created a 1-click-sbf.exe to make flashing as simple as possible.
The exe when ran will extract files to a temp dir (if needed)
to make it easy for you to delete manually or most window cleaners will clean the temp folder.
thus you don't have to have that much room taken up on your hard drive all the time..
when you start the exe it will check the temp folder to see if the files still remain..
if they do it will not need to extract the files thus starting much quicker!
I AM NOT RESPONSIBLE IF YOU BRICK YOUR DEVICE
DOWNLOAD: http://d-h.st/Z7b
PLEASE DONT FORGET TO CLICK THE LITTLE THANKS BUTTON...
1. Download the above file to computer
2. Get a beer
3. If you have a spare battery, or the current battery, make sure it's charged above 50%
(quick unbrick wont run if it's below 50%)
4. When the phone is off, press m+power and scroll down to AP Fastboot.
5. Plug the phone into the computer, make sure you get the USB connected message on the phone.
6. Run the "1_CLICK_SBF.exe" (win 7 users right click on .exe and run as administrator)
7. Let your phone restore and boot.
8. Finish that beer your done..wasn't that easy..
====================
MOTOFAIL ROOT TOOL ( this is also a 1_click .exe... )
Download: HERE
NEW! SAFESTRAP v3 for DROID 3
Download v3.05 [ 2012-10-17 ]
md5sum: 39b1cd260e00d5d73faa7f27b7e31d25
SAFESTRAP (TWEAKED) v1.08e RECOVERY (NON-KEXEC)
Download:HERE
NEW! ADOBE FLASH .APK DOWNLOAD
Download:HERE
====================
Credits:
Q9nap
Hashcode
Redsox985
Psouza4
droidian1441
PLEASE DONT FORGET TO CLICK THE LITTLE THANKS BUTTON...
YOU MAY NOT COPY OR RE-POST OUR WORK WITHOUT PERMISSION
thank you
button clicked √
jellman said:
thank you
button clicked √
Click to expand...
Click to collapse
No problem..
bricked me any ideas?
---------- Post added at 09:12 AM ---------- Previous post was at 09:02 AM ----------
nvm got it. jeesh what a scare rsd never works for me. moto-fastboot<3
jellman said:
bricked me any ideas?
---------- Post added at 09:12 AM ---------- Previous post was at 09:02 AM ----------
nvm got it. jeesh what a scare rsd never works for me. moto-fastboot<3
Click to expand...
Click to collapse
Lol glad you got it......
Ye I'd like to use this with moto fastboot.. can I just copy the files over/
DoubleYouPee said:
Ye I'd like to use this with moto fastboot.. can I just copy the files over/
Click to expand...
Click to collapse
Give her a whirl and see lol I always use rsd
Thanks for the files!
I'm still waiting for someone to get this to work with RSD. I threw this patch files together and zipped them, but never tried them because I really didn't want to risk anything with a working phone. I'm glad someone has tried it at least with moto-fastboot.
Never tried my own product! :O
Woo! User "jth08527" confirmed the .zip above works as is in RSD Lite 5.6. He sent me a PM confirming it because he doesn't yet have enough posts to post here.
redsox985 said:
Woo! User "jth08527" confirmed the .zip above works as is in RSD Lite 5.6. He sent me a PM confirming it because he doesn't yet have enough posts to post here.
Click to expand...
Click to collapse
Im sorry I thought I said that in the op..
I used it myself and confirmed it..
but glad it is saving people..this is a huge asset to people on. 906
I'm confused...I downloaded "906 SBF.7z"...there is no zip file? how shall I flash it with RSD?
and now the link is the thread i dead
1of16 said:
I'm confused...I downloaded "906 SBF.7z"...there is no zip file? how shall I flash it with RSD?
and now the link is the thread i dead
Click to expand...
Click to collapse
They are in a 7zip file instead of a .zip or winrar
all you have to do is use 7zip (which is freethe softwear) to extract the files then load the. Xml file into rsdlite and flash
And minus has been having problems the last few days but it is one of the better free hosting sites so just be patient and it will come back..also I would suggest using your computer to download the file as alot of mobile browsers have problems with this site
ovelayer said:
They are in a 7zip file instead of a .zip or winrar
all you have to do is use 7zip (which is freethe softwear) to extract the files then load the. Xml file into rsdlite and flash
Click to expand...
Click to collapse
ha, that's too simple didn't know that RSD can use the xml-files. thanks...I'll keep you posted.
edit: I think it worked, got the same baseband and buildnumber as in 890, but the 906 kernel. i guess thats ok?!?
Someone should make it so it works like this:
http://forum.xda-developers.com/showthread.php?t=1336980
Looking at the files it looks like it should work if you just copy&replace the files into the "files" folder?
1of16 said:
ha, that's too simple didn't know that RSD can use the xml-files. thanks...I'll keep you posted.
edit: I think it worked, got the same baseband and buildnumber as in 890, but the 906 kernel. i guess thats ok?!?
Click to expand...
Click to collapse
Correct now you can reapply the. 906 update if you want and yet all good
DoubleYouPee said:
Someone should make it so it works like this:
http://forum.xda-developers.com/showthread.php?t=1336980
Looking at the files it looks like it should work if you just copy&replace the files into the "files" folder?
Click to expand...
Click to collapse
As long as the. Exe used calls the. Xml I don't see why you couldn't ..
drop the files from our. Zip into that one ..hmm
I have to take the wife and kids to the lake but I can play with it over the next few days..
Afterall with our sbf we have a way back so can't really hurt lol
ovelayer said:
As long as the. Exe used calls the. Xml I don't see why you couldn't ..
drop the files from our. Zip into that one ..hmm
I have to take the wife and kids to the lake but I can play with it over the next few days..
Afterall with our sbf we have a way back so can't really hurt lol
Click to expand...
Click to collapse
Well yes in fact the .bat file calls the files via the .exe
Code:
moto-fastboot.exe -w
moto-fastboot.exe flash recovery files\recovery.img
moto-fastboot.exe flash boot files\boot.img
moto-fastboot.exe flash devtree files\device_tree.bin
moto-fastboot.exe flash logo.bin files\logo.bin
moto-fastboot.exe flash preinstall files\preinstall.img
moto-fastboot.exe flash cdrom files\cdrom
moto-fastboot.exe flash radio files\radio.img
moto-fastboot.exe flash system files\system.img
moto-fastboot.exe reboot
DoubleYouPee said:
Well yes in fact the .bat file calls the files via the .exe
Code:
moto-fastboot.exe -w
moto-fastboot.exe flash recovery files\recovery.img
moto-fastboot.exe flash boot files\boot.img
moto-fastboot.exe flash devtree files\device_tree.bin
moto-fastboot.exe flash logo.bin files\logo.bin
moto-fastboot.exe flash preinstall files\preinstall.img
moto-fastboot.exe flash cdrom files\cdrom
moto-fastboot.exe flash radio files\radio.img
moto-fastboot.exe flash system files\system.img
moto-fastboot.exe reboot
Click to expand...
Click to collapse
Wish I was at home because in theory that should work perfect and now we would have a 1click .906 sbf which could also be made into a single .exe sbf
ovelayer said:
Wish I was at home because in theory that should work perfect and now we would have a 1click .906 sbf which could also be made into a single .exe sbf
Click to expand...
Click to collapse
I just copied the files over, but all of them except the .xml are exactly the same.
So.. is this a .890 SBF that works on .906? Or did I miss something

[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In

[Q&A] [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio In
Q&A for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Stock ROM] Easy Stock Reset | Many Versions | Stock ROM + Recovery + Radio Included. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Can' t Flash
Every time I try to flash the Optus AU reset onto my VODAPHONE AU M7, it either gets stuck at 10% if i do it with a full wipe, or 0% if I don't. Also, it never passes and MD5 verification, after multiple separate downloads.
Anyone know what to do?
Thanks.
TWRP back up of stock rom and stock recovery OTA 6.11.980.12
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Australian Optus Firmware & Nand of stock rom Rom
Crushalot
In case the mood takes you, and you one day feel like making an easy aroma reset for Optus Aussie users that will reset HTC m7-ul PNO7400 devices back to a (only just) pre Android L update, here is a TWRP back up of stock rom (ota 6.11.980.12) Optus Australia as, well as the Optus Aussie OTA 6.11.980.12 (contains stock recovery) 2x OTA links originally posted by deevan
TWRP Nand of stock rom Android 4.4.3, from ota 6.11.980.12 (Australia Optus)
mega.co.nz/#!BhBXBaBT!Fjsg4FNe3AzUCR-aTdiNOwM71zx6-zzKkVbuY-rZqWk
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
firmware.6.11.980.10.zip 43.1 MB (by deeevan)
mega.co.nz/#!QlIjzZoA!R18LEGCFJ85YV91rgiViohqw-QCzXO4fVEVm9h4ab68
firmware.6.11.980.12.zip 19.1 MB (By deeevan)
mega.co.nz/#!N4oS3aSZ!z2aM04WPtN2p1d9cWnmwkBi6UY_sNCbDB0ZBDAe 2RMY
Im still under 10 posts so I cant post full links.
This may help ppl go back to stock in time for the Android L OTA push!
GREAT work BTW! I used your tool to successfully return my device to stock (for the purposes of updating my firmware) worked like a charm!!
Joeisgood99 said:
Crushalot
I have a TWRP backup of stock rom from OTA 6.11.980.12 (Optus Australia) if you are interested I can pm the link to you along with the stock recovery that came with that OTA, for you to make (when you have time ect) an aroma reset tool for Optus Aussie users that is current and only just pre Android L release for sense roms.
Let me know if that would help
Click to expand...
Click to collapse
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
yatindroid said:
Install ubuntu open ubuntu
Extract backup file in ubuntu
Click to expand...
Click to collapse
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar -xvf data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Yes sir, that's exactly the method i use :good:
Thank you So MUCH!
I'll try that as soon as I get a chance, and report back
Cheers for the help. ?
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
alray said:
If you want to use windows instead of linux, you can extract twrp backup using cygwin. All you need to do is to rename your backup files adding .tar extension then extract them using cygwin
Code:
tar -xvf your_file_name.ext4.win.tar
eg. If you want to extract system.ext4.win000, system.ext4.win001 and data.ext4.win, rename them system.ext4.win000.tar, system.ext4.win001.tar and data.ext4.win.tar. Move the system backup files to C:\Cygwin\Home\UserName\backup\System and data backup to C:\Cygwin\Home\UserName\backup\Data
open a cygwin command prompt and change directory to the correct location:
Code:
cd C:\Cygwin\Home\UserName\backup\System
then in cygwin command prompt:
Code:
tar system.ext4.win000.tar
tar system.ext4.win000.tar
Code:
cd C:\Cygwin\Home\UserName\backup\Data
tar data.ext4.win.tar
Then you have 2 folders, One System folder and one Data folder you can use to make you reset rom.
Click to expand...
Click to collapse
Thanks Mate.
I will try on Ubuntu first as I use that about 90%of the time. I'll reply with results hopefully tomorrow! Excited to make my own easy reset with aroma.
Had to unlock bootloader via HTC token when my phone is S-Off...
My HTC M7 UL (PID)PNO7400, was rooted and later S-Off with fire water.
I had custom rom and recovery ect. After 6 months of this I wanted to update my firmware but for various reasons didn't want to do it via RUU so I found and used crushalots Easy Recovery Reset Tool.
This worked perfectly.
During the aroma install I chose NOT to install any firmware, just stock recovery and rom.
I also chose not to keep root as I believed that I may not be able to install OTA updates with rooted stock. (right or wrong?)
Immediately after everything was installed I was running stock 2.24.980.2 rom and recovery on 4.20.980.x firmware.
After relocking my bootloader via fastboot, there was no issues, my phone just downloaded several OTA in a row, installed each without a hitch, and about an hour and a half later I had a stock phone with the latest 6.11.980.12 firmware and software, with S-Off.
(BTW re locking the bootloader did not delete any of my data.)
As soon as this was finished I wanted to re install my beloved eragon rom, re gain root, and get my phone back the way it was pre the firmware update.
Having S-Off I thought this would be easy (fastboot flash recovery path/to/custom/recovery.img)
Didn't work.
Unfortunately I didn't keep a copy of the error message I got in terminal, however, I didnt have write permissions on that particular partition. (apologies to anyone trying to help as I know details are important here)
This stumped me, as I have rooted 3 other (older) HTC desire by getting S-Off then flashing custom recovery.img, (These phones were running 1.44 version of fastboot as opposed to my M7s 1.57) I tried to un lock the bootloader via fastboot commands just in case that worked post S-Off ie (fastboot oem unlock) but that didn't work. Firewater doesn't install its own bootloader so locking and unlocking via the s-off tool were not an option either.
I had to re apply to HTC for an unlock token and flash that before I could flash a custom recovery. I plan go back to stock again for the purposes of taking carrier OTA when my carrier starts updating with Android L, so would like to know if this is normal, if not how I possibly stuffed up.
Can any one explain why I had to unlock bootloader via HTC site when my phone is S-Off?
I'm interested in peoples thoughts/knowledge
Many thanks
yatindroid said:
You can make that your self
You want to I can help you
It's easy
1st time with help of @crushalot I made 4 reset Rom for India version
Make TWRP backup of Rom which you want to make stock Rom reset zip
Install ubuntu open ubuntu
Extract backup file in ubuntu
You need system folder + data/preload folder + stock Recovery + boot.img + radio.img (all files from same version)
Extract any of old reset Rom zip
Replace files and folders from New one
Now edit aroma script in meta-inf folderwith notepad +
Edit details Rom version radio version etc
Zip all files and folders
It's ready
Click to expand...
Click to collapse
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Joeisgood99 said:
Hi Mate.
Thanks again. A little help needed.
When extracting the .rar from the TWRP recovery I made, using terminal command line [7z x /path/to/some.rar] in ubuntu i get 4300 of this type of error
can not open output file system/bin/mkswap
can not open output file system/bin/mkswap
can not open output file system/bin/readlink...ect
Basically at the end I get a system folder with about 3 items in it, as 7zip .rar tool cant decompress most of the files from the .rar
Right clicking on system.ext4.win.000 and system.ext4.win001 and selecting 'Extract files here' or 'open archive' results in error "could not open 'xx'. Archive type not supported."
Are you able to give me more detailed instructions on how to extract/unpack the system.ext4.win.000 and system.ext4.win001
Do I need to change the file name before extracting ?
Extracting the files from crushalots tool and extracting the files from the new TWRP then replacing relevant files and changing the manifest to reflect said change in Easy Recovery tool seems quite simple, however Im having trouble just extracting the files....
Im missing something obvious.
Thanks.
Click to expand...
Click to collapse
I simply extract system.ext4.win000 file in Ubuntu nothing more needed not a single error
its tar not rar !
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Joeisgood99 said:
Whoops! . Tar.
Thanks again I'll keep trying.
Did crushalot send you any written instructions? Are they in a thread somewhere, or just basically what you already posted?
Thanks for your time.
Click to expand...
Click to collapse
I asked some questions via PM he just replied that
ask anything when you stuck
yatindroid said:
I asked some questions via PM he just replied that
ask anything when you stuck
Click to expand...
Click to collapse
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar.
Click to expand...
Click to collapse
Exactly, see post #6
In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Click to expand...
Click to collapse
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Click to expand...
Click to collapse
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Joeisgood99 said:
For anyone else following this thread atm I solved the problem by re naming the system file extension in TWRP recovery from . win to . tar. In some TWRP back ups there were 2 system folders. A system.4ext000.win and system. 4ext001.win I just merged them during the extraction process.
Also there was no Data/preloaded folder in crushalots reset tool or in any twrp backup I have made.
Haven't tested the modified reset tool yet but will let u all know if I did it correctly!
Click to expand...
Click to collapse
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
yatindroid said:
In Ubuntu install 7zip software
don't rename anything just open with archive manager
system.4ext000.win open this
crushalot tool not have data/preload because most of tool was 3.xx version sense 5.5 that time preload files included in system folder
Click to expand...
Click to collapse
Thanks again yatindroid
I already have 7zip installed, However there is no option in archive manager to extract anything with it. After cd to file location I can view the . win file in terminal using [7z l file. win] but the [7z x file.win - d folder/i-want/extracted/to] command outputs the same error as stated in above post.
Q1) That aside the last step in this whole process is to zip it all up again as a . zip, so I'll be changing the file extension anyway, so does it matter if I change the file extension from . win to .tar for the purposes of extracting? If so ease explain why.
Q2) the ONLY place I have found a data/preload folder is inside a firmware .zip extracted from an OTA. It's definitely not in any TWRP back up. Did you leave that detail out of your initial instructions? Can you please tell me where to get the /preload folder from if not from the same OTA the recovery.img comes from.
Q3) do I put the data/preload folder inside the system folder of the reset tool or have it separate, along with radio.img, boot. img, recovery.img and aroma files ect.
Thanks for your time.
---------- Post added at 09:46 AM ---------- Previous post was at 09:33 AM ----------
alray said:
Exactly, see post #6
Exactly, there are 2 system archive because of the file size restriction. Merging them after extracting the files is correct.
Without /data/preload, your reset rom will not be ota update ready. You don't have /data/preload in your backup probably because you have unlocked the bootloader and did the nandroid backup after (unlocking bootloader erase /data/preload)
Click to expand...
Click to collapse
Thanks array.
I replied to the other post before yours came up. Forgive me if I ask similar questions.
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Joeisgood99 said:
I'm assuming I just copy the /preload folder from the same OTA I get the radio and recovery. img from.
Click to expand...
Click to collapse
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
Do I put the /preload folder inside any other folder within reset tool for a 6.xx version or have it beside the system folder and .img files.
Regards and Thanks.
Click to expand...
Click to collapse
the folder must be in your_reset_rom.zip/data/preload
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
alray said:
It should work. The data/preload folder from an ota zip usually (afaik this is true for the dev edition version) include all /data/preload files. If its the same thing for your version then you should be fine. In /data/preload you should have these files:
YOUR_CID.XML
All the weather animations (mp4 files)
some .png files for photo editing
htc preloaded app like flashlight.apk and calculator.apk. You might have more app depending your version.
the folder must be in your_reset_rom.zip/data/preload
Click to expand...
Click to collapse
Thanks for your excellent and timely reply.
More Qs.
I now have all folders as per your above post. I have taken data/preload, boot.img radio.img and recovery.img straight from OTA. 6.11.980.10
However my stock nand was of 6.11.980.12.
Q1) So do you know if having a system folder derived from a slightly newer version work? As far as I know the .12 OTA was a patch for the 'no voice during call' bug. OTA. 6.11.xxx. 12 did not contain a radio.img AND I can't get a data/preload folder for that ota as I can only find a 6.11.xxx.12 firmware. Not the whole OTA, which is why I reverted to making a . 980.10 reset tool despite having a slightly newer NAND.
Q2) I have edited the updater script in META-INF to reflect new radio and Android version ect. Do I need to update the MANIFEST. MF?
Hope that was clear enough to understand.
A big THANKS for your Help and time!

Scalles app from the Chinese ROM C00B144

I was flashing a couple of ROMS yesterday while unbricking my MateS. The C00B144 Chinese ROM as the scales app and it works well on my 64GB Mate S. I can access the scales setting pages using a short cut creator but the app itself is missing from my C470*** ROM version.
Does anyone have the ability to extract the APK and send me a link to download it please? I am sure other would appreciate it and it will prove once and for all that all Mate S Phones have the ability to use them.
Much appreciated to whoever can get this app extracted for me.
That APP is mostly useless
Thats the one. Many thanks. I know it has little use but people just dont believe a phone can weigh things.
Big thanks for sharing.
It works but it is very inaccurate!
I place an apple and it showed 360grams. I used kitchen scale (the one for making food) and it showed 220grams
Anyway, it is fun to see it in action
Sent from my HUAWEI CRR-L09 using Tapatalk
How to extract APK from the Update.App?
I unpacked the update.app with the Huawei Update unpacker but i could not find any tool to open the system.img
Sventastic said:
How to extract APK from the Update.App?
I unpacked the update.app with the Huawei Update unpacker but i could not find any tool to open the system.img
Click to expand...
Click to collapse
use ext4_unpacker
You can use "HuaweiFirmwareExtractor.exe" for extracting Huawei Update.app , when you have extract it you can use 7zip or other Tools.
When it don't work write me a pm and I look what I use for that on my pc.
What do you want make?
I must look , you can do a system Backup from system only via adb but here I must look what you must do in Terminal.

Need System Folder of latest firmware

hello! I had a request for anyone running stock odexed firmware (.291)
Can you pull the system folder for that version and upload it for me? Thanks!
Edit: with odex files pls!
P.s. I need the untouched version without root. Thanks!
HERE are stock ftf firmwares. Choose one and download it.
Rename *.ftf to *.zip and extract a file system.sin using 7zip.
Open Flashtool, use function "Sin Editor" to convert system.sin -> system.ext4. Then use this to "save" /system folder.
There are some files *.sqsh that contain .odex files. this sqsh file link to odex file of the app. Use 7zip 16.04 to extract *.sqsh file, you will see odex files
---------- Post added at 04:22 PM ---------- Previous post was at 04:17 PM ----------
Eg: odex.app.sqsh contains all odex of /app folder.
Extract sqsh file and copy odex file to folder (ex: copy AnonymousData.odex to /app/AnonymousData/oat/arm/, then you have stock AnonymousData apk with odex file . )
xtbtvd12399 said:
HERE are stock ftf firmwares. Choose one and download it.
Rename *.ftf to *.zip and extract a file system.sin using 7zip.
Open Flashtool, use function "Sin Editor" to convert system.sin -> system.ext4. Then use this to "save" /system folder.
There are some files *.sqsh that contain .odex files. this sqsh file link to odex file of the app. Use 7zip 16.04 to extract *.sqsh file, you will see odex files
---------- Post added at 04:22 PM ---------- Previous post was at 04:17 PM ---------
Eg: odex.app.sqsh contains all odex of /app folder.
Extract sqsh file and copy odex file to folder (ex: copy AnonymousData.odex to /app/AnonymousData/oat/, then you have stock AnonymousData apk with odex file . )
Click to expand...
Click to collapse
Thank you so much! I am learning to deodex my ROM myself.
I will try it this weekend.
But aren't the odex files generated when you run android the first time?
This is wierd
EDIT: I downloaded the ftf from flash
tool and expanded it. I do not see any files *.sqsh files in any folders . Just empty
panzerox123 said:
Thank you so much! I am learning to deodex my ROM myself.
I will try it this weekend.
But aren't the odex files generated when you run android the first time?
This is wierd
Click to expand...
Click to collapse
I dont know this much. But odex files arent generated in system partition. They create odex file in system partition for faster first time bootup maybe.
---------- Post added at 06:14 AM ---------- Previous post was at 06:12 AM ----------
panzerox123 said:
EDIT: I downloaded the ftf from flash
tool and expanded it. I do not see any files *.sqsh files in any folders . Just empty
Click to expand...
Click to collapse
You need to extract system.sin and convert to system.ext4 first . the sqsh file must be in system partition.
xtbtvd12399 said:
I dont know this much. But odex files arent generated in system partition. They create odex file in system partition for faster first time bootup maybe.
---------- Post added at 06:14 AM ---------- Previous post was at 06:12 AM ----------
You need to extract system.sin and convert to system.ext4 first . the sqsh file must be in system partition.
Click to expand...
Click to collapse
I've done that. The folders are empty...
panzerox123 said:
I've done that. The folders are empty...
Click to expand...
Click to collapse
ohh. something wrong here. i ll check it tonight.
normally, the odex.app.sqsh, odex.framework.sqsh, odex.priv-app.sqsh must be in system partition.
xtbtvd12399 said:
ohh. something wrong here. i ll check it tonight.
normally, the odex.app.sqsh, odex.framework.sqsh, odex.priv-app.sqsh must be in system partition.
Click to expand...
Click to collapse
There are efolders in the system partions with those names. But they are empty
panzerox123 said:
There are efolders in the system partions with those names. But they are empty
Click to expand...
Click to collapse
Yes. Those folders are empty, but those are sqsh files near those folders . Check it
xtbtvd12399 said:
Yes. Those folders are empty, but those are sqsh files near those folders . Check it
Click to expand...
Click to collapse
Ill check. But is there a *.sqsh for every apk?
And if not, if I extract the .sqsh file, will it give me the odex for every apk?
Thanks
panzerox123 said:
Ill check. But is there a *.sqsh for every apk?
And if not, if I extract the .sqsh file, will it give me the odex for every apk?
Thanks
Click to expand...
Click to collapse
Yes, they contain all odex files
xtbtvd12399 said:
Yes, they contain all odex files
Click to expand...
Click to collapse
Ok thanks. I'll try once i get home
I checked it already.
Hope this can help you .
If you want to fully deodex your system, there are 2 more sqsh files. /system/etc/product/ and /system/etc/customizations/.
and there are 2 more odexed app with odex file: /system/vendor/app/ims/ & /system/vendor/app/ChromeCustomizations/
-----------------
There are symlinks between /system/$app/*app_name*/oat/arm/ and odex.$apk.sqsh/arm/*app_name*.odex
So the odex file show in folder is a shortcut from sqsh file. Sony made this
xtbtvd12399 said:
I checked it already.
Hope this can help you .
If you want to fully deodex your system, there are 2 more sqsh files. /system/etc/product/ and /system/etc/customizations/.
and there are 2 more odexed app with odex file: /system/vendor/app/ims/ & /system/vendor/app/ChromeCustomizations/
Click to expand...
Click to collapse
Thanks:good:

Stock theme delete after rooted

I manage to root my hm10 pro but how come all stock themes are deleted? Does anyone experience the same? Anyone is welcome to help or guide me to restore and is highly appreciated.
Root mate 10 pro problem theme
Hi, to me after the root application Huawei Mate 10 Pro themes no longer applies themes. Can someone help me? When I go to apply the theme, I get an error and it tells me that the application is not updated
Check if /data/hw_init/ exist.
And what it contains @eabrillos @palmucci81
ante0 said:
Check if /data/hw_init/ exist.
And what it contains @eabrillos @palmucci81
Click to expand...
Click to collapse
sorry, it does not contain on my rooted mate 10 pro. can you attach file?
eabrillos said:
sorry, it does not contain on my rooted mate 10 pro. can you attach file?
Click to expand...
Click to collapse
Post your full model (BLA-LxxCxxxBxxx)
ante0 said:
Post your full model (BLA-LxxCxxxBxxx)
Click to expand...
Click to collapse
Hi. I have mate 10 ALP-L29
I was able to fix the problem in previous software version using the files from another thread in same section. But after updating software to 8.0.0.126(c636), now I can't fix it using same files from previous thread.
Chaitanyapatel8880 said:
Hi. I have mate 10 ALP-L29
I was able to fix the problem in previous software version using the files from another thread in same section. But after updating software to 8.0.0.126(c636), now I can't fix it using same files from previous thread.
Click to expand...
Click to collapse
For ALP-L29C636
https://www.dropbox.com/s/fh9cpipxjp2k6ud/L29C636_data.tgz?dl=0
Move file to phone, use file explorer to move file to /data or use mv command below
using terminal: (Terminal emulator or your choice from the play store)
su
mv /sdcard/L29C636_data.tgz /data/
cd /data/
tar zxvf L29C636_data.tgz
This will install both the HW data and public data.
ante0 said:
Post your full model (BLA-LxxCxxxBxxx)
Click to expand...
Click to collapse
ante0 said:
For ALP-L29C636
https://www.dropbox.com/s/fh9cpipxjp2k6ud/L29C636_data.tgz?dl=0
Move file to phone, use file explorer to move file to /data or use mv command below
using terminal: (Terminal emulator or your choice from the play store)
su
mv /sdcard/L29C636_data.tgz /data/
cd /data/
tar zxvf L29C636_data.tgz
This will install both the HW data and public data.
Click to expand...
Click to collapse
I was able to fix it using old method. I removed all files, reboot and redid the process again and it worked...
Thank you bro..
ante0 said:
Post your full model (BLA-LxxCxxxBxxx)
Click to expand...
Click to collapse
Hi ante0,
Sorry late reply. I manage to flash kangvip rom with your help. But stil ive lost huawei themes and cant install as well.
Pls guide me. Model BLA-L29 8.0.0.128(C636).
thank you.
eabrillos said:
Hi ante0,
Sorry late reply. I manage to flash kangvip rom with your help. But stil ive lost huawei themes and cant install as well.
Pls guide me. Model BLA-L29 8.0.0.128(C636).
thank you.
Click to expand...
Click to collapse
Try this one: https://forum.xda-developers.com/showpost.php?p=74692542&postcount=8 (only themes)
Or the one I posted above
https://forum.xda-developers.com/showpost.php?p=75146353&postcount=7 (full hw/public data, not tested but should work.)
this is my solution ( made by me ) after trying many solutions over this forum @ other forums
just
1- delete any folder for themes u made (as hw_init or themes in root folder or at any site )
2- make folder & name it ( HWTHemes ) in internal memory
3- download this folder & put it inside (HWTHemes )
4- go to themes app and chose ** Aqua theme ** & apply it
5- no need to change any permissions
this was try on huawei y 7 2017
Hey, i have the problem that i relocked bootloader and uninstalled all root related things since i didnt use it anymore. Is there a way to make the Themes working again?
ante0 said:
For ALP-L29C636
https://www.dropbox.com/s/fh9cpipxjp2k6ud/L29C636_data.tgz?dl=0
Move file to phone, use file explorer to move file to /data or use mv command below
using terminal: (Terminal emulator or your choice from the play store)
su
mv /sdcard/L29C636_data.tgz /data/
cd /data/
tar zxvf L29C636_data.tgz
This will install both the HW data and public data.
Click to expand...
Click to collapse
what would happen if i try this on alp-l29c185?
or even better... howbcan i find this file for c185
bRkiX said:
what would happen if i try this on alp-l29c185?
or even better... howbcan i find this file for c185
Click to expand...
Click to collapse
Easier way:
Flash ALP test twrp from here: https://forum.xda-developers.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904 (fastboot flash recovery_ramdisk twrp_alp_test_0.1.img)
Download Public and HW zip from hwmt (http://pro-teammt.ru/firmware-database/)
Search for your full firmware including build (ALP-L29C185Bxxx)
In the FullOTA row click on the "file list" link, copy and paste link for update_data_full_public.zip and HW data for L29 into a new browser tab so it downloads.
Boot to TWRP and flash public zip first then HW data zip.
They will throw some errors but flash fine.
ante0 said:
Easier way:
Flash ALP test twrp from here: https://forum.xda-developers.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904 (fastboot flash recovery_ramdisk twrp_alp_test_0.1.img)
Download Public and HW zip from hwmt (http://pro-teammt.ru/firmware-database/)
Search for your full firmware including build (ALP-L29C185Bxxx)
In the FullOTA row click on the "file list" link, copy and paste link for update_data_full_public.zip and HW data for L29 into a new browser tab so it downloads.
Boot to TWRP and flash public zip first then HW data zip.
They will throw some errors but flash fine.
Click to expand...
Click to collapse
here is what hapened..
only themeni got in themes app was dubai font? a was affraid to click it because i thought font would change to arabic...
then i installed few themes from playstore. clicked on them.. nothing happened... and then i accidentaly clicked dubai font theme... did nothing except changed font.. to different but stil normal letters not arabic... but then... after few seconds theme app suddenly comed to life...presented me with normal interdace and ability to choose from hundrets of apps... as usual before rooting... afterbthat inwas ablebto chang theme to what ever...
really saved me tons of time... i dont know if this qoiodnwork for anybodY else...

Categories

Resources