Is there a way to flash custom firmware to google home/home mini? - Google Home

Hi, I was just wondering if there is a way for me to flash custom firmware to google home or google home mini?
I am aware that there is a demo tool that google uses but I do not have access to one of those. I was wondering if there is, or could be a command prompt app or gui that allows me to connect to google home mini via usb and flash firmware that way?
Thanks in advance

Related

Magisk

Hi,
My mother just bought an Galaxy Tab S2 Value Edition 9.7 Wifi (T813 model) and she's going crazy with all the ads on internet when she want to stream her favorites movies. I've started by installing the new stock Nougat update with Odin because the tablet was still on 6.0.1 but now I want to install Magisk so I can install AdAway and some other tweaks to help her enjoy her tablet better. I know how to do all these things easily on Nexus devices (never had something else since I use Android), but I'm not totally sure how I should do it with Samsung device.
Do I need to unlock the device ?
Is it the same as on Nexus devices ?
Can I just boot (or flash ?) TWRP and install Magisk.zip ? Do I need Odin or can I use standard fastboot commands ?
A bit of help would be so kind...
Sebacestmoi said:
Can I just boot (or flash ?) TWRP and install Magisk.zip ? Do I need Odin or can I use standard fastboot commands ? A bit of help would be so kind...
Click to expand...
Click to collapse
Hmm, basically it's just flashing TWRP with ODIN and then flashing Magisk or SuperSU from TWRP. But this has been answered a lot here in the forum. Did you try a search?
If you only want an Adblocker for watching the legal video streams you can use Adguard which works pretty well.
Sebacestmoi said:
Hi,
My mother just bought an Galaxy Tab S2 Value Edition 9.7 Wifi (T813 model) and she's going crazy with all the ads on internet when she want to stream her favorites movies. I've started by installing the new stock Nougat update with Odin because the tablet was still on 6.0.1 but now I want to install Magisk so I can install AdAway and some other tweaks to help her enjoy her tablet better. I know how to do all these things easily on Nexus devices (never had something else since I use Android), but I'm not totally sure how I should do it with Samsung device.
Do I need to unlock the device ?
Is it the same as on Nexus devices ?
Can I just boot (or flash ?) TWRP and install Magisk.zip ? Do I need Odin or can I use standard fastboot commands ?
A bit of help would be so kind...
Click to expand...
Click to collapse
Why not just use Showbox or Terrarium TV?
edisso10018 said:
Hmm, basically it's just flashing TWRP with ODIN and then flashing Magisk or SuperSU from TWRP. But this has been answered a lot here in the forum. Did you try a search?
If you only want an Adblocker for watching the legal video streams you can use Adguard which works pretty well.
Click to expand...
Click to collapse
Actually I tried to install TWRP 3.1.1 + Magisk 13.3 - it did not work for me as I got a message (trying to boot the rom) " Verification Failed". Then I have a "Reset" option that will trigger boot into TWRP and try to execute a script and then it fail to do so.

Nexus Stuck in Setup Wizard - Locked BL - Update Method?

