yashsingh1/xdaforums huggingface dataset:
[Moto Edge 30 Pro] Lubo99:
i have patched file from the first root I did like 6 months ago. "without 'fastboot erase userdata'. you mean remove this command from xml file?

what does these other commands do ? carrier metadata and ddr and fb mode clear?

fastboot erase carrier

fastboot erase userdata

fastboot erase metadata

fastboot erase ddr

fastboot oem fb_mode_clear

I am still confused , to those who already did this may sound like very easily understandable but I don't want to destroy root in magisk just to find out OTA update will still fail and I will need to patch rooted img file again this time not to delete all my data as I did when I first did the root.

so... will OTA update work without crappy failed message??

if it works. and I have patched IMG file from the first root what exactly needs to be done to avoid deletion of my data/apps and already downloaded videos and photos in my phone?

does userdata include apps/phone settings/pictures/photos/videos?? stupid question? yeah I guess but for example I followed advice about moto boot load image software in other topic to remove motorola warning about phone rooted and bootloader unlocked just to find out that it is not working on motorola 30 and newer models lol...
[Moto Edge 30 Pro] WoKoschekk:
1. ALWAYS use the flash commands from the current build version (flashfile.xml). The commands could might have changed! To convert the .xml into shell/batch => https://kfhost.net/flashfile

2. Yes, delete the line 'fastboot erase userdata'

3. metadata & carrier => IDK

DDR => set bootloader counts (see fastboot getvar all) to zero

fastboot oem fb_mode_clear => removes flag that was set at beginning with 'fastboot oem fb_mode_set' -> every reboot boots into bootloader mode and not into system/recovery no matter what you select.

4. userdata => stores every data since initial boot/factory reset. Yes, everything since it's the only partition you can write onto

5. Magisk patches your boot.img to gives you root access. If you try to install an OTA update it will first check some related partitions by checksums. These ones are /boot, /system, /vendor and some others. In case they can't be verified by the expected checksum the process fails. A patched boot.img leads to an unexpected checksum => OTA fails. It's easier to flash the complete firmware instead. If you forget to install Magisk your /data won't be deleted! Only failure could be a bootloop. Just flash it afterwards and everything will be fine.
[Moto Edge 30 Pro] Lubo99:
A patched boot.img leads to an unexpected checksum => OTA fails.

But in first step in magisk app i click uninstall magisk so now verification should not fail. Why and when i should install original firmware? And when i remove line in XML file should and will have extracted commands should i run them by pasting into command line after i flash patched Img file?
[Moto Edge 30 Pro] WoKoschekk:
From scratch: You have an unrooted device with A/B slots and your active slot is A while slot B is inactive. Basically such devices are a kind of dual boot system sharing one data partition.

Slot A​

<--- OTA --->​

Slot B​

bootloader_a

bootloader_b​

boot_a

boot_b​

system_a

system_b​

vendor_a

/data​

vendor_b​

product_a

product_b​

oem_a

oem_b​

others_a

others_b​

Installing Magisk = patching boot.img

Magisk saves the stock boot.img on every first install. If Magisk gets uninstalled it will restore the image and you are able to update via OTA. The verifying process won't fail because /boot_a now holds the stock image => checksum of /boot_a is ok.

But at this time you are still rooted! On every start of your device the boot.img gets loaded into your RAM for booting up your device. As long as you won't turn off/restart your device Magisk is still installed.

After the OTA update is successfully installed on slot B you are able to patch boot_b (because you are still rooted!) to install Magisk on the newly updated slot. This can be done with Magisk Manager -> Install -> Install to Inactive Slot (After OTA).

When finished - and only now! - you can restart the device. Due to the update your device will automatically boot the updated slot B.
[Moto Edge 30 Pro] WoKoschekk:
Alternatively to this whole procedure you can also flash the full firmware including a patched boot.img. The result is the same.
[Moto Edge 30 Pro] Lubo99:
Ok

If Magisk gets uninstalled it will restore the image and you are able to update via OTA. The verifying process won't fail because /boot_a now holds the stock image => checksum of /boot_a is ok.

