downgrade from 10 to 9 - Google Pixel 2 XL Questions & Answers

Hey everyone, is it possible to downgrade to Android pie ?
Does simply flashing the build will do the trick ? Or it's impossible to go back to 9 ?
Thanks

youssefkr said:
Hey everyone, is it possible to downgrade to Android pie ?
Does simply flashing the build will do the trick ? Or it's impossible to go back to 9 ?
Thanks
Click to expand...
Click to collapse
I've read about several users going back to 9. However, it will take a full wipe and a clean flash of the factory image to do so :good:

I did downgrade to 9, full wipe, flashed twrp, in my case i needed root and magisk safetynet.

1902 said:
I did downgrade to 9, full wipe, flashed twrp, in my case i needed root and magisk safetynet.
Click to expand...
Click to collapse
Im debating rolling back, what rom did you settle on?

SageWilliams said:
Im debating rolling back, what rom did you settle on?
Click to expand...
Click to collapse
Latest original pie, rooted with latest magisk, if TWRP and safetynet were 100% working i would have stayed on A10, but till then i'm gonna stay on pie :angel:

I'm on 10 rooted, and can't unroot. Magisk won't uninstall from it's app. Tried to go back to 9, but it won't flash cleanly. I can sell the phone, but only if it's stock. 9 or 10, the buyer doesn't care. I can use a little help, please.
---------- Post added at 21:52 ---------- Previous post was at 21:33 ----------
How about, if I delete the sbin file in system/root, and then do a factory reset from the phone's settings?

1902 said:
I did downgrade to 9, full wipe, flashed twrp, in my case i needed root and magisk safetynet.
Click to expand...
Click to collapse
I don't need root, but please tell me how you downgraded from 10 back to 9. I really need to do this. Thanks

grunt0300 said:
I don't need root, but please tell me how you downgraded from 10 back to 9. I really need to do this. Thanks
Click to expand...
Click to collapse
Just Grab the pie factory image from https://developers.google.com/android/images
and follow the instruction on the developers' page, note that flashing this will wipe your device.
better to watch a tutorial online on how to flash a factory image :good:

1902 said:
Just Grab the pie factory image from https://developers.google.com/android/images
and follow the instruction on the developers' page, note that flashing this will wipe your device.
better to watch a tutorial online on how to flash a factory image :good:
Click to expand...
Click to collapse
Tried it, but no go. I get the command prompt box ok, but can't put anything into it.

grunt0300 said:
Tried it, but no go. I get the command prompt box ok, but can't put anything into it.[/QUOTE
I've done it by formatting data in twrp then flash pie ota, or flash the partitions (bootloader,radio,vendor) on both slots in fastboot then fastboot update (image-taimen-pq3a.190801.002.zip)
Click to expand...
Click to collapse

grunt0300 said:
Tried it, but no go. I get the command prompt box ok, but can't put anything into it.
Click to expand...
Click to collapse
Got it done. I had the files in the wrong place. It's all good now. Android 9, stock.

Im doing something wrong.
grunt0300 said:
Got it done. I had the files in the wrong place. It's all good now. Android 9, stock.
Click to expand...
Click to collapse
Hey I'm trying to downgrade myself and running into errors when trying to execute the flash-all command. Android 9 files are in the platform tools folder just like you would flash TWRP. First time downgrading. Is there a good tutorial...cause I followed the google tutorial and "flash-all" just sint working.

Driacas said:
Hey I'm trying to downgrade myself and running into errors when trying to execute the flash-all command. Android 9 files are in the platform tools folder just like you would flash TWRP. First time downgrading. Is there a good tutorial...cause I followed the google tutorial and "flash-all" just sint working.
Click to expand...
Click to collapse
Are you doing a clean install (leaving the -w intact)?
Do you have the latest SDK toolkit?
What errors are you running into?

