yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
Note: This is NOT A FIX FOR SOFTBRICKED DEVICES. This is simply an easy way for someone who is rooted to easily update /system to the most recent build without erasing user data.

Please note this is not a clean factory flash - this does not flash radio or bootloader, and does not wipe /data. This works regardless of whether you have a custom kernel or unlocked bootloader.

This assumes that you already know how to use ADB and fastboot.

1. Download the latest factory image for your device from HERE.

2. Unzip the archive.

3. Open the folder it was unzipped to, and you will find an archive titled "image-[device]-[build number].zip. Copy this to your ADB/fastboot folder.

4. Connect your phone and reboot to bootloader.

5. Type:

fastboot update [name of image].zip

6. Wait for the process to finish. Phone will automatically reboot into system when complete.

Congratulations, you are now on the latest factory system image. This overwrites boot, dtbo, and breaks root, so reflash kernels and Magisk as desired. Be aware that the kernel you are flashing must match the security update you flashed.

If for whatever reason you do want to wipe /data when flashing this, use:

fastboot -w update [name of image].zip

If you want to update your radio, simply pull the radio.img from the factory zip, and while in bootloader, type:

fastboot flash radio [name of radio image].img

After you flash bootloader and radio, make sure you use

fastboot reboot bootloader

to ensure you're on the new firmware.
[Google Pixel 2 Guides, News, & Discussion] mjondj:
I'm getting the following, any advice? I definitely dont want to wipe, and suspect flashing a bootloader image will do that?

:

:\adb> fastboot update image.zip

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

archive does not contain 'system.sig'

archive does not contain 'vendor.sig'

--------------------------------------------

Bootloader Version...: mw8998-002.0066.00

Baseband Version.....: g8998-00164-1710262031

Serial Number........: XXXXXX

--------------------------------------------

checking product...

OKAY [ 0.002s]

checking version-bootloader...

FAILED

Device version-bootloader is 'mw8998-002.0066.00'.

Update requires 'mw8998-002.0067.00.
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
Sounds like you've been without OTAs for a while.

Pull the bootloader and radio images from the .021 zip. They will be right there in the same folder as image-walleye-opm1.171019.021.zip.

Copy to fastboot folder

fastboot flash bootloader bootloader-walleye-mw8998-002.0067.00.img

fastboot reboot bootloader

fastboot flash radio radio-walleye-g8998-00164-1710262031.img

fastboot reboot bootloader

fastboot update image-walleye-opm1.171019.021.zip
[Google Pixel 2 Guides, News, & Discussion] mjondj:
---------- Post added at 04:22 PM ---------- Previous post was at 04:21 PM ----------