i tried this and ota update still failed i did this 6 months ago... when i flashed patched img file to regain root it deleted everything. i am not very happpy to run flash boot again.
[Moto Edge 30 Pro] Lubo99:
verification failed update is not compatible with software version...there is clearly issue with update despite magisk was unistalled .... now when i go to magisk can i install magisk to inactive slot like ota update would be successfull to regain root?.. f....k ota update ! now i just want to regain root without deleting app data and there is warning that this option should be used only afdter ota update.
[Moto Edge 30 Pro] WoKoschekk:
You need to get more familiar with the entire rooting process. I'm assuming you lost all your data due to other missing dependencies in combination with root access and not just by flashing Magisk. Of course you get a warning that this option is onyl useful AFTER the OTA update was successfully installed. Patching a boot.img that gets overwritten afterwards by a stock boot.img (boot.img is always part of any update/ROM) doesn't make any sense...
[Moto Edge 30 Pro] Lubo99:
one more time.....

i have root for 6 months now. i did uninstall magisk via app(restore images option) did not reboot

then tried OTA update----it fails! as i did not reboot i still have root access at this moment but I AM ASKING WHAT TO DO NOW TO REGAIN ROOT BACK withou losing data as it hapened 6 months ago when i tried to install OTA update with same result as today(unistal magisk in mgis app-option restore images-tried to install ota-fail but according to you this should work) and then flashed patched img file to regain root again(loss of data)

now to avoid same situation

which option to select in magisk app so when i reboot my root remain intact. I have noticed that many times here something is advised and it does not work in real life... as i did not install ota due failure message i can assume that that option in magisk wont work right? there is option patch file i dont think this is right one and the 3rd direct install in magisk app.
[Moto Edge 30 Pro] WoKoschekk:
flash the full firmware and use a script without the line 'fastboot erase userdata'. then flash a patched boot.img and reboot.

FLASHING A PATCHED BOOT.IMG DOES NOT ERASE ANY DATA STORED ON /DATA!

that's why I told you to make yourself more familiar with rooting. what ever you have done 6 months ago, you didn't loose your data only by flashing a patched boot.img.

TECHNICALLY THERE IS NO CONNECTION BETWEEN FLASHING A PATCHED BOOT.IMG AND THE LOSS OF DATA!

but feel free to find a desired complicated workaround that increases the probability of complete data loss for a second time.

I have noticed that in most cases the here given advices are going to fail due to incorrect handlimg by the users themselves.

you want me to give you a guide to gain root access (back) without patching/flashing a boot.img. since you need a patched boot.img that gets flashed to gain root access it's an absolutely unlogical request from your side. didn't you create a backup before this?
[Moto Edge 30 Pro] Lubo99:
your guide

Magisk saves the stock boot.img on every first install. If Magisk gets uninstalled it will restore the image and you are able to update via OTA. The verifying process won't fail because /boot_a now holds the stock image => checksum of /boot_a is ok.

But at this time you are still rooted! On every start of your device the boot.img gets loaded into your RAM for booting up your device. As long as you won't turn off/restart your device Magisk is still installed.

After the OTA update is successfully installed on slot B you are able to patch boot_b (because you are still rooted!) to install Magisk on the newly updated slot. This can be done with Magisk Manager -> Install -> Install to Inactive Slot (After OTA).

When finished - and only now! - you can restart the device. Due to the update your device will automatically boot the updated slot B.

I did ===in magisk option uninstall magisk -restore images option

then I tried install ota update- it failed---this should work but it does not

now. if in magisk option uninstall magisk -restore images option is only thing that happened in my phone which was not rebooted.

what means in magisk option direct install?

why should i now flash whole original firmware and then flash patched boot.img file?

at this moment device is still rooted. isnt there much easier way to undo action made by magisk app?restore images---did this delete patched boot.img file? or switched to partition where original firmware is installed( i doubt because this would fool OTA update check and i would be able to install it) I am just trying to find out in which stage is my phone right now. if its still rooted and I just need to tell it to boot from partition where root is stiil installed I would rather do this and avoid flashing whole firmware and patched boot file.

about info provided we had conversation with boot motorola logo software and i think if you read it....
[Moto Edge 30 Pro] WoKoschekk:
you still have root access. grab a logcat and find out what's going wrong. there are so many reasons apart from Magisk why the update could fail.

open up the Magisk app and you'll find at the bottom of the main screen a direct link that leads to the repo on github.com:

Following that link and scrolling a bit down the page you'll see a section "useful links":

It's worth to have a look behind that links and read a bit.

Direct installation is recommended to update Magisk. This option does a direct installation by patching your current boot.img with the latest version of Magisk.