A friend gave me a phone, I'm guessing the phone is a brick, but never hurts to make a thread and ask
Background
Its running 6.0.1 31E. After the update, I can't get through the Setup Wizard. It gets to the Gmail login part and force closes. No big deal, figured I'd just reupdate it. NOPE! Bootloader being locked, I can't seem to flash ANY system images. No TWRP on device either
I was going to try to update it to the newest firmware from Google for 7.1.1, but I keep getting failures in CMD. This isn't my first nexus (as you can see in my description). I also tried down grading, same results
So during the setup wizard, I managed to find my way into the Settings app, to attempt a bypass.
1.) Open Keyboard, hold @ symbol to open Keyboard Settings
2.) Go to Text Corrections, then Personal Dictionary, English, and enter a new word
3.) Highlight and hit Share
4.) Hold your finger down on Drive to open it in Settings to disable it
5.) Open Gmail in Settings, Select Notifications, and then App Settings, then top right, Manage Accounts... this opens the Full Settings app
From here, i could normally enable dev settings and such, but it doesn't allow it.
This is where I'm stuck. I've tried several things, including the frp bypass (even though this isn't FRP locked, it just crashes at login), but to no avail
Any ideas on how to re-run this update? I do have the files for 5.0, 6.0.1 31E, another newer 6.0.1 and 7.1.1. I've tried manual flashing and everything
Download an Android 7.1.1 OTA image from Google and sideload it using the existing recovery. Since the OTA is a full system image, it should resolve your issue unless you have a hardware problem.
I tried that with other recent google released OTAs via recovery and always get a failure, but i'll try that again
update
tried via apply via adb update on recovery... indicates the footer is wrong and aborts. th download i used is directly from google. better link maybe?
UPDATE 2
Downloading and installing the newest 7.1.1 from google through recovery worked. thanks. I had tried that on older 6.0.1's that were newer than 31e but they didn't work

Flashing Firmware without wipe

Hello friends -
Looking for some help. I am trying to upgrade several Galaxy S6 Active SM-G890A devices with 5.1.1 to Android 6.0.1 without wiping the existing apps. I have a device that has the OTA file downloaded, I followed the steps shown on XDA-Developers to capture the URL via ADB or via Take bug snapshot, didn't find the URL.
None of my devices are rooted. Is there a way I can flash or upgrade these devices without loosing the apps?
Please note, I have Mobile Device Management software installed on these devices to keep track of their location and usage.
So far, I've tried the following:
1) Downloaded Firmware 6.0.1 (4 Files - AP, BL, CP & CSC) - Couldn't find the HOME_CSC anywhere
2) Using Samsung Smart Switch - I was able to take a backup of one of my existing devices
3) Flash the firmware with 4 files using Odin
4) Firmware upgraded successfully, however the device was wiped.
5) I had to follow the startup prompts, like Click on Welcome, click Next and all that startup prompts till you get to the Home Screen
6) Restore the backup using Samsung Smart Switch
Here are the challenges:
1) The Mobile Device Management App doesn't restore all the way, it needs to be re-enrolled and I have to enter the code manually
2) The Google Account also needs to be added
3) There's one more proprietary App that I have to launch and close before it works properly
I am trying to upgrade several of these devices in the field and want a process that I can document and then have my team upgrade these remotely rather than share all these tedious steps with the people that are non-technical and spend hours upgrading.
Can anyone help me out by sharing some ideas or suggesting a different route or approach?
My goal is to upgrade the firmware from 5.11 to 6.0.1 without loosing apps or existing data.
Any help will be appreciated!!
Deejas
From my personal experience, upgrading to a higher Android version always makes you lose apps and accounts as the memory needs to be formatted to upgrade (afaik).
Some people tried a dirty flash with custom firmware (using a zip file) but this may render the handset unstable.
Knowing thas this is not what you wanted to hear I suggest you upgrade to Nougat directly, skipping 6.whatever!

P20 Pro Telus Rooting

