Android 5.0 Lollipop memory leak fix for LG G Watch - LG G Watch

As you may know, there's a well-known Android 5.0 Lollipop issue - Memory leak.
Lots of community built ROMs out there has already applied the "supposed" fix.
Why not our LG G Watch?
For such devices which has a very long uptime, memory leaks are critical.
This "fix" should benefit to a "stabler" LG G Watch
Just throw the attached "services.jar" on /system/framework and reboot.
It'll rebuild all of the ART caches, so the initial boot after applying may take up to 15 minutes.
<Tested on Android 5.0.2 Lollipop build>
V2 - Support for Android 5.0.2 Lollipop build
Memory leak patches taken from
https://github.com/temasek/android_frameworks_base/commits/cm-12.0/services/core/java/com/android/server/display
Thanks to @temasek !!

Hello arter97. Thanks for your support. Could you please be so kind to tell us how to do it?
For your information, I am currently on Gohma 2.3 and to tell you the truth, with the wear mini launcher running on the background, the g watch sometimes feels unresponsive.
Thanks again for your patience

Does this require root

Hey is there anyway that you might be able to make a flashable zip so we can install it with twrp? Please

ewalk4866 said:
Hey is there anyway that you might be able to make a flashable zip so we can install it with twrp? Please
Click to expand...
Click to collapse
Let me see what I can do. I tried adb pushing the file into /system/framework/ myself, but kept running into read only issues.

Apoplectic1 said:
Let me see what I can do. I tried adb pushing the file into /system/framework/ myself, but kept running into read only issues.
Click to expand...
Click to collapse
Make it with TWRP also Recovery

sallto said:
Make it with TWRP also Recovery
Click to expand...
Click to collapse
And here we go.
https://drive.google.com/file/d/0B7r1gfrm1vXoYVJzVEdkYjNEUTg/view?usp=sharing

Great thank you

Can someone please post instructions for getting the zip file on to the watch so that it can flashed by TWRP. Or how to move the services.jar to the proper location on the watch with correct permissions. I have already searched the threads, however all I can find are how to sideload apps not move files.
*Update* Finally found what I needed, so here it is.
adb push services.zip /sdcard/services.zip

Moguledyouth said:
Can someone please post instructions for getting the zip file on to the watch so that it can flashed by TWRP. Or how to move the services.jar to the proper location on the watch with correct permissions. I have already searched the threads, however all I can find are how to sideload apps not move files.
*Update* Finally found what I needed, so here it is.
adb push services.zip /sdcard/services.zip
Click to expand...
Click to collapse
That's the one, though I usually do adb push services.zip /sdcard/Download/services.zip, but it makes no difference whether it's in the sdcard, or a subdirectory.

Great job guys, my watch is finally usable again, thanks a lot @arter97 for making this and @Apoplectic1 for making it a zip so it is easier to apply the mod.

Do we still need this file if we're on 5.0.2?

arter97 said:
As you may know, there's a well-known Android 5.0 Lollipop issue - Memory leak.
Lots of community built ROMs out there has already applied the "supposed" fix.
Why not our LG G Watch?
For such devices which has a very long uptime, memory leaks are critical.
This "fix" should benefit to a "stabler" LG G Watch
Just throw the attached "services.jar" on /system/framework and reboot.
It'll rebuild all of the ART caches, so the initial boot after applying may take up to 15 minutes.
<Tested on Android 5.0.1 Lollipop LWX48P build>
Memory leak patches taken from
https://github.com/temasek/android_frameworks_base/commits/cm-12.0/services/core/java/com/android/server/display
Thanks to @temasek !!
Click to expand...
Click to collapse
@arter97 is this fix also available for Nexus 5? I've used this - isn't it enough?
Thanks

Thank you! I'm waiting for an updated Ghoma release as I didn't see any sense in returning to stock to do the ota update, while it works its very smooth for me, in the mean time we'll see if this solves my crash about every-other day issue.
FYI if you're having trouble pushing the file directly to /system/framework I'd recommend placing it somewhere that doesn't require root privs to write to, such as /sdcard/Download and then doing an adb shell, su, remount system, and copying it from there into /system/framework. Make sure you back up your current services.jar in case something goes wonky.
--edit-- ERROR: caused watch to fall into a completely unresponsive state, though the time was still updating. Had to connect to usb and force a reboot with adb to break it out of whatever happened. Don't have time to diagnose further right now, reverted to stock services.jar for the moment. I'm not saying this is a general issue with this mod yet, just that it didn't work on my watch.