As I said... make yourself more familiar. Android is Linux (a lot of things are renamed by Google but it's Linux). The documentation for Android and also Linux, shell commands, source code and so on seems to be infinitely. Just do a Google search for 'android a/b devices' or 'magisk uninstall' or sth else. You search for 1 answer, read a bit and at the end you have more answers than questions. Install a terminal app and explore your file system (backups recommended) or do some scripting. Find answers yourself, that's the best way to avoid mistakes or loss of data. If you don't understand sth, than open up a thread. But if you always expecting step by step guides and assistance for every issue, rooting will be frustrating and a torture.
[Moto Edge 30 Pro] Lubo99:
logcat seems to be hardcore see attachment but from what i have seen so far cheksum failed but that is what already message when ota failed said lol
[Moto Edge 30 Pro] Lubo99:
do you see logcat file i have attached ?

i have pasted here very small portion of logcat file it here which may tell someone experienced in android what the problem there may be

06-22 19:19:29.845 E/update_engine( 1554): [ERROR:delta_performer.cc(926)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.\

06-22 19:19:29.847 E/update_engine( 1554): [ERROR:delta_performer.cc(931)] Expected: sha256|hex = 08B4B3F9FD53C3188F1EEE9B45A1A3A6266F4D3976585DC3CC6765024D633631\

06-22 19:19:29.849 E/update_engine( 1554): [ERROR:delta_performer.cc(934)] Calculated: sha256|hex = 7AC55A6481C4D19E599A01B79D90B01DFBDA21D6AA4A6AFC3DA0CE6C9D512EE9\

06-22 19:19:29.850 E/update_engine( 1554): [ERROR:delta_performer.cc(945)] Operation source (offset:size) in blocks: 0:1,13481:1\

06-22 19:19:29.851 I/update_engine( 1554): [INFO:update_attempter_android.cc(603)] Trying to open ECC source partition for boot(/dev/block/bootdevice/by-name/boot_b) and rectify the corrupted partition\

06-22 19:19:29.854 E/update_engine( 1554): [ERROR:update_attempter_android.cc(608)] Unable to open ECC source partition boot on slot B, file /dev/block/bootdevice/by-name/boot_b: No such file or directory (2)\

06-22 19:19:29.856 I/update_engine( 1554): [INFO:update_attempter_android.cc(612)] Failed to open FECFileDescriptor for /dev/block/bootdevice/by-name/boot_b\

06-22 19:19:29.889 D/OtaApp ( 7125): UpdaterEngHelper:verifyPayloadMetadata:isVerifySuccessful=false\

06-22 19:19:29.890 D/OtaApp ( 7125): AndroidClientUpgradeService.handleIntent: com.motorola.ccc.ota.ACTION_VERIFY_PAYLOAD_STATUS\

06-22 19:19:29.890 E/OtaApp ( 7125): CusSM.onIntentVerifyPayloadStatus: \

06-22 19:19:29.891 I/OtaApp ( 7125): PayloadMetaDataDownloader.close, with current dl status : true\

06-22 19:19:29.892 I/OtaApp ( 7125): PayloadMetaDataDownloader.unBindwithDownloadService, with mService:null and mConnection: null\

06-22 19:19:29.895 D/OtaApp ( 7125): CusSM.onIntentVerifyPayload : STATUS_NOT_OK\

06-22 19:19:29.896 I/OtaApp ( 7125): vesion:062b651f6d1c268 state:Result info:STATUS_FAIL_PAYLOAD_METADATA_VERIFY; AddOnInfo: Payload metadata verification failed

it wants to to something wit partition B ?
[Moto Edge 30 Pro] Lubo99:
so direct install in magisk from what you are saying is the same as i would patch boot img file and flashed in fastboot mode. right? that to me is much less effort when done directly in magisk manager app.

i did direct install from magisk app manager and rebooted phone. root was regained... all is as it was before ...
[Moto Edge 30 Pro] Lubo99:
so this is my last post here. to summarize. i dont know what is the reason why i can't install OTA update. probably this has something to do with the fact that B partition where magisk is installed and when magisk unistalled with restore images option somehow the setup is preventing to fool ota update verification.

for those who would want to get things back as it were with least effort made - just do direct instalation from magisk manager and things will be as they were before.

to remove annoying google habbit to treat us as idiots and despite updates are turned off forcing from time to time ota update popup window this will help if you have root access:

pm disable com.google.android.gms/.update.OtaSuggestionActivity

pm disable com.google.android.gms/.update.phone.PopupDialog

pm disable com.google.android.gms/.update.SystemUpdateGcmTaskService

pm disable com.google.android.gms/.update.SystemUpdateService

pm disable com.google.android.gms/.update.SystemUpdateActivity

edit : add 0.0.0.0 in hosts file to block ota server. after restart motorola.ccc package starts annoying again...
[Moto Edge 30 Pro] GAGANKXDA:
Phone restart on its own without asking after step 2 to apply updates whereas it is recommended above NOT to reboot..?
[Moto Edge 30 Pro] Lubo99:
your english is a bit tricky lol... you did 1 step and phone DID restart "on its own"? or you are asking before you start doing this?

I did this several times and phone had NEVER restarded on its own.. magisk manager is ALWAYS asking to confirm reboot. and you have ALWAYS an option to decide.
[Moto Edge 30 Pro] WoKoschekk:
that's right, no matter what you install/restore.

open Magisk app > Uninstall Magisk > Restore Images
[Android Q&A, Help & Troubleshooting] Tomatobar:
Hello I have redeemed a gift code from but I can't use the balance because the gift code was bought online from USA (basically it's a gift from my friend) the account address is already USA and it used to work but I think Google updated the Toss 1 year ago so you can't use gift cards from other countries and has to be from same country I tried Nord VPN (mod) still not working I already manager to add the balance of the gift card to the Google account but now the balance is locked and not working on any app .... I even tested it by letting someone from the USA try to log in my account and use the balance still not working seem like balance was locked or something I tried to message Google support to help or refund and took them like 2 or 3 weeks and they didn't help at the end or refund or unlock the money or anything ... Is there any solution for this ??
[Huawei P10 Questions & Answers] MichaelLGFAN1:
Hi guys,

I bought broken huawei P10 VTR-L29 described as no turning on.When i connect phone to computer it shows as HUAWEI USB COM 1.0.So i searched and i found board software to this model and i flashed software by IDT.On my suprise phone powered on to some kind of developer software.Next i was trying to install official software using HWOTA and i have problem.The problem is when twrp is flashed by script i'm turning off phone and i'm trying boot to TWRP using vol+ and power.But unfortunately phone goes black and keep restarting.Do you have any suggestions for me what can be wrong ? i was trying flashing diffrent twrp versions but nothing changed

I have unlocked bootloader and good battery
[Touch 3G General] damjanmi:
Hi,

Do you think that it will be possible to run Android on Jade (maybe Android port for Jade)?

Damjan
[Touch 3G General] pkoubek:
Should work - I tried it on my Kaiser and it works.

Jade has better spec. so it should work fine.
[Touch 3G General] echofloripa:
Not quite, I have a kaiser either. What works is the verison 0.8, as so far noone manage to port the SD driver, and the current android is too big for the internal memory, so no luck so far...
[Touch 3G General] DaM79:
Found this video, works on HTC Touch

http://www.youtube.com/watch?v=6iKje_0lUYg

If anyone knows how, and if there is the possibility to have "dual boot", like WM6 and Android both available, a tutorial would be nice!
[Touch 3G General] dasb84:
Before you get a tutorial somebody has to port Android for Jade... :p
[Touch 3G General] uterrorista:
Is already possible?

I want to try it.. :(
[Touch 3G General] davemaier:
hi, is there anything new about android on jade? I am really interested in this topic and it would nice to know if there will be a possibility to try it out soon! :)
[Touch 3G General] Theuntje:
Anything jet?

Cause i'm getting tired of my WM.. And I hope that Android would work a little bit faster..
[Touch 3G General] DaM79:
Agreed, tired of my WM as well. :D

So come one Developers, make it happen! 'cos this picture is fake!
[Touch 3G General] seraph1024:
does everything work or is it just an image overlay?
[Touch 3G General] S200guy:
Well, SOMEone seems to be trying to port it to the Jade CPU (MSM7225):

http://groups.google.com/group/android-porting/browse_thread/thread/2989a058cb1960f6

Maybe someone here wants to ask these guys about the progress..?

I WANT ANDROID TOO!!
[Touch 3G General] Theuntje:
Wauw.. how did ya do that? tell me tell mee.. (A)
[Touch 3G General] SlappyHours:
As far as I know most Android apps have not been designed for 320x240 resoultion anyway...
[Touch 3G General] interpleb:
I don't get it, if people want an Android phone why do they buy a WM phone :confused:
[Touch 3G General] Theuntje:
Because there wasn't any avelible when I bought mine? Think outside of the box my dear frind..
[Touch 3G General] DaM79:
Because, related to the country you live in, eg Germany, the HTC G1 is only available with a contract, and if you already have a contract with another company, and you dont like the conditions of the other contract, and cannot quit your 24month contract... so don`t wonder anymore...

And as you can see here, it should be possible:

http://www.youtube.com/watch?v=6iKje_0lUYg
[Touch 3G General] afsrui:
android on jade

hi all,

so is there a way to port android into jade?

i tried with haret version 0.5.2, but it gives me a exception rigth in the beguinning.

I dont know if it has something to do with the default.txt configuration file.

For example (see lines bellow) the value of MTYPE depends on the model used. And in case for Jade i did not found any value for this info.

Here is my default.txt file:

set RAMSIZE 0x5e

set RAMADDR 0x10000000

set MTYPE 1993

set KERNEL zImage

set initrd initrd.gz

msmsdcc_fmax=48000000"

set cmdline "root=/dev/ram0 rp init=/init console=tty0 mem=94"

boot

Help :)

thx
[Touch 3G General] Theuntje:
yeah.. help him help me!
[Touch 3G General] DaM79:
pushing up, is someone working on getting android running on the jade/t3232?

found the following links for further information

http://pocketnow.com/index.php?a=portal_detail&t=news&id=6408

http://xdaforums.com/showthread.php?t=382265

[from posting #9 was fake, of course!]
[Touch 3G General] Theuntje:
Bump..

still waiting for android on my Htc Touch 3G..

Why doesn't google make an app for the pc wich checks the hardware os your mobile and looks of it is compatible.. if so you can install it thru the programm..
[Touch 3G General] DaM79:
A problem might be, that Android as it comes and is it used up to now does not have a software-keyboard, but uses the hardware-keyboards from the devices... All devices published yet do have a hardware keyboard...

(Stopped in developing process and not delivered, Kogan Agora)
[Touch 3G General] Theuntje:
Well there is the android 1.5 cupcake with onscreen keyboard...
[Touch 3G General] DaM79:
Awesome! No we need Android 4 Jade!

Developers, Developers, Developers!!! :D :D :D

Please go ahead and port Android 2 Jade!
[Touch 3G General] SlappyHours:
The jade screen resolution is too small for most Android apps anyway.
[Touch 3G General] Miguel90:
Not all

HTC Magic G2
[Touch 3G General] DaM79:
Congrats! Check Post #22 at the end.

But thx for repeating! :D
[Touch 3G General] DaM79:
May 27, 2009, 7:20 pm

Google: Expect 18 Android Phones by Year’s End
[Touch 3G General] Theuntje:
Any news on a Jade version of android?
[Touch 3G General] chanaev:
Bump.

Any news?
[Touch 3G General] SlappyHours:
There won't be any! The screen resolution is too small to be useful on Android.
[Touch 3G General] NeoS:
Err, why is the Kaiser able to run Android then? AFAIK these resolutions are the same.
[Touch 3G General] heidewitzgar:
HTC tattoo :)

see

http://xdaforums.com/showthread.php?p=4490291#post4490291
[Touch 3G General] cccxxxfun:
Err, I think it's no problem to run Andriod on jade, but nobody working on it...:(
[LG G8 Questions & Answers] vini14zimm:
hello my name is petrus and i have a lg g8 LMG820M ATT with unlocked bootloader, i installed a custom rom ArrowOS 12.1 that worked perfectly, however i went to root with qfil and accidentally ended up replacing boot_b.bin by boot_a.bin , now the phone is stuck on fast boot screen

it already starts directly in fastboot and the text "ACTICE A/B slot - _a" no longer appears on the fastboot screen, there was no backup of boot_b.bin so I don't know how to solve it

Is there anything I can do to get it back? Or did he become a piece of garbage?

View attachment 5656703
[LG G8 Questions & Answers] AsItLies:
No, not a piece of garbage lol. Given the tools available for the G8; qfil, the programmers firehose, engineering abl, it's almost impossible to brick the device.

So, lesson learned; always make a backup. It sounds like you copied the boot partition for the slot that had at&t rom on it, to the slot that had ArrowOS on it? If so, sounds like just finding a copy of the ArrowOS boot partition should work?

Which version are you running? Someone may have that boot partition available.
[LG G8 Questions & Answers] vini14zimm:
yes that was exactly it, i understand i will never do anything without backup, i was using Arrow-v12.1-alphalm-UNOFFICIAL-20220627

so if someone has lg g8 and is using Arrow v12.1 alpham send boot_b.bin and I copy it using QFIL will my device boot again?
[LG G8 Questions & Answers] AsItLies:
Well, if all that's changed is the boot partition it should boot again. But I checked on tele group and no one responded with it.

You may have to download the rom and see if you can extract the boot partition from it.
[LG G8 Questions & Answers] yonaikymatos:
II have the same problem, were you able to solve it?
[LG G8 Questions & Answers] yonaikymatos:
i need help