Hey everyone I'm looking to root my Canada Telus P20 pro. I'm looking to Unlock my phone , install twrp (or on ramdisk) , SuperSU or magik my stock room.
downloaded Tool All In One but it doesn't support my device: CLT-L04. The text in blue means it's "unsupported"
After reading around some more I came across this thread. Which explains you can get the key and unlock the phone yourself, HOWEVER the website does not have CANADA line. I can't pass the sign up screen because it needs to send a text me to verify but the area codes are non-canada.
Also came across this thread. Can some explain how this works?
matthewacbroad said:
Hey everyone I'm looking to root my Canada Telus P20 pro. I'm looking to Unlock my phone , install twrp (or on ramdisk) , SuperSU or magik my stock room.
downloaded Tool All In One but it doesn't support my device: CLT-L04. The text in blue means it's "unsupported"
After reading around some more I came across this thread. Which explains you can get the key and unlock the phone yourself, HOWEVER the website does not have CANADA line. I can't pass the sign up screen because it needs to send a text me to verify but the area codes are non-canada.
Also came across this thread. Can some explain how this works?
Click to expand...
Click to collapse
It does support it, i unlocked bootloader and root my P20 pr0 with it. CLT-L04, Before you run the tool make sure adb its started, phone usb options should beb on transfer files mode.
oriveradel said:
It does support it, i unlocked bootloader and root my P20 pr0 with it. CLT-L04, Before you run the tool make sure and its started, phonebusb options should beb on transfer files mode.
Click to expand...
Click to collapse
you have to excuse me. the last phone I unlocked and rooted is HTC 10.
HTC had unlock site. I flash TWRP , flashed detoxed ROM with exkernel
LOOKING TO DO THIS:
unlock bootloader
flash TWRP
flash superSU or Magik on stock ROM
flash modded kernel for performance/thermal control (exkernel)
is this available
matthewacbroad said:
you have to excuse me. the last phone I unlocked and rooted is HTC 10.
HTC had unlock site. I flash TWRP , flashed detoxed ROM with exkernel
LOOKING TO DO THIS:
unlock bootloader
flash TWRP
flash superSU or Magik on stock ROM
flash modded kernel for performance/thermal control (exkernel)
is this available
Click to expand...
Click to collapse
https://forum.xda-developers.com/ho...sh-official-firmware-recovery-t3769279/page49
matthewacbroad said:
After reading around some more I came across this thread. Which explains you can get the key and unlock the phone yourself, HOWEVER the website does not have CANADA line. I can't pass the sign up screen because it needs to send a text me to verify but the area codes are non-canada.
Click to expand...
Click to collapse
Just pick any country and register with your email and leave phone number blank. Put in your email and beside Email code, use the link for Obtain Code.
hjin said:
Just pick any country and register with your email and leave phone number blank. Put in your email and beside Email code, use the link for Obtain Code.
Click to expand...
Click to collapse
What's the firmware version for telus (firmware finder app)
hjin said:
Just pick any country and register with your email and leave phone number blank. Put in your email and beside Email code, use the link for Obtain Code.
Click to expand...
Click to collapse
It won't allow me to continue unless I verify with a number. that's my problem
oriveradel said:
What's the firmware version for telus (firmware finder app)
Click to expand...
Click to collapse
link? I'll post it
Hey I was able to unlock my bootloader through the website. This laptop had internet explorer and for some reason I wasn't able to pass the sign without providing # verify code.
however installing firefox and you can skip this step. Everythings good I have unlocked the bootloader by command
Also any recommend detoxed stock ROMs ?
I rooted my phone without all in one tool, as it doesn't support my device. Unlocked my bootloader, fastboot flash TWRP through minimal android drivers using command prompt.
matthewacbroad said:
Also any recommend detoxed stock ROMs ?
I rooted my phone without all in one tool, as it doesn't support my device. Unlocked my bootloader, fastboot flash TWRP through minimal android drivers using command prompt.
Click to expand...
Click to collapse
Good stuff. You made it this far. Now there is this one rom but you have to rebrand the phone to L29 using Funky Huawei or something like that but then even if you manage to do that there is only one stock rom and one aosp rom I don't think either are worth losing VoLTE over but that's me.
mrnovanova said:
Good stuff. You made it this far. Now there is this one rom but you have to rebrand the phone to L29 using Funky Huawei or something like that but then even if you manage to do that there is only one stock rom and one aosp rom I don't think either are worth losing VoLTE over but that's me.
Click to expand...
Click to collapse
Thanks,
Here is my problem. Everytime I restart my phone Swift keyboard reinstalls itself.
Root uninstaller pro reports I'm rooted but system partition isn't r+w (read / write) so all I can do is disable applications but some of them re-enable itself apon restart...
Also if I update magik manager to latest version , causes magik manager to close when I tap the icon. Which means any application that requires root also closes when trying to request root. I have to uninstall magik from system settings. Reboot into TWRP and flash old magik version.
matthewacbroad said:
Thanks,
Here is my problem. Everytime I restart my phone Swift keyboard reinstalls itself.
Root uninstaller pro reports I'm rooted but system partition isn't r+w (read / write) so all I can do is disable applications but some of them re-enable itself apon restart...
Also if I update magik manager to latest version , causes magik manager to close when I tap the icon. Which means any application that requires root also closes when trying to request root. I have to uninstall magik from system settings. Reboot into TWRP and flash old magik version.
Click to expand...
Click to collapse
Yes. I noticed that too. So I didn't update from the app again. Just use titanium backup to freeze or uninstall system apps.
matthewacbroad said:
Thanks,
Here is my problem. Everytime I restart my phone Swift keyboard reinstalls itself.
Root uninstaller pro reports I'm rooted but system partition isn't r+w (read / write) so all I can do is disable applications but some of them re-enable itself apon restart...
Also if I update magik manager to latest version , causes magik manager to close when I tap the icon. Which means any application that requires root also closes when trying to request root. I have to uninstall magik from system settings. Reboot into TWRP and flash old magik version.
Click to expand...
Click to collapse
Use magusk 16.0 and DO NoT update magusk manager. Delete apps you do not want straight from System /apps and System/private apks
Thanks, is it worth it to upgrade magik?
I have a small problem. HTC 10 my last phone, when press recent apps or square button and close all apps it would close all of them. Here I click the garbage icon it says closed all apps but minute later they all reappear. Just wondering a way around this.
Same time about 10 sec apart