New V2 for 5.0.2 is now up.

Im getting "read only file system" or something like that. Also cant get it to work with su commands. I'd appreciate if someone will make flashable zip for 5.0.2 update (im currently on stock recovery, but it can be changed easily with g watch tools)

Actually i made flashable zip myself (not sure if correct, but it worked). But considering fact that first "services.jar" which was uploaded for older version should replace file by same name in system/framework, shouldnt newest version be called "services" also? Now i ended up having in my framework folder "services_v2.jar" AND "services.jar". Should i rename this one with "v2"? Or is it intended to leave both of them?

Lasiu said:
Actually i made flashable zip myself (not sure if correct, but it worked). But considering fact that first "services.jar" which was uploaded for older version should replace file by same name in system/framework, shouldnt newest version be called "services" also? Now i ended up having in my framework folder "services_v2.jar" AND "services.jar". Should i rename this one with "v2"? Or is it intended to leave both of them?
Click to expand...
Click to collapse
It's only services.jar. Rename the new one.

Thanks @arter97! Looking forward to a more stable 5.0.2!

buru898 said:
It's only services.jar. Rename the new one.
Click to expand...
Click to collapse
Thats what i did, working great, thanks! Do any of you by any chance know how to stop ota notification from appearing? (i tried going back to 5.0.1 after installing 5.0.2 but this notification appeared again )

Related

[Q] Installing updates after rooting?