flashing all those won't wipe the device?
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
No. Flashing without the -w flag does not wipe. Refer to bottom of first post.
[Google Pixel 2 Guides, News, & Discussion] mjondj:
i appreciate the help, but now i'm soft bricked (wont go past G logo) after failing on system. i was rooted w/ magisk. i suspect thats what the problem was. is there any way to avoid a wipe at this point and get back up and running?
[Google Pixel 2 Guides, News, & Discussion] gee2012:
A factory reset in recovery will get it up and running again and afterwards you can reroot.
[Google Pixel 2 Guides, News, & Discussion] mjondj:
this doesnt really help. the whole point is to not wipe
[Google Pixel 2 Guides, News, & Discussion] gee2012:
Don`t think its possible without a wipe, but good luck anyways :)
[Google Pixel 2 Guides, News, & Discussion] mjondj:
the title of this thread includes the words "no wipe"
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
No wipe, extenuating cirumstances not withstanding. But I have an idea.

Boot TWRP and use ADB push to send the image.zip to /tmp. Flash using TWRP, see if that works.

Also, check out Deuce's tool here.
[Google Pixel 2 Guides, News, & Discussion] dobbs3x:
We know that, but the dude he is trying to help is soft bricked probably by following op instructions which I do t k ow why we have a other thread about anyway.
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
This method is not a fix for, nor does it address prexisting issues. Everyone is responsible for their own phones. I will help as much as I can but the responsibility lies on the user to be familiar with flashing as well as what to do if something goes wrong.
[Google Pixel 2 Guides, News, & Discussion] dobbs3x:
If you post instructions and someone bricks their phone from it then they are going to come here and post about it.

We already have threads that talk about updating and there was really no need for this one anyway.
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
My instructions didn't brick his phone. And while there are threads about updating from the factory zip without wiping, this is a manual way to update /system independently. If you feel the thread is unnecessary, let an admin know, and they will decide whether to remove it.

Or, you could simply be thankful that I'm trying to help.
[Google Pixel 2 Guides, News, & Discussion] Phil_Chambers:
Will this method work for nonrooted devices?
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
Yes. This is functionally similar to flashing the factory zip, except you're typing the commands yourself and omitting the -w (wipe) flag.
[Google Pixel 2 Guides, News, & Discussion] mjondj:
Issue solved by using this script to flash all the imgs to both slots. up and running in one pass like nothing happened:

https://xdaforums.com/pixel-2-xl/development/tool-deuces-bootloop-recovery-flashing-t3704761
[Google Pixel 2 Guides, News, & Discussion] Phil_Chambers:
I'm getting this when I try to boot the OTA .zip.

">fastboot update walleye-ota-opm1.171019.021-bb894efa.zip

archive does not contain 'android-info.txt'

error: update package 'walleye-ota-opm1.171019.021-bb894efa.zip' has no android-info.txt"

Not sure what I'm doing wrong:eek:

Edit: I had to sideload the update. But worked like a charm
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
Interesting. Did you modify the zip in any way?
[Moto G5 Questions & Answers] DrunkenPanda2000:
I can't flash my recovery.

Bootloader is unlocked.

Phone is not rooted

This sucks becouse i bought this phone thinking i whould not have this ****ing problem again.

(also lost my old one for the millionth time)
[Moto G5 Questions & Answers] Shooting Star Max:
Weird, that validation error is usually shown when bootloader isn't actually unlocked. Have you tried unlocking it again? Have you tried with mfastboot?
[Moto G5 Questions & Answers] TheFixItMan:
Either you are flashing the wrong recovery for the phone - or you renamed a zip file instead of extracting the img file first

Or

Put quotation marks around the file path eg "c:/file path" or navigate to where you have fastboot and the twrp image first so all you have to type is

fastboot flash recovery recovery.img

Also make sure adb debugging is enabled in dev options of phone settings

Also if the bootloader is unlocked you should get a bootloader unlocked warning when the device starts unless you have replaced the boot logo with a modified one

If you haven't replaced this & you don't get said warning your device doesn't have an unlocked bootloader
[Moto G5 Questions & Answers] DrunkenPanda2000:
The console is definatly finding the file. this is not the issueadb debugging is enabled. altho i realised i have the insert pattern before startup enabled and i think that might be interfering.

I am not gettIng the bootloader unlocked warning.
[Moto G5 Questions & Answers] DrunkenPanda2000:
I disabled the pattern on bootup.

I unlocked with oem unlock.

i tried to flash from directory

Same issue

Stil no unlocked warning
[Moto G5 Questions & Answers] echo92:
Just to check, have you requested and used the unlock key from the Motorola website? https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
[Moto G5 Questions & Answers] DrunkenPanda2000:
I have requested one. haven't received it yet.

The website doesn't show if eligable if click that button.

Also they havent send me anything for an houer after requesting.
[Moto G5 Questions & Answers] echo92:
Hopefully they'll send you an email with the code in soon. Sometimes the website is a little slow, but regardless it should say if your device is eligible for unlocking. Is your device a carrier bought device or a retail device or bought from Amazon Prime? They do say if your device is bought from Motorola, to wait at least 24 hours before requesting the code.

Check that the unlock string from your device is properly formatted for the website

credit to: https://forums.lenovo.com/t5/forums/v3_1/forumtopicpage/board-id/230/thread-id/2654/page/1

That code in the email should let you unlock the bootloader and let you flash TWRP, no other way to unlock your bootloader (officially). If you don't get the code after a few tries of the website/waiting for the email, you may have to post on the Motorola forums: https://forums.lenovo.com/t5/forums/v3_1/forumtopicpage/board-id/230/thread-id/2654/page/1
[Moto G5 Questions & Answers] DrunkenPanda2000:
Ok so now i unlocked with the code and when i flash i get the following.µ

Model is cedric XT1676 16GB P5

PS C:\ProgramData\chocolatey\lib\adb\tools\platform-tools> fastboot flash recovery twrp.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (14712 KB)...

OKAY [ 0.469s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.510s]

finished. total time: 0.985s

Seems to be working now.
[Moto G5 Questions & Answers] echo92:
That looks normal - the 'Image not signed or corrupt' message is normal as TWRP has not been cryptographically signed. As you've unlocked your bootloader that message is informational to alert that you're flashing non-Motorola files to your device (which you are).

I'd reboot to recovery after flashing and perform the other steps required (which appear to include disabling dm-verity: https://xdaforums.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737 )
[Moto G5 Questions & Answers] DrunkenPanda2000:
When flashing super su i get the error message

-extracting ramdisc

---failure aborting
[Moto G5 Questions & Answers] shad.man92:
Flash Magisk v16.0 instead of su zip. It will work.
[Moto G5 Questions & Answers] DrunkenPanda2000:
Thx for the advice i need to act before i post sometimes.

I've done this already now i'm facing issues with the magisk nethunter module. this will be discussed in their thread.
[Moto G5 Questions & Answers] DrunkenPanda2000:
Can i close or remove this ?
[Moto G5 Questions & Answers] shad.man92:
Yeah sure.
[Moto G5 Questions & Answers] Anms vs:
Boot loader unlock

I have tried a same,got a bootloader and tried with fastboot,but i got error 'need to enable OEM in android settings'

.Actualy my mobile stuck with logo,once moto logo appear its gets shutdown,

Looking for your reply.
[Moto G5 Questions & Answers] Dag1.:
I cant root my redmi note 8 because they said that "requested download size is more than max allowed"

I get this when I try to installer twrp to my note 8...... can someone help me plis

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

1527e81e fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img

target reported max download size of 804276224 bytes

sending 'recovery' (65536 KB)...

FAILED (remote: Requested download size is more than max allowed

)

finished. total time: 0.004s
[Samsung Galaxy S9+ Questions & Answers] sam200e:
Hi guys i have a rooted s7 and i;d like to migrate all the data to my s9+ (im not planning to root my s9+)

some of my very important data :

- Duo Security

- Google Authentication

any idea how can i copy my existing data from s7 rooted to s9 non rooted?
[Samsung Galaxy S9+ Questions & Answers] walda:
I went from unrooted s8+ to s9+ with Samsung SmartSwitch (for the apps) and with Helium Backup for AppData and solved 90% of transfer this way.

... tapat@lked.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] manhattan212:
I purchased a Verizon Note 4 N910V.05 off eBay.

When I got it, it had a custom ROM (didn't mention Verizon anywhere except for the logo on the back) and it worked fine with whatever SIM card I threw at it. At that time it was running Android 4.X

With time my phone started to get laggy and buggy, so I decided to reset to factory, and while I was at it, I decided to update to the most current official android version available to the phone: Android 6.0.1

Now, the phone won't use SIM cards I put it in it. It demands a Verizon one.

I read somewhere that I could just put one in, remove it, and then the phone should work fine with different carrier's SIM card. I tried but that didn't resolve my issue.

I also tried downgrading to previous android versions, hoping to root or do something -but no joy.

The phone shows the 4G notification and it receives (but not send) text messages -it doesn't send or receive phone calls -or data. I know the hardware is capable, because up until I updated to Android 6.0.1, it was working.

Does anyone know of a tried and true solution to getting this phone working again? Should I be trying to install a different ROM that's not for Verizon? Should I be trying to do something else? I'd really like to get my phone working again.

Any and all suggestions are appreciated.
[Android Q&A, Help & Troubleshooting] DesireC:
I'm trying to resize /system on my Nexus S to 1GB so that I can flash DmitryGR's Marshmallow port and nano Gapps. I can resize the partition just fine with GNU parted (over ADB in TWRP 2.8.7.0), but then the phone won't boot. If I re-flash the ROM, it boots, but the partition sizes go back. What am I missing?

Thanks!
[Lenovo Vibe K5 Questions & Answers] Indiguns:
Tried everything else for past 3 days, I cannot get Root access.

1) Bootloader unlocked

2) Activated Developer options

3) downloaded Su

4) Flashify or such other options don't work.

5) Also installed Minimum ADB & Fastboot, renamed recovery file, (and I believe so installed the TWRP).

Still can't get to the option of Install Recovery, Take Backup of Stock ROM or Data.

Tried Vol up + Power button, but there is no option to install (despite having SU in a memory card). The only options I get ( on a touch sensitive screen) are to test the phone on some criteria (technical terms I can''t remember) along with an option for Chinese.
[Lenovo Vibe K5 Questions & Answers] alecxs:
https://xdaforums.com/showthread.php?t=3391100
[Lenovo Vibe K5 Questions & Answers] digdeep:
If you are using Android up to version 5 use KingRoot for rooting, otherwise use Magisk.

Download Magisk manager.

Install it and download Magisk.zip. Boot to recovery and install Magisk from TWRP. Done!

How to install TWRP without Root
[HTC Startrek] MagpieMDP:
Hi, can anyone explain to me why the MicroSD needs to be removed before flashing a ROM? I have flashed my phone at least 6 times in the past fortnight (got to love all these new ROMs :D) and a couple of times I forgot to remove the MicroSD card. I have not noticed any ill effect, nor did it impact the flashing at all. From my experience it seems to be much ado about nothing. I'm curious to know where the recommendation has come from.

Mike
[HTC Startrek] tsfnet:
Hi Mike,

i can verify that flashing without removing SD Card causes problems on my T-Mob Ameo / HTC Athena. It seems that some devices cannot be flashed with inserted card. Didn't try to flash my smartflip yet, but i would still recommend to remove it (at least for unexperienced users).

Best regards
[HTC Startrek] minty1978:
I have flashed my STRTRk about 5 times now, and left the SD card in. Never had any problems.
[HTC Startrek] Erofich:
It is not necessary to remove MicroSD card when flashing StarTrek
[HTC Startrek] Confucious:
And I've flashed my Ameo many times with the card in with no problems.

What problems do you have when flashing with the card in? If they are easy enough to fix then I think the advice should be 'don't worry about it buit if you have problems then the first thing to try is to remove the memory card'

If, on the other hand, it totally screws your phone then maybe we should always remove the card just in case.
[HTC Startrek] cutiger1993:
I've flashed my 3125 a few times with the microSD card in place, and didn't have problems. However, the last time I flashed, all of the data on my card was corrupted. I lost everything, including two months worth of detailed work notes.

I realize that it can be a pain to remove the microSD card from the StrTrk, but to me it's one minute well spent to keep from potentially frying my data.:(
[Google Pixel 2 XL Questions & Answers] egren58:
Okay so I noticed that the pixel saves 2 version of the photo when portrait mode. And I want to know if there is a way to only save the portrait version and not the original picture.
[Google Pixel 2 XL Questions & Answers] EeZeEpEe:
Nope. Doesn't take up that much space anyway. Both pictures combined are around 5MB.
[Google Pixel 2 XL Questions & Answers] PuffDaddy_d:
You can manually delete non portrait version, but it's probably not worth the effort. Google photos gives free unlimited backups
[Google Pixel 2 XL Questions & Answers] egren58:
That's true but technically the photos do is your storage. It's just backed up in the cloud is not a big deal. Just thought it be a little better if only portrait was saved
[Xiaomi Redmi Note 4 Questions & Answers] KyleLee088:
Hi all,

I have a Redmi Note 4 MTK (codename Nikel) running on MIUI 9, but for some reason still on Android 6.0 Marshmallow. I've been looking for a better camera app for my phone as it has a Samsung S5K3L8 sensor which is known to be just ok but Xiaomi's software makes it even worse.

I've tried the Google Camera from this page:

https://www.xda-developers.com/google-camera-hdr-customization-raw-support/

On that page, it is written that: "As far as we can tell, this camera port relies on the Hexagon 680 DSP on a Snapdragon SoC for image processing, which is why this port does not work on other SoCs such as Kirin, Exynos, and MediaTek. The port still works on Xiaomi devices, especially the Xiaomi Mi5s which the port was originally targeted towards. Regardless of the SoC in your Xiaomi phone, give it a try and let us know how it goes!"

When installing the APK provided from that page, I face the first error, which is failed to parse file. I believe it is because the apk is made for Android 7.0 and I'm only running on Android 6.0.

I've tried an older version of Google Camera from APKMirror, made for Android 6.0 which works ok, but occasionally fails to connect to the camera, video mode and auto exposure doesn't work and manual exposure would only work in bright conditions for some reason.

I would appreciate any feedback and suggestions! Thanks!
[Xiaomi Redmi Note 4 Questions & Answers] meckar:
Bump.My camera stop working when i turn on HDR,on a custom rom and even on stock.Any advice or solution for this?
[Xiaomi Redmi Note 4 Questions & Answers] futra:
Gcam v2.7.008 works 100% on RN4 mtk nikel

I have tried and tested, working 100% on my RN4 mtk w 9.5.3.0 global stable rom (not root).

The 'depth of field' effect works on both front and rear cameras.

It's an older version 2.7.008 but it works. https://www.apkmirror.com/apk/google-inc/camera/camera-2-7-008-release/

Selfie with front camera, and a photo of my son using the rear camera. Both taken in the car, during day time.
[Xiaomi Redmi Note 4 Questions & Answers] misosofos:
I'm affraid it didn't work for me... HDR make the application crash.
[Xiaomi Mi A1 Questions & Answers] xda_kumar:
Good morning Developers,

After updating to android oreo 8.0 when i am connecting marpho device to activate sim i get the error (certificate Download failed) i can't doing any e kyc works in mi a1 after the android oreo update.... in android 7.0 it works fine... why in 8.0 i am getting the error...plz plz solve my problem, i don't have any other smart phone to do this type of work... i am a business man plz help me guys

Thanks & Regards

Kumar Debasis
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] osk4rin:
As we know we have a few treble Roms available for our device. But they are not stable at all in terms of the camera.they could be faster and smoother than the stock 7.0.

20 mpx Huawei mate 9 camera has a lot of features but those Roms lack that privilege.

Actually, we have a great Nougat Roms as well. Which I prefer - fromfuture-.

I'll be using this stock rom until a new AOSP 8.1 or RR Remix will be released.
​

[Resurrection Remix] [Unofficial] [2018-05-19] Phh-Treble https://xdaforums.com/project-trebl...opment/resurrection-remix-phh-treble-t3767688

[AOSP 8.1] [2018-06-07] Phh-Treble

https://xdaforums.com/project-trebl...-development/experimental-phh-treble-t3709659

Lineage] [Unofficial] [2018-05-19]

https://xdaforums.com/project-treble/trebleenabled-device-development/lineage-phh-treble-t3767690

How to flash a Generic System Image (GSI) on Project Treble supported devices​

https://www.xda-developers.com/flash-generic-system-image-project-treble-device/​

For this Roms you have to flash:​

1)TWRP https://www.androidfilehost.com/?fid=890278863836283747

2)Gapps: https://www.androidfilehost.com/?fid=746163614322274929

3)addosu-15.1am -to root your device (Supersu doesn't work or magisk) https://www.androidfilehost.com/?fid=674106145207485248

4)P20 Pro Stock Camera : https://www.androidfilehost.com/?fid=674106145207497114​

5)If you want to gain a better battery performance, flash the HyperPlus Kernel. https://www.androidfilehost.com/?fid=962339331458990548​

Thanks to

phhusson

, and the developers for these Roms.:good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] osk4rin:
Reserved
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Mohammed_M.:
What problems and bugs you are facing now with Resurrection remix? Is it worth to update?!

Thanks in advance,?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] mataflakitas:
Thanks .. ????
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] osk4rin:
Hi! Yes,its Worth it tough. Is fast and smooth.and lineage as well.

Pretty much just a few bugs, but minors. Now we have 4g available on RR remix.the only issue is the twrp .still encrypted,if I want to flash any zip file from there I need to moved to my Sd card.

Also I can't flash the - Adaway Youtube-magisk module.I don't know why
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] osk4rin:
You're welcome :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Emare212:
I have RR and rooted though Magisk with SafetyNet passed.

All in all it's very nice, sometimes my phone makes noises even if it's in "Not disturb" Mode. But that only happened twice till now.

Everything else works! GPS, Wifi. 4g, Bluetooth etc. Only Android Auto doesnt work for me, but that's not that important.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] KitsuneUK:
How do you go about installing this rom? I'm worried Ill screw up my mate 9 but I hate emui so much. I'm using fromfuture with twrp atm
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Emare212:
So fromfuture is Nougat based?

Then you need to upgrade to Oreo first. Just search the forum, there are several Guides.

After that extract the stock boot.img, kernel.img and recovery_ramdisk.img from your stock rom using Huawei Update Extractor (settings->uncheck checks)

Than simply flash the three Images through fastboot on your phone and do a Data Format + Cache Wip ein Stock Recovery.

Than flash RR Rom with fastboot flash system and Twrp if you want.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] KitsuneUK:
There any guides I can follow?