HOWTo install Mirrorlink into a Samsung S5 kltexx with LineageOS 16

This thread is how I have managed to upgrade a Samsung S5 with Android 6.01 to LineageOS 16 with a Mac laptop running Sierra, in an attempt to keep on using it with my car infortaintment system.
First of all it's important to leave very clear 2 things:
ALL THIS INSTRUCTIONS APPLY TO A SAMSUNG S5 SM-G900F kltexx device. I don't know how it will work in any other device . This is what has worked for me and I'm sharing this with you all just hoping that will be useful for someone else.
YOU ARE THE SOLE RESPONSIBLE FOR ANYTHING THAT MIGHT HAPPEN TO YOUR DEVICE.
So let's get started.
Prepare your system:
You must have the Samsung USB drivers installed (I used the latest ones from Samsung - https://developer.samsung.com/mobile/android-usb-driver.html).
You need to allow your device to debug it using the USB. Instructions here: https://androidcure.com/enable-usb-debugging-samsung-galaxy-s5/
You need to install adb in your computer. The easiest way to do it is this one: https://www.cyanogenmods.org/minimal-adb-and-fastboot-windows/ although another option would be to install Android SDK platform tools, but thats much heavier (https://developer.android.com/studio/releases/platform-tools). Usually the first option is enough.
You need to ensure that your Samsung will always trust your computer. So connect your Samsung with your computer and when it asks if your computer can be trusted, make sure that you click on the checkbox with the option "Always".
ODIN:
You need to install a Recovery System in your device and for that you will need ODIN which is a tool created by Samsung to flash files to Samsung devices. It has a version for Mac which has worked for me. Go to this site to learn how to use it and to download it: https://macmetric.com/odin-for-mac/ or you can right jump to this site (https://forum.xda-developers.com/devdb/project/dl/?id=20803) to just download the version that worked for me.
ROOT : (Optional)
By default your device has the bootloader unlocked. This was something that drove me crazy as I couldn't find anywhere to show me if it was. I ended up rooting my device to confirm that it was unlocked and also to confirm the real name of my device. So it's almost 100% certain that your Samsung S5 has the bootloader unlocked, but in case you want to confirm it, as I did, follow the instructions from this thread https://forum.xda-developers.com/showthread.php?t=2696537.
Basically, I ended up on this page, CF-Auto-Root homepage
http://autoroot.chainfire.eu/ downloading the file to root my device from there and flashing it with JOdin. Keep in mind that you might think that your device is version klte and there are at least 5 klte: kltedx, kltexx, kltezh, klteduosxx and kltejv. Mine ended up being kltexx
In my case I followed the process described in that thread and tried to root my device with the file for kltedx and it didn't wok out. Then I tried again with the file for kltexx and it worked. That's how I discovered that mine was kltexx.
TWRP :
You need to install a custom recovery system to your Samsung S5 device to be able to flash the LineageOS ROM. This site has the instructions that I followed to install it: https://www.cyanogenmods.org/forums/topic/install-twrp-recovery-samsung-android-using-odin/
It is extremely important to highlight that the latest version of TWRP didn't work for me. I installed the latest one and everything seemed to be OK but it was not. I couldn't flash any ROM with it. I ended up discovering that for my case, the best option was to install an older version. To be more precise, version 3.0.2.2 (https://eu.dl.twrp.me/klte/twrp-3.0.2-2-klte.img.tar.html).
To make sure that you have been able to install TWRP do the following. There are 3 ways to boot your Samsung S5: Normal boot, Download mode (ODIN) and Recovery mode. We need to start up on recovery Mode and see a screen menu similar to the one we've seen in the previous thread (https://www.cyanogenmods.org/forums/topic/install-twrp-recovery-samsung-android-using-odin/).
To do so, start the device on Recovery mode:
For the Normal mode you just click the Power Up key and wait. No magic here.
For the Download mode you have to switch off your device and then click at the same time the Power Up key, the Volumen Down key and Home key. It comes with the standard installation, so no magic here either.
Home Key
For the Recovery mode, you have to switch off your device and then click at the same time Power Up key, Volumen Up key and Home key. After a couple of seconds, the screen will say at the top "Recovery option..." and you should be able to see the touch screen menu of TWRP.
Flashing LineageOS 16 :
This is suppose to be an easy step but it ended up being very complicated because my device name was not properly being exposed by my device. So I ended up modifying the installation script to ensure it didn't matter.
So, you have to download not only the LineageOS version but also some other packages like Google apps, that are not installed and that you will need, and also the rooting package, which is always handy.
So the instructions and the links to download the packages are here. You might go there, read them and download all the packages: https://wiki.lineageos.org/devices/klte/install under the section Installing from Recovery....
Once you have all the packages ready to install, before you follow their instructions, you will have to do some hacking that you will find here explained here: http://www.lineageosdownloads.com/fix-error-7-lineage-os/ under section METHOD 1: UPDATER SCRIPT HACK TO FIX ERROR 7.
Basically, what I did was to edit the zip file using vim editor from the command line. You type "vim lineage-16.0-20200726-nightly-klte-signed.zip" (being lineage-16.0-20200726-nightly-klte-signed.zipand the name of the lineageOS image) and then go to "META-INF/com/google/android/updater-script" and then edit the file removing all the lines where it has any reference to the device name which are usually the first lines of the script containing the getprop(...) lines of code. To remove them, just click "dd" and they will be removed. Once they are removed, click on "Esc". Then type ":wq", it will go back to the previous screen, and then click ":q" and taht will be it, you have the package ready to be installed.
Now follow the instructions that you read previously and you should be able to have your Samsung S5 updated to LineageOS 16.
And now comes the part that I haven't resolved yet. How to install Mirrorlink in this device. So far I have managed to get several version of the Driverlink APK from Samsung but I'm not able to install them because when I try to do it using adb in root mode, I get the following message: "Package com.sec.android.automotive.drivelink has no signatures that match those in shared user android.uid.phone; ignoring!".
I know it has something to do with the signatures of LineageOS and that I need to sign the APK file with the LineageOS ROM signatures, but so far I haven't been able to find how to do it.
So I'll keep on trying and posting my discoveries here. Anyway, if anyone is willing to help me, it will be very welcome!!
I really hope that this helps others to take back from the closet their forgotten Samsung S5 and put it back to work.
I dont think it would help even if u did manage to install mirrorlink as samsung did drop support for mirrorlink.
Mirrorlink needs a new security certificate from samsung every month, and last certificate works until 2020-07-31
guroth said:
I dont think it would help even if u did manage to install mirrorlink as samsung did drop support for mirrorlink.
Mirrorlink needs a new security certificate from samsung every month, and last certificate works until 2020-07-31
Click to expand...
Click to collapse
I'm still working on it. Anyway, the certificate is not a problem. Once I have mirrorlink working, I will install some applications that will install the certificate (like RockScout - "https://play.google.com/store/apps/details?id=com.carconnectivity.mlmediaplayer&hl=en_US") or LG Mirrorlink. And with them I will use other apps to take control of the screen like for example Full Mirror for Mirrorlink - "https://play.google.com/store/apps/details?id=full.mirrorlink&hl=en_US"
The main challenge is to be able to create the connection between the cellphone and the car.
There is a button "Translation" in notification bar in LOS, that is a mirrorlink by itself if I do understand this correctly. But klte SM-G900F on LOS 17.1 and lentislte SM-G906S on LOS 16.0 doesn't discover a mirrorlink device that is working properly with Samsung A50 on stock ROM (Anydata device, Windows 10 PC). One day I have managed to establish a mirrorlink connection between A50 (it was a transmittor) and SM-G900F (receiver) via some (can't recall it's name) app. But still I haven't managed to use S5 as a transmittor for mirrorlink...

Categories

Resources