So, I've used Revolutionary to S-off and root, but now there's a system update (I assume for the security vulnerability that was found a week or two ago). I'd like to install this update, but it just fails when I try... Does anyone know how to turn it into a flashable zip, or will I have to un-s-off/root, update, then re-s-off/root?
A hotfix for the vulnerability is not out yet - you tought HTC is that fast But if you can find it you can remove /system/app/HtcLoggers.apk from your rooted Flyer (with an app like File Expert that can mount partitions like /system).
Since you are still stock you might have been offered an incremental update, but I guess soon you will want to flash a custom ROM that already includes it anyway.
Lucas0511 said:
A hotfix for the vulnerability is not out yet - you tought HTC is that fast But if you can find it you can remove /system/app/HtcLoggers.apk from your rooted Flyer (with an app like File Expert that can mount partitions like /system).
Since you are still stock you might have been offered an incremental update, but I guess soon you will want to flash a custom ROM that already includes it anyway.
Click to expand...
Click to collapse
It appears there's a new update today, and it's only about 4.5 megs - I think HTC may actually be that fast
I really don't want to install a ROM, I just want stock with root (to help with development)... Any suggestions appreciated!
To answer my own question, I downloaded the OTA on the device, then I used adb to copy it to my computer (it's in /sdcard/downloads/). I edited the zip so that it wouldn't flash the recovery (there's a recovery.img in firmware.zip inside the OTA zip - remove it), copied it to the external SD card, then flashed it via ClockworkMod (it won't update via the HTC updater).
Something to make sure of, you MUST be running stock - it patches files rather than reinstalls them, so this will fail if there are any differences. This includes build.prop. You can make any changes you like after flashing of course.
Don't forget to backup before doing anything of course! Another warning, ClockworkMod fails silently if your SD card doesn't have enough room for the backup, so make sure you have plenty of space beforehand too!
Hope this helps someone.
Cwiiis said:
To answer my own question, I downloaded the OTA on the device, then I used adb to copy it to my computer (it's in /sdcard/downloads/). I edited the zip so that it wouldn't flash the recovery (there's a recovery.img in firmware.zip inside the OTA zip - remove it), copied it to the external SD card, then flashed it via ClockworkMod (it won't update via the HTC updater).
Something to make sure of, you MUST be running stock - it patches files rather than reinstalls them, so this will fail if there are any differences. This includes build.prop. You can make any changes you like after flashing of course.
Don't forget to backup before doing anything of course! Another warning, ClockworkMod fails silently if your SD card doesn't have enough room for the backup, so make sure you have plenty of space beforehand too!
Hope this helps someone.
Click to expand...
Click to collapse
Removing the recovery.img? I've rezipped everything and it's only 510kb now, surely that cant be it?
Recovery.img's are large files it was just a minor updat to probably fix a couple internal things nothing major. It was a small file at 4mb already.
Hy
Can you please upload the edit-update?
Thanks
ric242 said:
Hy
Can you please upload the edit-update?
Thanks
Click to expand...
Click to collapse
Will do once i'm home!
adaimespechip said:
Will do once i'm home!
Click to expand...
Click to collapse
Thanks! Might be able to make it into a flash able zip.
Cwiiis said:
To answer my own question, I downloaded the OTA on the device, then I used adb to copy it to my computer (it's in /sdcard/downloads/). I edited the zip so that it wouldn't flash the recovery (there's a recovery.img in firmware.zip inside the OTA zip - remove it), copied it to the external SD card, then flashed it via ClockworkMod (it won't update via the HTC updater).
Something to make sure of, you MUST be running stock - it patches files rather than reinstalls them, so this will fail if there are any differences. This includes build.prop. You can make any changes you like after flashing of course.
Don't forget to backup before doing anything of course! Another warning, ClockworkMod fails silently if your SD card doesn't have enough room for the backup, so make sure you have plenty of space beforehand too!
Hope this helps someone.
Click to expand...
Click to collapse
Thanks for the helpful guidelines...
Just a quick question and pardon me since I am a newcomer to Android universe. What do You mean when You say stock?
Thanks again...
BTY
HTC_Flyer / Revolutionary / CWM

Can't turn off OTA notification

AKA "For the love of all that's good and holy, how do I stop this?"
I've deleted the FOTA folder, and when I get the notification (about 30 times a day), I long press for App Info, but the Show Notifications checkbox is checked and greyed out so I can't uncheck it.
I tried downloading Disable Service from the Play Store, but it reports that SystemUpdateService is disabled, yet I'm still getting this notification.
Clearly, this is quite frustrating. Thanks for any help.
How did you disable it? I have seen people say TI didn't stop it, and the hidden menu didn't do it. Those peeps had to do both.
Freezing system update in titanium worked for me or flash another rom similar to stock
wwevoxnj said:
Freezing system update in titanium worked for me or flash another rom similar to stock
Click to expand...
Click to collapse
This is how i stopped it right here...
Just delete system update.
Did you try disabling ota in the hidden Verizon menu? Dial ##3328873 + send + 000000, uncheck ota, then delete fota files in cache again and rename LGDMSClient.apk and the same for the .odex file to .bak. Renaming seems what's working for most people instead of freezing.
Reboot
That should take care of it for you.
Deleted - already covered
Kris Nelson said:
Did you try disabling ota in the hidden Verizon menu? Dial ##3328873 + send + 000000, uncheck ota, then delete fota files in cache again and rename LGDMSClient.apk and the same for the .odex file to .bak. Renaming seems what's working for most people instead of freezing.
Reboot
That should take care of it for you.
Click to expand...
Click to collapse
The file rename worked for me. I took all the steps above and even downloaded the exposed module AppOps to no avail
GTiceman said:
The file rename worked for me. I took all the steps above and even downloaded the exposed module AppOps to no avail
Click to expand...
Click to collapse
Where can I find the files I need to edit. I see cache.. but where is that located?
AB_ said:
Where can I find the files I need to edit. I see cache.. but where is that located?
Click to expand...
Click to collapse
system, app
Kris Nelson said:
Did you try disabling ota in the hidden Verizon menu? Dial ##3328873 + send + 000000, uncheck ota, then delete fota files in cache again and rename LGDMSClient.apk and the same for the .odex file to .bak. Renaming seems what's working for most people instead of freezing.
Reboot
That should take care of it for you.
Click to expand...
Click to collapse
Dang! I was looking for that info last week after I received my G3. I finally just took the OTA from 10B to 11C. Yeah, I can flash back but geez that would have been easier.
Thanks! (I did hit the Thanks Button)
What is that app called that I need to rename?edit: found it
Total noob here but know enough to be dangerous. I'm rooted and unlocked and was able to turn off OTAs this way. Question I have is whether there are simple and straightforward instructions on downloading and installing the lastest KDZ updates available. I did download 11C (and decompressed with LG Firmware Extract for Win) but I'm lost as to the proper steps to take from here to make sure I don't brick my precious Any resources would be much appreciated!
Darkmatter661 said:
Total noob here but know enough to be dangerous. I'm rooted and unlocked and was able to turn off OTAs this way. Question I have is whether there are simple and straightforward instructions on downloading and installing the lastest KDZ updates available. I did download 11C (and decompressed with LG Firmware Extract for Win) but I'm lost as to the proper steps to take from here to make sure I don't brick my precious Any resources would be much appreciated!
Click to expand...
Click to collapse
http://forum.xda-developers.com/lg-g3/development/psa-stop-taking-ota-updates-update-t2909412
bweN diorD said:
http://forum.xda-developers.com/lg-g3/development/psa-stop-taking-ota-updates-update-t2909412
Click to expand...
Click to collapse
Thank you. I had already scrutinized this thread quite a bit, it actually directed me here and got me to the where I'm at now. However, where do I get the boot.img,modem.img,system.img files - they were not included in the KDZ. All I see in there are a bunch of bin files...
Darkmatter661 said:
Thank you. I had already scrutinized this thread quite a bit, it actually directed me here and got me to the where I'm at now. However, where do I get the boot.img,modem.img,system.img files - they were not included in the KDZ. All I see in there are a bunch of bin files...
Click to expand...
Click to collapse
The IMG files are not in the update zip. They are somewhere in that ota incoming thread. I can post the links later if you can't find them. I'm hosting the system. IMG and have the modem.img, not sure if I have the boot, probably.
Sent from my G3, with mods made possible by team Codefire.
Darkmatter661 said:
Thank you. I had already scrutinized this thread quite a bit, it actually directed me here and got me to the where I'm at now. However, where do I get the boot.img,modem.img,system.img files - they were not included in the KDZ. All I see in there are a bunch of bin files...
Click to expand...
Click to collapse
here are the files. i actually dont have the boot. probably because i never flashed it, didnt see the point. if you are going to move on to a custom rom, there is no point in flashing the system either.
http://www.mediafire.com/download/k33b3gj47xzjyk0/modem-11c.img
http://www.mediafire.com/download/q36hb82dx4eo2cw/system.img
bweN diorD said:
here are the files. i actually dont have the boot. probably because i never flashed it, didnt see the point. if you are going to move on to a custom rom, there is no point in flashing the system either.
http://www.mediafire.com/download/k33b3gj47xzjyk0/modem-11c.img
http://www.mediafire.com/download/q36hb82dx4eo2cw/system.img
Click to expand...
Click to collapse
Thanks! So I'm on 10B now, going to 11C. I get that I need to place the Flash2 zips on the phone, which I've done. I also get that I will place modem-11c.img and system.img in the same folder, then in TWRP, flash the zips. Is that it? I presume that I no longer really need teh KDZ I downloaded since that's basically in these files you're providing. Thanks again!
Darkmatter661 said:
Thanks! So I'm on 10B now, going to 11C. I get that I need to place the Flash2 zips on the phone, which I've done. I also get that I will place modem-11c.img and system.img in the same folder, then in TWRP, flash the zips. Is that it? I presume that I no longer really need teh KDZ I downloaded since that's basically in these files you're providing. Thanks again!
Click to expand...
Click to collapse
sounds close. also you need to remove the -11c from the modem file name.
bweN diorD said:
sounds close. also you need to remove the -11c from the modem file name.
Click to expand...
Click to collapse
That's correct.

[ROM][STOCK] Butternoob v2, Stock 4.4.4 [07/19/15]

PLEASE READ NEW FLASHING INSTRUCTIONS​
Disclaimer:
I am not responsible for any bricks. By flashing this you understand that no one involved with the making of this Rom is responsible for a brick. However, if two nations go to war, that's okay, because they will destroy themselves and their people will worship me, THE BUTTAHLORD OF BUTTERNOOBIA!!!
I mean uhh... No, very bad thing, no countries should not go to war *cough* destroy yourselves *cough*
PLEASE READ ENTIRE THREAD BEFORE FLASHING, D/Ls and Changelog in 2nd Post​
Okay past the joking, this is a stock, rooted KitKat ROM for the ZTE ZMAX. The deodexed version would not boot, so this is odexed. However, this version is free of any King Related apps and I've also removed the little bit of crapware in the device.
FEATURES:
Removal of All King Related Apps
Pre-Rooted
Clear of Bloatware
Added Xposed
Added SuperSU
Removed crappy ZTE/Metro/TMO apps
Overall Clean experience
HOW TO FLASH (NEW INSTRUCTIONS):
1. Place ZIP on SD Card
2. Reboot Into TWRP
3. NANDROID (DO NOT SKIP THIS FOR YOUR SAKE)
4. Don't factory reset the normal way, go to wipe > advanced wipe and click "dalvik cache", "data", "cache" and "system". If you don't, you run the risk of getting an updater-script error (not from the zip, it's a bug in some TWRP builds).
5. New Step: Reboot recovery (in the recovery menu). It will ask if you want to install su, press do not install.
5. Flash the ROM
6. Reboot and rep Butternoob!
BUGS:
Free and clear, you tell me!
ADDITIONAL INFORMATION:
Butternoob has been confirmed to work on all variants of the ZTE ZMAX by at least two people on each variant. THIS IS NOT SUPERBUTTER! For those that don't know, Superbutter will be a heavily modified custom rom. Butternoob was designed to be a stock, clean experience with solid performance. I may add tweaks, but you won't find a lot beyond the stock experience.
CREDITS:
-XDA User Mazer.One for the Bootanimation. I made some edits to his and don't take credit for the original work.
-JCase for helping us get root
-Hroark13 for helping me fix the wifi issue in the updater-script
-ZTE Because I have to... They are banished from ButterNoobia though...
-Masterchief87 for the 4.4.4 base and boot.img
ENJOY, REPORT BUGS, FEEL FREE TO USE AS A BASE AND GIVE PROPER CREDITS!
People have asked what my PayPal email is for donations, it is [email protected] . Never required but always appreciated, I'll give 100% regardless
Changelog:
V2:
-Updated to Android 4.4.4 base
-Band 12 Ready
-Replaced Google Launcher with Apex
--Advice on Apex: Go into menu > apex settings > drawer settings > drawer animation > circle to enable Lollipop-style animation for the drawer opening!
-Fixed SuperUser (All binaries updated)
-Fixed Gapps Force Closes
- New Wallpaper, taste of the SuperButter
-All bugs are squashed
V1:
-Initial Release
-Android 4.4.2
-Removed T-Mobile Apps
-Removed ZTE Apps (i.e. music, file manager, etc.)
DOWNLOAD:
BUTTERNOOB Stock 4.4.4 v2.0
md5: E44F1F84B47D3C4401DA522D0A7494F5
BUTTERNOOB Stock 4.4.2 v1.0
md5: 092cee0504d07fa4decde02d2206a2b7
Mine again
Cricket Zte Z987
Will this work on Cricket ZTE Z987 model
How to enable VOLTE on this rom?
work
will this work on ZMAXX Z958 ?
kas hif said:
will this work on zmaxx z958 ?
Click to expand...
Click to collapse
no. Don't try it. Unless you want to buy another phone.
Having an odd issue with LTE. When I call with LTE enabled, it tries to force the call through VOLTE, rather than handing off to a 4g (or whatever) local band. The call, of course, fails with no audio in or out; is this a known issue, is there a workaround, do I need to re-flash, or is this something weird that nobody's heard about before?
Does this work on Grand X Max + Z987?
Sent from my Z987 using Xparent Blue Tapatalk 2
Zmax Z970 RamDisk Boot.img packing problem
Hi,
Im attempting to repack the ram-disk image for my boot img on my ZTE Zmax z970 running the BN 2.0-oxed ROM. I was trying to use gzip with mkbootimg and it is not working, im assuming due to the fact that my newly repacked ram-disk cpio compressed file was not the same size as the original making the phone fail to boot when the boot.img was sent back to the boot block. My pc is running Ubuntu 14.04-32 bit. I know that the unpack-bootimg and mkbootimg scripts are working correctly because when i repack an unchanged boot.img-ramdisk.cpio.gz file (unpack the img and recreate the boot.img file) and re-upload it to the boot block, the phone boots correctly so I know that my procedures outside of the ram-disk cpio file are correct. My question is, How can I find out how much padding i need on the ram-disk file, where the padding should go, and how to apply the padding to get the file the correct size so that it will work as intended? Any help you can give me would be greatly appreciated.
P.S. I only unpackaged the boot image to change one entry in the ramdisk to the default.prop file. If there is a way to open the compressed cpio file with an archive manager and could update the file once i make my change. that would work as well. I can open the gz file with the archive manager but can not open the cpio folder contained inside.
Thanks,
Much appreciation.....f20062e
I followed your directions. Surprisingly it was super easy! Thanks!!!!!
Does this work on 6.0.1 Zmax Pro Tmobile?
link
Need link to root the z981 and link for twrp to install the recovery image. Thanks all for the hard work this excellent community pours out on a daily basis!
Hi there! I just got this flashed, and I need to know if it's safe to do an OTA update over your ROM.
Thanks a ton!
ZTE 982
Hi there good morning I have a big question, I have the ZTE z982 from MetroPCS I went ahead and rooted and installed TWRP on it. Now I was having some issues trying to flash a custom rom Slimrom to be exact (https://forum.xda-developers.com/zte-zmax/development/slimrom-5-0-2-t3161888) but I kept getting errors about legacy property? So something along those lines. Well I then read somewhere that it could be because of TWRP being outdated. I took it upon myself to look and find an .IMG witch I then flashed and now am stuck with a sorta bootloop flashes on but the screen goes black. Any suggestions? I would really appreciate it.
how did you get past fastboot. my z982 cant find device there?
soLo1Blue said:
Hi there good morning I have a big question, I have the ZTE z982 from MetroPCS I went ahead and rooted and installed TWRP on it. Now I was having some issues trying to flash a custom rom Slimrom to be exact (https://forum.xda-developers.com/zte-zmax/development/slimrom-5-0-2-t3161888) but I kept getting errors about legacy property? So something along those lines. Well I then read somewhere that it could be because of TWRP being outdated. I took it upon myself to look and find an .IMG witch I then flashed and now am stuck with a sorta bootloop flashes on but the screen goes black. Any suggestions? I would really appreciate it.
Click to expand...
Click to collapse
No matter what I do I cannot get this vile little phone to root. It is located in adb but fastboot just isnt there or doesnt' want to find it. I have tried every dang driver you can think of and still nothing in fastboot. I must know its driving me crazy. I have got to where i absolutely hate this phone!
works on z981 ??

Flashing Issues | Will not pass Android Logo on XtreStolite ROM

Flashing Issues | Will not pass Android Logo
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
RockyCaballero said:
I have have the T-Mobile version of the S5 and it is currently running XtreStolite rom on lollipop. I have been messing around with the SystemUI and framework apks. (getting them to work every now and again)
However, I was searching around and tried to push the apk files through adb at first, instead of a complete reflash with the modified apks inside, with no luck. Adb says that the files were successfully sent but are not there and no changes are made. I then stumbled across a method using a flashable zip that is supposed to just replace the files I need.
I n doing so, after reboot the phone just sits at the Android Logo on powerup, them I have to reflash or restore my recovery. My question is this: Is there a method that allows me to setup a flashable zip with the system/priv-app/systemui/systemui.apk so that it will only replace those files and not the whole system folder itself?
There may be some more information that I am leaving out, sorry I have not slept all night and I am about to go to class.
Thanks in advance, if I have posted incorrectly, please advise.
Click to expand...
Click to collapse
Here download this https://www.androidfilehost.com/?fid=24052804347782219
Extract and Add whatever directories/folders you want inside the system folder and flash. The script just extracts the system folder as a whole so as long as you make the correct folders, file names, directories etc it'll flash everything to the right spot.
Delete the jar file out of system/framework/ tho since it's a 5.1.1 jar file I did
Much obliged sir, worked perfectly. I'm sure it was the coding. [emoji2]

B170 update arrived

So my friend got an update to the huawei XT. He was already at b160. The new update is labeled as b170 which i think it could gain some hope this phone will get nougat sometime (most likely not). The update only has a device security patch. The security is from june 5 which is pretty old but i guess it's better. If someone else received the update post it here
got the notice for update at noon today - but alas, I have mine rooted so it tried to update, and then reset and is back at 160.
and yes, was really hoping beyond hope for some Nougat...
We need someone then to unroot the phone and update to b170 or at least check how to update to b170
See this post and links in it for how we updated before if the phone was already rooted (and for stock phones that can't OTA due to non-AT&T SIM) :
https://forum.xda-developers.com/showpost.php?p=73488912&postcount=1818
ensol52 said:
So my friend got an update to the huawei XT. He was already at b160. The new update is labeled as b170 which i think it could gain some hope this phone will get nougat sometime (most likely not). The update only has a device security patch. The security is from june 5 which is pretty old but i guess it's better. If someone else received the update post it here
Click to expand...
Click to collapse
Paisley Pirate said:
got the notice for update at noon today - but alas, I have mine rooted so it tried to update, and then reset and is back at 160.
and yes, was really hoping beyond hope for some Nougat...
Click to expand...
Click to collapse
divineBliss said:
See this post and links in it for how we updated before if the phone was already rooted (and for stock phones that can't OTA due to non-AT&T SIM) :
https://forum.xda-developers.com/showpost.php?p=73488912&postcount=1818
Click to expand...
Click to collapse
If anyone is able to capture the B170 update and upload it somewhere I'll try and make a TWRP flashable update
My phone doesn't see any updates yet
Could you briefly describe how to do this please? Can it be done from a phone with a locked bootloader or must the bootloader be unlocked?
clsA said:
If anyone is able to capture the B170 update and upload it somewhere I'll try and make a TWRP flashable update
My phone doesn't see any updates yet
Click to expand...
Click to collapse
divineBliss said:
Could you briefly describe how to do this please? Can it be done from a phone with a locked bootloader or must the bootloader be unlocked?
Click to expand...
Click to collapse
you would need Root and a Root explorer - file manager
you would go to settings / Software update / download the update
choose to install it later
then with the root explorer search your phone for an update.zip
I'm not sure where it's stored I'm looking for that information now
after you find the update.zip file copy it to your phones storage and upload it to your google drive (or anywhere I can download it from)
if you know the exact location the update.zip is stored you could possibly adb pull the file without having root
Update should be in /cache/fotapkg/update.zip
clsA said:
you would need Root and a Root explorer - file manager
you would go to settings / Software update / download the update
choose to install it later
then with the root explorer search your phone for an update.zip
I'm not sure where it's stored I'm looking for that information now
after you find the update.zip file copy it to your phones storage and upload it to your google drive (or anywhere I can download it from)
if you know the exact location the update.zip is stored you could possibly adb pull the file without having root
Update should be in /cache/fotapkg/update.zip
Click to expand...
Click to collapse
iirc, on huawei, it's in a folder on internal storage. shouldn't need root to grab it.
redbeard1083 said:
iirc, on huawei, it's in a folder on internal storage. shouldn't need root to grab it.
Click to expand...
Click to collapse
HwOUC/****** (numbers)
redbeard1083 said:
iirc, on huawei, it's in a folder on internal storage. shouldn't need root to grab it.
Click to expand...
Click to collapse
MT2-User said:
HwOUC/****** (numbers)
Click to expand...
Click to collapse
Thanks seems AT&T likes to put them in the path I described though
I'm pretty sure we can edit the updater script to install this from TWRP if someone captures it
clsA said:
you would need Root and a Root explorer - file manager
you would go to settings / Software update / download the update
choose to install it later
then with the root explorer search your phone for an update.zip
I'm not sure where it's stored I'm looking for that information now
after you find the update.zip file copy it to your phones storage and upload it to your google drive (or anywhere I can download it from)
if you know the exact location the update.zip is stored you could possibly adb pull the file without having root
Update should be in /cache/fotapkg/update.zip
Click to expand...
Click to collapse
working on grabbing it now.
Tried grabbing it - and messed up and got past the waiting part - it tried to update and (of course) failed. I'll give it another shot shortly.
Paisley Pirate said:
working on grabbing it now.
Tried grabbing it - and messed up and got past the waiting part - it tried to update and (of course) failed. I'll give it another shot shortly.
Click to expand...
Click to collapse
Good deal .. what was the name and path to the update file ?
you could possibly grab it with the TWRP file manager also
clsA said:
Good deal .. what was the name and path to the update file ?
you could possibly grab it with the TWRP file manager also
Click to expand...
Click to collapse
When I get it I'll get all that as well.
The ATT update note calls it B160_B170_SMR_100 , I hit continue when I tried to hit "remind me later" - but it redownloaded.
Ghost Commander shows nothing in the /cache - odd - so I don't know where it's actually sticking it. I'm searching for it both under that name above and also as update.zip and anything else I can think of (by date, since it just re-downloaded)
I'll grab and document all the info on what I got where.
File is in /cache/fotapkg/ but is named package_temp.zip
I have it out, xda won't accept the file that large, trying to figure out how to link that file only to my onedrive so you can get it without access to all my other junk (sorry)
clsA said:
Good deal .. what was the name and path to the update file ?
you could possibly grab it with the TWRP file manager also
Click to expand...
Click to collapse
https://1drv.ms/u/s!AkvKyEBneZGLjuQ44wo1pwjtdbgOCA
OneDrive link to file package_temp.zip should be 102 mb in size.
Got it using Total Commander. It seems to be better at grabbing root files than Ghost was.
Also, one other note - I modified the permissions from root root to everyone so that may need to get changed back (or not - you tell me) to be able to get it to move.
Paisley Pirate said:
https://1drv.ms/u/s!AkvKyEBneZGLjuQ44wo1pwjtdbgOCA
OneDrive link to file package_temp.zip should be 102 mb in size.
Got it using Total Commander. It seems to be better at grabbing root files than Ghost was.
Also, one other note - I modified the permissions from root root to everyone so that may need to get changed back (or not - you tell me) to be able to get it to move.
Click to expand...
Click to collapse
ok my phone doesn't see the file as an update ..where was it located ?
that is the file sent down from ATT to the phone. I have unzipped it and looked at it as well -it's 209MB unzipped. Contains the following files and drawers:
cust.new
cust.patch
cust.transfer
system.new
system.patch
system.transfer
UPDATE.APP
(drawer) META-INF
(drawer) com
(drawer) android
otacert
(drawer) google
(drawer) android
update-binary
update-script
blacklist.conf
CERT.RSA
CERT.SF
MANIFEST.MF
If you can't get the .zip to open, let me know and I'll stick it on one drive unzipped.
Paisley Pirate said:
that is the file sent down from ATT to the phone. I have unzipped it and looked at it as well -it's 209MB unzipped. Contains the following files and drawers:
If you can't get the .zip to open, let me know and I'll stick it on one drive unzipped.
Click to expand...
Click to collapse
file opens fine ..where was it located on the phone
clsA said:
file opens fine ..where was it located on the phone
Click to expand...
Click to collapse
as I said earlier - /cache/fotapkg/
Paisley Pirate said:
as I said earlier - /cache/fotapkg/
Click to expand...
Click to collapse
Well I'm sorry to report so far I have had no luck installing this thing
I have tried the dload/update.app using the dialer method and the update flashes but you have no wifi afterwords
and the phone still shows you on B160 (cust not updated / system files not patched)
I also tried with Flashify and Stock recovery and used an edited updater script in TWRP and all fail for one reason or another
Sooo the only way we will get this is if someone that has done the update
uses TWRP and creates a system.img and cust.img and uploads it somewhere for me
So I can build the B170_Full_Update.zip
Any idea how the phone installs this OTA zip file?
Is the updater-script failing because of assert statements for cust and system?
Have you had success patching cust and system using the OTA updater-script/OTA zips for the Huawei Ascend XT before? How did you end up getting the cust and system for your B160 Update zip? Probably from a TWRP of someone's updated B160, which is what we need to do for B170 now, I'm guessing?
Thanks for your efforts on this and answering my questions.
clsA said:
Well I'm sorry to report so far I have had no luck installing this thing
I have tried the dload/update.app using the dialer method and the update flashes but you have no wifi afterwords
and the phone still shows you on B160 (cust not updated / system files not patched)
I also tried with Flashify and Stock recovery and used an edited updater script in TWRP and all fail for one reason or another
Sooo the only way we will get this is if someone that has done the update
uses TWRP and creates a system.img and cust.img and uploads it somewhere for me
So I can build the B170_Full_Update.zip
Click to expand...
Click to collapse

Categories

Resources