Az Biker said:
Are you doing a clean install (leaving the -w intact)?
Do you have the latest SDK toolkit?
What errors are you running into?
Click to expand...
Click to collapse
Yes I'm using the latest SDK tools.
This is the error I recieved.
" flash-all : The term 'flash-all' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ flash-all
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (flash-all:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException"
Well the android updated to 10 on its own. I attempted to flash the newest version of Magisk onto it using TWRP. Now the phone just stays put at the google logo and wont boot further. It does boot into fastboot, So I figured I should just flash the older version back on. Also im on sailfish
---------- Post added at 11:06 PM ---------- Previous post was at 10:28 PM ----------
Also there is no "Flash-all" files that downloaded with the images. I have these files: Payload (Bin File), zipped combatability file, Meta file, care map and payload properties....

Driacas said:
Yes I'm using the latest SDK tools.
This is the error I recieved.
" flash-all : The term 'flash-all' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ flash-all
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (flash-all:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException"
Well the android updated to 10 on its own. I attempted to flash the newest version of Magisk onto it using TWRP. Now the phone just stays put at the google logo and wont boot further. It does boot into fastboot, So I figured I should just flash the older version back on. Also im on sailfish
---------- Post added at 11:06 PM ---------- Previous post was at 10:28 PM ----------
Also there is no "Flash-all" files that downloaded with the images. I have these files: Payload (Bin File), zipped combatability file, Meta file, care map and payload properties....
Click to expand...
Click to collapse
Did you unzip the factory image TWICE? Sounds like CMD isn't finding the flash-all file, which is in the folder after the second unzip.
As far as sailfish OS, I've never dealt with it so couldn't tell you one way of the other anything about it.

Driacas said:
Also there is no "Flash-all" files that downloaded with the images. I have these files: Payload (Bin File), zipped combatability file, Meta file, care map and payload properties....
Click to expand...
Click to collapse
Sounds like you downloaded the OTA file rather than the factory image file.

Related

June update help.

Hello, so I am currently rooted on the January update and decided to update to June's update and reroot.
I downloaded the official full image and tried to flash it using the flash-all command. But I am getting this error I MOST be doing something working. Any ideas or a quick guide on how to update and root June's update !?
Thank you
jblanko6 said:
Hello, so I am currently rooted on the January update and decided to update to June's update and reroot.
I downloaded the official full image and tried to flash it using the flash-all command. But I am getting this error I MOST be doing something working. Any ideas or a quick guide on how to update and root June's update !?
Thank you
Click to expand...
Click to collapse
Did you extract the files first from the factory image and place them in your SDK/platform-tools folder?
Badger50 said:
Did you extract the files first from the factory image and place them in your SDK/platform-tools folder?
Click to expand...
Click to collapse
Yes sir
jblanko6 said:
Yes sir
Click to expand...
Click to collapse
Are you using minimal adb?
Badger50 said:
Are you using minimal adb?
Click to expand...
Click to collapse
I am not sure ...
Trying with poweshell and still not getting it to work .ugh.
I was trying to flash the bootloader to both partitions and getting this .
jblanko6 said:
I am not sure ...
Trying with poweshell and still not getting it to work .ugh.
I was trying to flash the bootloader to both partitions and getting this .
Click to expand...
Click to collapse
Looks like you are using sdk/platform-tools. Are you also using a Mac laptop?
Badger50 said:
Looks like you are using sdk/platform-tools. Are you also using a Mac laptop?
Click to expand...
Click to collapse
No , windows 10 .
I know the device is being detected in fastboot mood by the computer. It might be something to do with how I am currently rooted. Most "how to " instructions only talk about partitions _a and _b.
Put a space between bootloader and C:\
bradputt said:
Put a space between bootloader and C:\
Click to expand...
Click to collapse
I agree error in syntax
jblanko6 said:
I am not sure ...
Trying with poweshell and still not getting it to work .ugh.
I was trying to flash the bootloader to both partitions and getting this .
Click to expand...
Click to collapse
there's no such fastboot command "flash_other", you don't have to flash bootloader to both partition.
use googles release of sdk not the entire thing
fastboot flash-all
and bam
You can also go straight to your platform-tools folder and double click the flash-all.bat file to start the installation :good:
Badger50 said:
You can also go straight to your platform-tools folder and double click the flash-all.bat file to start the installation :good:
Click to expand...
Click to collapse
Set it all up on a different computer at work. And still can't flash it. I was using flash-all command
jblanko6 said:
Set it all up on a different computer at work. And still can't flash it. I was using flash-all command
Click to expand...
Click to collapse
Do you have all the files you extracted from the factory image inside the platform-tools folder?? Especially the large secondary zip that has all the images?
jblanko6 said:
Set it all up on a different computer at work. And still can't flash it. I was using flash-all command
Click to expand...
Click to collapse
If still no luck, download this from Google: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Download another copy of June update in case first was corrupt.
Place all Tools files plus unzipped June update files into one folder. Make sure your usb cable is an oem Pixel cable.
Use Windows command prompt instead of Powershell. Type fastboot devices with phone connected in fastboot mode.
If you get a serial number, double click on flash-all.bat. It oughta run fine.
Okay so i have doing this fine but i can't seem to update as well
I use window latest platform tools all files in one directory where i open the cmd
Here is what it says @Badger50
Sent from my Google Pixel 2 XL using XDA Labs
michaelbsheldon said:
If still no luck, download this from Google: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Download another copy of June update in case first was corrupt.
Place all Tools files plus unzipped June update files into one folder. Make sure your usb cable is an oem Pixel cable.
Use Windows command prompt instead of Powershell. Type fastboot devices with phone connected in fastboot mode.
If you get a serial number, double click on flash-all.bat. It oughta run fine.
Click to expand...
Click to collapse
If you can look above post i am doing everything right i guess
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
If you can look above post i am doing everything right i guess
Click to expand...
Click to collapse
It sure looks right, and I know you've done this before. What happens when you shut the phone off and then enter bootloader manually. I know it shouldn't matter, but what the heck. That's exactly what I do every month, I never boot into fastboot from the OS and adb ?
Badger50 said:
It sure looks right, and I know you've done this before. What happens when you shut the phone off and then enter bootloader manually. I know it shouldn't matter, but what the heck. That's exactly what I do every month, I never boot into fastboot from the OS and adb ?
Click to expand...
Click to collapse
I'll try it out and let you know stay put ?
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
I'll try it out and let you know stay put ?
Click to expand...
Click to collapse
I'll be here :good::good:

Twrp and xposed for j6+

Hey everyone, i saw the new galaxy j6+ an i liked it. It's cheap with good specifications. Just wanna ask if there's a compatible twrp, root and xposed released for this device. If not i guess I'll wait an extra month or buy another device.
I tried to patch the boot image via magisk but it didn't work as well
mhailart said:
I tried to patch the boot image via magisk but it didn't work as well
Click to expand...
Click to collapse
Hey man, i rooted my j6+ with magisk and removed bloatware, working perfectly, i can help if you got any errors
dope77 said:
Hey man, i rooted my j6+ with magisk and removed bloatware, working perfectly, i can help if you got any errors
Click to expand...
Click to collapse
That's a good news, may kindly share your experience, so that we can also root our j6+.
Rooks said:
That's a good news, may kindly share your experience, so that we can also root our j6+.
Click to expand...
Click to collapse
I rooted my j6+ with magisk patched boot.img
Im sure you know the steps but just in case,
1. Do a full backup, cz you'll need to reset your device after rooting
2- go to dev options and turn on oem unlock
3- download magisk manager
4- download the rom of your device, extract it, then open ap with 7zip,extract the boot.img.lz4 with 7 zip standard
5- place the boot.img on your j6+
6- open magisk manager, it'll ask you if you want to install, press no thanks.
7- go to magisk settings, scroll down to patched image output format, select img.tar
8- go back to main menu, select install, then select boot.img file, then select the img you placed on your device.
After it finish patching, go to download mode and flash the patched img through Odin.
This worked for me
dope77 said:
I rooted my j6+ with magisk patched boot.img
Im sure you know the steps but just in case,
1. Do a full backup, cz you'll need to reset your device after rooting
2- go to dev options and turn on oem unlock
3- download magisk manager
4- download the rom of your device, extract it, then open ap with 7zip,extract the boot.img.lz4 with 7 zip standard
5- place the boot.img on your j6+
6- open magisk manager, it'll ask you if you want to install, press no thanks.
7- go to magisk settings, scroll down to patched image output format, select img.tar
8- go back to main menu, select install, then select boot.img file, then select the img you placed on your device.
After it finish patching, go to download mode and flash the patched img through Odin.
This worked for me
Click to expand...
Click to collapse
4- Firstly, downloaded .zip file has many files (AP, CP, BL, HOME_CSC). Which file contains 'boot.img.lz4' file and how to extraxt from .md5 file?
5- How to get boot.img from boot.img.lz4 file? Will renaming the file work?
6- Does magisk work on a no-rooted device?
1.Extract the zip, then open ap as zip, copy boot.img.lz4 to desktop
2.download 7 zip standard, it can extract the lz4 archives.
3. After your extract the image, place it on your device
4. Download magisk manager and launch it
5. When You launch magisk, it will ask if you want to install, press no.
6. go to settings in magisk, scroll down to patch boot.img format, select img.tar
7. Go back to magisk, uncheck preserver force encryption, select install, then choose patch boot.img
8. Magisk will ask to locate your boot img, choose the img you placed on your device.
9. After magisk finish patching, the new img will be placed in downloads folder.
10. Move it to your pc, launch odin and choose ap and choose the patchedboot.img .
11. Go to download mode and flash the img
12. Device will reboot and ask to reset to factory settings. Reset it and after it finish booting, you'll see magisk installed
Some notes :
1.Do full backup bcz you'll have to reset to factory settings your device after rooting
2. Unlock OEM in developer options
3. Magisk doesn't need root, it will root your device.
4. DOWNLOAD 7 ZIP STANDARD, IT CAN EXTRACT LZ4 ARCHIVES
---------- Post added at 02:03 AM ---------- Previous post was at 02:00 AM ----------
Link of 7z standard
https://github.com/mcmilk/7-Zip-zstd/releases/tag/18.05-v1.3.7-R2
Press on assets and select the one compatible with your Windows (64 or 32 bits)
ORRRR METHOD 2 WHICH IS EASIER A LOT
Dial *#1234# and post the screenshot here
I already have j6+ and patchedboot.img, just wanna
Check if we have same device (mine is sm-j610f not sm-j610fn) and I'll upload the img and you'll only have to flash it
dope77 said:
1.Extract the zip, then open ap as zip, copy boot.img.lz4 to desktop
2.download 7 zip standard, it can extract the lz4 archives.
3. After your extract the image, place it on your device
4. Download magisk manager and launch it
5. When You launch magisk, it will ask if you want to install, press no.
6. go to settings in magisk, scroll down to patch boot.img format, select img.tar
7. Go back to magisk, uncheck preserver force encryption, select install, then choose patch boot.img
8. Magisk will ask to locate your boot img, choose the img you placed on your device.
9. After magisk finish patching, the new img will be placed in downloads folder.
10. Move it to your pc, launch odin and choose ap and choose the patchedboot.img .
11. Go to download mode and flash the img
12. Device will reboot and ask to reset to factory settings. Reset it and after it finish booting, you'll see magisk installed
Some notes :
1.Do full backup bcz you'll have to reset to factory settings your device after rooting
2. Unlock OEM in developer options
3. Magisk doesn't need root, it will root your device.
4. DOWNLOAD 7 ZIP STANDARD, IT CAN EXTRACT LZ4 ARCHIVES
---------- Post added at 02:03 AM ---------- Previous post was at 02:00 AM ----------
Link of 7z standard
https://github.com/mcmilk/7-Zip-zstd/releases/tag/18.05-v1.3.7-R2
Press on assets and select the one compatible with your Windows (64 or 32 bits)
ORRRR METHOD 2 WHICH IS EASIER A LOT
Dial *#1234# and post the screenshot here
I already have j6+ and patchedboot.img, just wanna
Check if we have same device (mine is sm-j610f not sm-j610fn) and I'll upload the img and you'll only have to flash it
Click to expand...
Click to collapse
Appreciated, for this detailed info shared with us. 10x on the way.
Amytime man, if you need anything else lemme know
dope77 said:
Amytime man, if you need anything else lemme know
Click to expand...
Click to collapse
Next question, where to find TWRP recovery for SM-J610F?
---------- Post added at 07:39 PM ---------- Previous post was at 07:35 PM ----------
I did not try this method. But, i'm gonna do it soon, because i did it from AndroDef's thread.
He already uploaded for ARJ3, but i had ARIM. But, i'm switching back to ARIM and will surely try this method and will share my experience.
There isn't any custom recovery released for this device yet,but i already submitted a request in TwrpBuilder project a month ago, hope they'll do it soon, you can check it here, it's at the buttom (47,it's the 3rd oldest request)
https://twrpbuilder.github.io/downloads/twrp/#tab=inQueue
Also you can check the completed builds to see if the twrp building for the device is finished.
dope77 said:
There isn't any custom recovery released for this device yet,but i already submitted a request in TwrpBuilder project a month ago, hope they'll do it soon, you can check it here, it's at the buttom (47,it's the 3rd oldest request)
https://twrpbuilder.github.io/downloads/twrp/#tab=inQueue
Also you can check the completed builds to see if the twrp building for the device is finished.
Click to expand...
Click to collapse
So, it's time to wait then.
How do you remove bloatware?
Rooks said:
So, it's time to wait then.
Click to expand...
Click to collapse
If you're interested, could you try this out? Just make sure you have the stock firmware to hand in case of any issues.
https://androidfilehost.com/?fid=11410963190603862888
.
dope77 said:
There isn't any custom recovery released for this device yet,but i already submitted a request in TwrpBuilder project a month ago, hope they'll do it soon, you can check it here, it's at the buttom (47,it's the 3rd oldest request)
https://twrpbuilder.github.io/downloads/twrp/#tab=inQueue
Also you can check the completed builds to see if the twrp building for the device is finished.
Click to expand...
Click to collapse
I don't know, if you check the link above or not, but i do it on regular daily basis.
TODAY, it's gone...........................................
---------- Post added at 11:59 PM ---------- Previous post was at 11:57 PM ----------
ashyx said:
If you're interested, could you try this out? Just make sure you have the stock firmware to hand in case of any issues.
https://androidfilehost.com/?fid=11410963190603862888
.
Click to expand...
Click to collapse
This one seems to be for "J610", not for "J610F".
Will it work............................................................................
I'm eager to try that one................
---------- Post added 1st December 2018 at 12:01 AM ---------- Previous post was 30th November 2018 at 11:59 PM ----------
Rooks said:
So, it's time to wait then.
Click to expand...
Click to collapse
It's rejected..................
# 25 in the list
---------- Post added at 12:16 AM ---------- Previous post was at 12:01 AM ----------
ashyx said:
If you're interested, could you try this out? Just make sure you have the stock firmware to hand in case of any issues.
https://androidfilehost.com/?fid=11410963190603862888
.
Click to expand...
Click to collapse
If it fails (i hope, it won't), it will take me long to setup my device again.
---------- Post added at 12:33 AM ---------- Previous post was at 12:16 AM ----------
ashyx said:
If you're interested, could you try this out? Just make sure you have the stock firmware to hand in case of any issues.
https://androidfilehost.com/?fid=11410963190603862888
.
Click to expand...
Click to collapse
It's a partial success:
SUCCESS
1- Recovery flash is success (odin did not boot into recovery, instead loaded os).
2- After loading android, did a boot into recovery, it loads twrp recovery
FAILURE
3- TWRP recovery does not respond to touch or hardware keys
4- Device keeps booting into twrp recovery
5- Seems to be stuck in recovery mode
Brilliant.................................................................
---------- Post added at 12:39 AM ---------- Previous post was at 12:33 AM ----------
ashyx said:
If you're interested, could you try this out? Just make sure you have the stock firmware to hand in case of any issues.
https://androidfilehost.com/?fid=11410963190603862888
.
Click to expand...
Click to collapse
Reverting to custom recovery, done.
Device is normal again.
A partial success though.
Might be issues with kernel, or something else.....
With your skills and my device, it can be done in a blink of an eye.
Click to expand...
Click to collapse
Rooks said:
I don't know, if you check the link above or not, but i do it on regular daily basis.
TODAY, it's gone...........................................
---------- Post added at 11:59 PM ---------- Previous post was at 11:57 PM ----------
This one seems to be for "J610", not for "J610F".
Will it work............................................................................
I'm eager to try that one................
---------- Post added 1st December 2018 at 12:01 AM ---------- Previous post was 30th November 2018 at 11:59 PM ----------
It's rejected..................
# 25 in the list
---------- Post added at 12:16 AM ---------- Previous post was at 12:01 AM ----------
If it fails (i hope, it won't), it will take me long to setup my device again.
---------- Post added at 12:33 AM ---------- Previous post was at 12:16 AM ----------
It's a partial success:
SUCCESS
1- Recovery flash is success (odin did not boot into recovery, instead loaded os).
2- After loading android, did a boot into recovery, it loads twrp recovery
FAILURE
3- TWRP recovery does not respond to touch or hardware keys
4- Device keeps booting into twrp recovery
5- Seems to be stuck in recovery mode
Brilliant.................................................................
---------- Post added at 12:39 AM ---------- Previous post was at 12:33 AM ----------
Reverting to custom recovery, done.
Device is normal again.
A partial success though.
Might be issues with kernel, or something else.....
Click to expand...
Click to collapse
I'm pretty sure I can fix the touch issues.
Is ADB functional?
ashyx said:
I'm pretty sure I can fix the touch issues.
Is ADB functional?
Click to expand...
Click to collapse
Not sure about adb, did not try it
Rooks said:
Not sure about adb, did not try it
Click to expand...
Click to collapse
If adb works could you do:
adb pull / tmp/recovery.log
Rooks said:
How do you remove bloatware?
Click to expand...
Click to collapse
Well if you need custom recovery for xposed, there's xposed module in magisk that can be installed without twrp. I'm already using it and have multiple modules (gravitybox, xprivacy and greenify), all running without problems. For debloating, after your root the device, go to google play and download an app called system app remover, it'll show you all apps on your j6+. Select the apps you want to remove and press uninstall. After uninstallation is done, reboot your device
ashyx said:
If adb works could you do:
adb pull / tmp/recovery.log
Click to expand...
Click to collapse
Sure, but never worked with samsungs. It's my first regular samsung device. Never liked exynos and cortex combo, but it's different.
Last time tried to push recovery.img via adb and it did not work. I have root and root explorer app installed. Where is that log located in system partition. I'm not an skilled linux coder guy but i have serious history with androids and palms.
---------- Post added at 12:38 AM ---------- Previous post was at 12:36 AM ----------
dope77 said:
Well if you need custom recovery for xposed, there's xposed module in magisk that can be installed without twrp. I'm already using it and have multiple modules (gravitybox, luck patcher, xprivacy and greenify), all running without problems. For debloating, after your root the device, go to google play and download an app called system app remover, it'll show you all apps on your j6+. Select the apps you want to remove and press uninstall. After uninstallation is done, reboot your device
Click to expand...
Click to collapse
Forget debloating, i can deal with it now.
Get back to twrp recovery.
BTW, did you waych 'Venom'or not? Coz i'm watching right now.
---------- Post added at 01:00 AM ---------- Previous post was at 12:38 AM ----------
Could not find /tmp/recovery.
But did find /cache/recovery folder, that contains last_log.1 and last_log.2 files

Stuck booting into twrp

My Pixel 2 XL will only boot into TWRP. I rooted and installed magisk everything was fine for a day and now it will only boot into TWRP. Any help is appreciated.
B-ILL said:
My Pixel 2 XL will only boot into TWRP. I rooted and installed magisk everything was fine for a day and now it will only boot into TWRP. Any help is appreciated.
Click to expand...
Click to collapse
Fastboot the factory image again with the -w removed, and then root it again :good:
Badger50 said:
Fastboot the factory image again with the -w removed, and then root it again :good:
Click to expand...
Click to collapse
The lastest one found here https://developers.google.com/android/images ?
Yes, taimen for Pixel 2 XL Oct 2018.
galaxys said:
Yes, taimen for Pixel 2 XL Oct 2018.
Click to expand...
Click to collapse
I get an error of failed to create boot.img I am fast booting into image-taimen-ppr2.181005.003.zip
B-ILL said:
I get an error of failed to create boot.img I am fast booting into image-taimen-ppr2.181005.003.zip
Click to expand...
Click to collapse
My brother, you need to do a little reading on how to fastboot a factory image. This is a great guide to follow :good:
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Badger50 said:
My brother, you need to do a little reading on how to fastboot a factory image. This is a great guide to follow :good:
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Click to expand...
Click to collapse
I did read the thread. when I follow the instructions im getting the error. your help is greatly appreciated. any ideas I should try?
B-ILL said:
I did read the thread. when I follow the instructions im getting the error. your help is greatly appreciated. any ideas I should try?
Click to expand...
Click to collapse
Here is my method I use every month to update the factory images without wiping data :good:
I have attached the results does it look like something I am doing it wrong.
Badger50 said:
Here is my method I use every month to update the factory images without wiping data :good:
Click to expand...
Click to collapse
I have attached screen shots for you to review.
B-ILL said:
I have attached screen shots for you to review.
Click to expand...
Click to collapse
It's not flashing correctly. Is your platform-tools up to date, and, have you tried a different USB A to USB C cable?
Badger50 said:
It's not flashing correctly. Is your platform-tools up to date, and, have you tried a different USB A to USB C cable?
Click to expand...
Click to collapse
Just re download the platform-tool from here https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418 and tried a different cable not luck. it keeps saying archive does not contain boot.sig, recovery.img, system.sig, and vendor.sig
B-ILL said:
Just re download the platform-tool from here https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418 and tried a different cable not luck. it keeps saying archive does not contain boot.sig, recovery.img, system.sig, and vendor.sig
Click to expand...
Click to collapse
You downloaded the factory image from here, correct? https://developers.google.com/android/images
Then you extracted the download with 7-zip or Win-zip correct?
Then you placed the "extracted" files in your platform tools folder which included the...
Radio
Bootloader
The flash-all.bat file if your using Windows
And....the other large zip that has the vendor and other things. Do not place the downloaded factory image zip in here as well. Correct?
Then you edited the flash-all.bat file with your notepad or whatever your pc uses, removed the -w and saved the edit. Correct?
Then you opened your platform-tools folder and double clicked the flash-all.bat file to start the installation process. Correct?
Badger50 said:
You downloaded the factory image from here, correct? https://developers.google.com/android/images
Then you extracted the download with 7-zip or Win-zip correct?
Then you placed the "extracted" files in your platform tools folder which included the...
Radio
Bootloader
The flash-all.bat file if your using Windows
And....the other large zip that has the vendor and other things. Do not place the downloaded factory image zip in here as well. Correct?
Then you edited the flash-all.bat file with your notepad or whatever your pc uses, removed the -w and saved the edit. Correct?
Then you opened your platform-tools folder and double clicked the flash-all.bat file to start the installation process. Correct?
Click to expand...
Click to collapse
You sir are the man! do you have a Bitcoin address I can send you a couple bucks for the help.
B-ILL said:
You sir are the man! do you have a Bitcoin address I can send you a couple bucks for the help.
Click to expand...
Click to collapse
Bitcoin??? What the heck is that? I still use paper and silver money! ???
No worries my friend. Happy to help. Just hit the thanks button is all. BTW, what was the problem outa curiosity?
Badger50 said:
Bitcoin??? What the heck is that? I still use paper and silver money!
No worries my friend. Happy to help. Just hit the thanks button is all. BTW, what was the problem outa curiosity?
Click to expand...
Click to collapse
I am not sure I just deleted everything on my comp tool, google files, everything and stared from scratch. I made sure all the files from Google were extracted and located in the same folder as the platform tools.

NOST - Improved Version of OST LA 6.0.4 (v0.6, 02. Mar 2019)

"NOST" - short for "No Service Tool" (or "Nokia Service Tool" but that sounds too official and boring ) is a small hobby project I've been working on in the last couple of days.
It aims to make the service tool for Nokia 8 (and HMD Phones in general) more useable, user-friendly, and straigtforward to use, and after having to test it myself, and also
making a small beta test in the Telegram group for Nokia 8, I feel like posting it here so others can try it out too if they want.
First, to be clear: NOST is not completely my work. It is based on OST LA 6.0.4, which was made by HMD/Foxconn. Unlike the previous OST Patches, NOST does not replace
the executable with a hacked one, but instead wraps it and patches the methods that need patching at runtime. The result is that the changes are completely opensource
and readable by others, while the underlying OST files are not modified at all. I tried to base it on a different (i.e. newer) version of OST, but those are pretty much unpatchable,
at least not with a serious amount of reverse engineering, which brings not only time issues but legal ones as well.
NOST changes a couple of things, compared to the unmodified OST LA:
It removes the need for authentification against HMD/FIH servers (really, shoutout to the one who made the original hack, even though I could not use their code)
Moved the logs folder to the same folder as the application, as opposed to somewhere on the system to make debugging easier
The options for flashing firmware images appear reliable now. (At least for me they only appeared sometimes if not never on the original OST).
Removed one of the options that if it appeared crashed the flashing process ("Check System AP Status")
One user of the Telegram group had issues where OST would crash because it detects an invalid locale setting in Windows. NOST just catches that issue and defaults to english
Removed the "Edit Phone Information" button. It never worked and it's only purpose was to make the "Next" button appear, which works like it should now as well.
NOST refuses to flash your phone if your bootloader isn't unlocked critically. The old OST would just try to flash but never make any progress which confuses inexperienced users.
Perhaps the most important change: NOST allows to flash modified firmware images without the need to extract and modify them by hand.
With the original OST, people who wanted to reflash their phone had to download a firmware bundle, extract and edit it to be able to use it with OST LA 6.0.4, since the newer versions
had unpatchable issues that prevent using them. Repacking the images in a format OST expects wasn't possible either since that enabled some sort of signature algorithm on the modified
images and caused the flashing to fail. NOST solves this problem by allowing the use of a different packaging format. Those binaries still need to be extracted but it is done transparently in
the background without the user having to download any other tools. The formats that can be used in images are .zip and .qlz
.zip Firmwares:
.zip firmware files are simply archives of the (edited) files that would normally be extracted from an .nb0 file. This means, if you extract a .nb0 with the extractor found on XDA, the contents
of the *_unpacked folder it creates should be the contents of your .zip.
.qlz Firmwares:
.qlz files are based on QuickLZ compression, which gives them a small size but also a low decompression time.
The tool to generate them is called exdupe. Generating these images is pretty straigtforward. Assuming you are on windows, download the exdupe
tool from the link above (or take it from the NOST Tools/ folder) and copy it into the folder that contains the unpacked .nb0.
Code:
- exdupe.exe
- <nb0 name>_unpacked/
- <nb0 name>.mlf
- ....
Open a commandline in that folder, and run the following command:
Code:
exdupe.exe <name of the folder to compress> <name of the firmware file>.qlz
You should already see how fast it compresses the firmware folder now. As a reference: Compressing the latest Nokia 8 firmware (about 4GB) takes maybe 30 seconds and yields a 2GB file.
Repacked Firmware Bundles:
I created .qlz images of the May and November firmwares, as well as one of the various Pie Maintainance Releases.
You can find them here: https://tmsp.io/fs/xda/nb1/firmware
I already successfully reverted from December Security Patch to November using NOST, and then updated back using OTA Sideloading without problems.
As always when working with flashing tools, proceed with caution!
How to unlock to critical:
KonikoO said:
For those who wonder how to unlock into critical state :
Reboot into bootloader download mode and execute those commands :
fastboot flash unlock *unlock .bin*
fastboot flashing unlock_critical
Afterwards you should be able to flash provided .qlz with NOST.
Click to expand...
Click to collapse
Download:
The actual tool: https://github.com/StollD/NOST/releases
Drivers: https://github.com/StollD/nokia-driver-installer/tree/master/out
Source Code: https://github.com/StollD/NOST
License:
OST LA 6.0.4 is copyrighted by the respective authors. It is not modified permanently.
The custom NOST code is licensed under the GNU General Public License.
Icon by Freepik © Flaticon
I tried this is working,nice tool.
Thanks dev.
Thank you THMSP! very cool?
Sent from my TA-1004 using XDA Labs
Can flash the May and November update but cannot flash latest Pie with this tool. I flashed Pie but returned back to November update?
Lee Castro said:
Can flash the May and November update but cannot flash latest Pie with this tool. I flashed Pie but returned back to November update?
Click to expand...
Click to collapse
Yes, you can revert back from Pie to Oreo using this. What is the issue with Pie for you?
THMSP said:
Yes, you can revert back from Pie to Oreo using this. What is the issue with Pie for you?
Click to expand...
Click to collapse
What I mean is if I flash the Pie file you provided I just returned back to Android 8.1 Novemeber update no changes at all. Maybe there something wrong with the Pie file you uploaded. But the rests are all working fine with the tool.
Lee Castro said:
What I mean is if I flash the Pie file you provided I just returned back to Android 8.1 Novemeber update no changes at all. Maybe there something wrong with the Pie file you uploaded. But the rests are all working fine with the tool.
Click to expand...
Click to collapse
Thanks for the hint, I will take a look. Probably just derped when pulling partitions and renaming the images (might have worked in my November folder by accident).
EDIT: I repulled the images from Pie (I indeed somehow worked in my November folder when making the image), repackaged them and updated the version in the drive folder. You should now be able to flash Pie. Sorry for the mistake.
THMSP said:
Thanks for the hint, I will take a look. Probably just derped when pulling partitions and renaming the images (might have worked in my November folder by accident).
EDIT: I repulled the images from Pie (I indeed somehow worked in my November folder when making the image), repackaged them and updated the version in the drive folder. You should now be able to flash Pie. Sorry for the mistake.
Click to expand...
Click to collapse
Thanks again,This is really a big help.
Wow, this is something we've been all seeking for a long time now ! For those who wonder how to unlock into critical state :
Reboot into bootloader download mode and execute those commands :
fastboot flash unlock *unlock .bin*
fastboot flashing unlock_critical
Afterwards you should be able to flash provided .qlz with NOST.
hey there! wonderful tool to have. Thank u so much
Not working in my laptop say a software need a to update
Blackhacker07 said:
Not working in my laptop say a software need a to update
Click to expand...
Click to collapse
If you have dependency issues I would suggest to install OST LA 6.0.4 first, so you get its dependencies, until I can make a proper installer for NOST.
THMSP said:
If you have dependency issues I would suggest to install OST LA 6.0.4 first, so you get its dependencies, until I can make a proper installer for NOST.
Click to expand...
Click to collapse
Could you perhaps figure out how to get rid of the unlocked bootloader message?
ironman38102 said:
Could you perhaps figure out how to get rid of the unlocked bootloader message?
Click to expand...
Click to collapse
Are you talking about the error message that appears when you press the Next button to start flashing?
If yes, your bootloader needs to be unlocked to critical, then the message won't appear.
If you are unsure if your bootloader is unlocked to critical, do "fastboot oem device-info", it will tell you.
If you mean the message that your phone displays when booting with an unlocked bootloader then sorry, I doubt that's possible (I think it is embedded into the bootloader).
THMSP said:
Are you talking about the error message that appears when you press the Next button to start flashing?
If yes, your bootloader needs to be unlocked to critical, then the message won't appear.
If you are unsure if your bootloader is unlocked to critical, do "fastboot oem device-info", it will tell you.
If you mean the message that your phone displays when booting with an unlocked bootloader then sorry, I doubt that's possible (I think it is embedded into the bootloader).
Click to expand...
Click to collapse
Actually its in splash.img that can be dumped. Its the hex editing possibly that might be a problem for someone not familiar with it
How to flash it's says this...
Blackhacker07 said:
How to flash it's says this...
Click to expand...
Click to collapse
What do you mean?
KonikoO said:
Wow, this is something we've been all seeking for a long time now ! For those who wonder how to unlock into critical state :
Reboot into bootloader download mode and execute those commands :
fastboot flash unlock *unlock .bin*
fastboot flashing unlock_critical
Afterwards you should be able to flash provided .qlz with NOST.
Click to expand...
Click to collapse
Thank you so much for this advice. I wouldn't have ever figured out how to unlock critical on my own and that was the thing that was preventing me from flashing. I tried searching the other OST LA flashing threads as well but this info seemed to have been missing, or then i completely missed it. Thank you so much anyways. If anybody else is trying to figure out why their OST LA or NOST is giving them the se_err_adb_cmd_get_fail_result error, this should help. I just used the unlock.key in place of the *unlock.bin* in your command and it worked.
Can you please upload Oreo December update stock and patched boot image. TIA
Yesterday I noticed that my Pie Image was still not quite useable, since it contained a corrupted system partition.
This seems to have happened because of my Magisk Setup and me only replacing the boot partition image and not uninstalling Magisk completely.
I rebuilt the image, to be fully stock, and also included the latest B07 update that @hikari_calyx uploaded yesterday. You can get it from the drive link in the OP.

Bootlooping, trying to get back to stock, deuces not working, log attached.

Hello guys,
I have been trying to get this to work on my own for a while now. I am trying to use deuces script and it is not working for the life of me. I have formatted user data entirely and killed all encryption. I have tried to install the factory image numerous times and numerous ways but nothing seems to be working. I have tried to use deuces script, from fastboot and it isnt working (log attached).
Here is what is currently going on and the current setup. No ROM installed currently (I do not believe). Device is UNLOCKED. TWRP is installed, version 3.3, latest version.
I can get into fastboot and the computer can see fastboot with fastboot devices command.
I can get into recovery from the device, which is TWRP. I can sideload things from there and run any commands that twrp can natively run.
I can NOT get deuces script to run with either the latest android 9 factory image, or the latest android 10 image.
I am putting all of the factory image files, unzipped, in the platform tools folder, along with the deuces script files in the same folder... then running the script. It is kicking back an error, which is attached as an image.
Additionally the log is attached as well.
ANY insight on how to get my phone back to stock would be great. Really getting anything installed on it would be great at this point, currently I can only get to fastboot and recovery.
Thank you so much!
Try a different cable or USB port if you haven't already.
Also you can try putting everything into C:\platform-tools, instead of having everything a few directories deep.
All my files just get extracted into C:\platform-tools
ilal2ielli said:
Try a different cable or USB port if you haven't already.
Also you can try putting everything into C:\platform-tools, instead of having everything a few directories deep.
All my files just get extracted into C:\platform-tools
Click to expand...
Click to collapse
I always do the same thing with good results!
Sent from my Pixel 2 XL using XDA Labs
wdarea51 said:
Hello guys,
I have been trying to get this to work on my own for a while now. I am trying to use deuces script and it is not working for the life of me. I have formatted user data entirely and killed all encryption. I have tried to install the factory image numerous times and numerous ways but nothing seems to be working. I have tried to use deuces script, from fastboot and it isnt working (log attached).
Here is what is currently going on and the current setup. No ROM installed currently (I do not believe). Device is UNLOCKED. TWRP is installed, version 3.3, latest version.
I can get into fastboot and the computer can see fastboot with fastboot devices command.
I can get into recovery from the device, which is TWRP. I can sideload things from there and run any commands that twrp can natively run.
I can NOT get deuces script to run with either the latest android 9 factory image, or the latest android 10 image.
I am putting all of the factory image files, unzipped, in the platform tools folder, along with the deuces script files in the same folder... then running the script. It is kicking back an error, which is attached as an image.
Additionally the log is attached as well.
ANY insight on how to get my phone back to stock would be great. Really getting anything installed on it would be great at this point, currently I can only get to fastboot and recovery.
Thank you so much!
Click to expand...
Click to collapse
Do it without unzipping the factory image. The script unzips it itself and you're causing an error by doing it for it.
Title
Forget about recovery and unzipping files or scripts.
If you xan boot into the bootloader google gives you precise instructions to follow to just flash everything executing flashall.bat here: developers.google(dot)com/android/images.
If you followed the exact steps and it's not working show the full final terminal output to help you.
JuanG2 said:
Forget about recovery and unzipping files or scripts.
If you xan boot into the bootloader google gives you precise instructions to follow to just flash everything executing flashall.bat here: developers.google(dot)com/android/images.
If you followed the exact steps and it's not working show the full final terminal output to help you.
Click to expand...
Click to collapse
Just for reference, dueces script is use 99% of the time AFTER Google's flash-all.bat had failed to give the desired results. Not saying this is the case here but it is a likely reality.
Sent from my Pixel 2 XL using XDA Labs
CyberpodS2 said:
Just for reference, dueces script is use 99% of the time AFTER Google's flash-all.bat had failed to give the desired results. Not saying this is the case here but it is a likely reality.
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
I (myself *my opinion*) really wouldn't use that script becouse it's just an incredibly verbose way of forcing the flashing of the images and it's way more tedious to find errors using it.
If google's flash-all script is not working it should be analized why as it only is running 5 fastboot commands to flash all the images and if the phone can't run fastboot commands it's somewhat worring.
In his case the script can be failing for a million reasons like the script cant create the work directory to unzip the factory zip becouse it's only for admin use, or maybe has conflicts of directories, can also not be using an appropiate file for it as the naming scheme does not make sense. In any case the problem here is with the way the dueces script is decompressing the .zip as it can't find the image.zip when it's allocated to the variable here: $imgzipname = (Get-ChildItem _work/*/*.zip).fullname.
This script code is really not prepared to correct it self and is not great, HOWEVER it should work without much of a problem if no naming scheme of the images, partitions, directories changes or so I understand why people use it when they really screw something up.
---------- Post added at 09:30 AM ---------- Previous post was at 09:06 AM ----------
JuanG2 said:
I (myself *my opinion*) really wouldn't use that script becouse it's just an incredibly verbose way of forcing the flashing of the images and it's way more tedious to find errors using it.
If google's flash-all script is not working it should be analized why as it only is running 5 fastboot commands to flash all the images and if the phone can't run fastboot commands it's somewhat worring.
In his case the script can be failing for a million reasons like the script cant create the work directory to unzip the factory zip becouse it's only for admin use, or maybe has conflicts of directories, can also not be using an appropiate file for it as the naming scheme does not make sense. In any case the problem here is with the way the dueces script is decompressing the .zip as it can't find the image.zip when it's allocated to the variable here: $imgzipname = (Get-ChildItem _work/*/*.zip).fullname.
This script code is really not prepared to correct it self and is not great, HOWEVER it should work without much of a problem if no naming scheme of the images, partitions, directories changes or so I understand why people use it when they really screw something up.
Click to expand...
Click to collapse
Actually I just realized why the script is not working for you. You are running it against the incorrect file. You shouldn't be running it against the images.zip that's inside of the factory.zip but rather to the factory.zip itself don't unzip it, just paste the whole zip downloaded from developers.google.com and run the script against it.

Categories

Resources