yashsingh1/xdaforums huggingface dataset:
[XDA Assist] v7:
Hello,

Thanks for using XDA Assist.

Ask your query here:**DEVICE SUGGESTION THREAD** -- Not sure what device to buy? Ask here! .You'll get better suggestions from the experts there!

Good Luck :)

___

v7

XDA Assist
[Sony Smartwatch 3] P4Pike:
Hey Guys I'm new to this forum and hope to find an answer for my Problem

My nephew bought himself a sony smartwatch, but his phones operating system is too old for the watch to link (Huawei Ascend p730 with jellybean 4.2.2).

Everything I found was a custom ROM with the reference to this forum. When I try to download the ROM i have to get through some Survey where I have to buy some ringtones or movies.

Is there another and free way to upgrade his phone so he could link his watch? The watch demands at least the 4.3 version of jellybean.

Thank you for any help in advance !
[Sony Smartwatch 3] Art Vanderlay:
Hi and welcome to XDA.

Can you link me any roms that have those surveys? Redirect links are not allowed on xda and I've never seen that in any rom thread here.

Try posting your query in Ascend P7 Q&A, Help & Troubleshooting http://xdaforums.com/ascend-p7/help. Other Ascend users may be able to help you.
[Sony Smartwatch 3] P4Pike:
Hey Thank you so much for your answer!

Well there's just the Quote on this site, that it was "inspired from xdaforums.com". -> http://www.lollipopupdate.xyz/upgrade-update-huawei-ascend-g730-to-5-0-lollipop.html .... Can you tell me when you've checked it, if it is something one could use to update the phone and how?
[Sony Smartwatch 3] Art Vanderlay:
Ah I see. It's a totally different website. If you check the Ascent P7 forum I linked you you'll find the development sections. All Ascent P7 roms on this site are there. If you take a look through you should find something.
[Sony Smartwatch 3] xunholyx:
Don't use that site. See this attachment:

View attachment 3638730
[Sony Smartwatch 3] P4Pike:
Yeah I thought it has to be something of a fake.
[Android Q&A, Help & Troubleshooting] namcur:
Hey, so i have a Vodafone smart 4 turbo, and it doesn't have the apk for live wallpapers . I desperately want to have live wallpapers, well just gifs, and i know it will slow down my phone and drain the battery. Can you please help with an apk that will work for this phone?:confused::o:o:o:o
[Android Q&A, Help & Troubleshooting] namcur:
Anybody? :C
[Motorola Droid 4] Washedout77:
I have a droid 4, but I have never been able to make the notification LED works except fastboot mode ; There shines green but not when charging or when notifications arrive work. Also me I tried with lightflow but not in root mode. If someone has a patch or know how to make it work I would appreciate a lot, now I have ROM: CM12.1

RECOVERY : 3.75 SAFESTRAP :crying: :crying:
[Motorola Droid 4] Borchuck:
Does it works on a stock rom?
[General Topics] gogol:
Hi,

Anyone know a good game review site especially for Windows Mobile / PPC / PDA ?

Something like gamespot.com or ign.com :)
[Moto G 4G Android Development] _that:
Team Win Recovery Project is the leading custom recovery for Android devices, built with ease of use and customization in mind. Its touch driven user interface is completely theme-able. You can change just about every aspect of the look and feel.

TWRP main site and changelog: https://twrp.me

INSTALLATION:

Download and installation instructions: Official device page

Most devices can be updated quickly and easily within TWRP if you already have version 2.8.4.0 or higher installed.

1) Download the latest version from our website on your device

2) Reboot to TWRP

3) Hit Install and tap the "Images..." button in the lower right

4) Browse to the location of the TWRP image on your device and select it

5) Select recovery from the partition list and swipe to flash

OR:

Download the image to your computer and flash using fastboot:

fastboot flash recovery twrp-3.3.0-0-peregrine.img

The phone will complain about "Mismatched partition size (recovery)", but you can safely ignore this message.

SUPPORT:

If you have found a bug, please consider posting it to our github issues log. Please don't send me PMs, I usually read posts in this thread.

Live support is available via #twrp on Freenode with your IRC client. Remember that people have jobs and need to sleep, so if you don't get an answer, try again a few hours later.

TWRP source code (GPL v3): https://github.com/omnirom/android_bootable_recovery/tree/android-8.1

Device tree, thanks to luca020400: https://github.com/TeamWin/android_device_motorola_peregrine
[Moto G 4G Android Development] diedsel:
great recovery

works so far. tnx for building this dude ;)
[Moto G 4G Android Development] wurstel:
sweet, I flashed the *.img with flashify, and updated to latest cm13 via cyandelta, including xposed and a custom kernel. I even have the external sd formatted as an internal one in marshmallow, and twrp updated without any hicups. (with the old twrp this did not work, because it could not read the encrypted sd card). i am so happy, this is just awesome!
[Moto G 4G Android Development] mizi_:
This version has encripted system support?

Inviato dal mio Amazon Tate utilizzando Tapatalk
[Moto G 4G Android Development] Kayant:
Was going to try to build today but you guys are work quick :p :)
[Moto G 4G Android Development] asdfPipe:
holy crap that was real quick :0 gonna test it right now!
[Moto G 4G Android Development] droident:
Went via Flashify route; A-OK and no issues thus far. Had a little play around but haven't flashed anything yet.

Nice work!
[Moto G 4G Android Development] Inderlein:
Mismatched partition size (recovery)

Hey,

I would love to flash CM on my wifes xt1039.

Do do so I'm trying to flash a recovery image, so far without success.

I did a reboot into bootloader:

adb reboot bootloader

after that I tried to flash different recovery images including yours:

fastboot flash recovery filename.img

I always get:

Mismatched partition size (recovery)

Any ideas?

Thanks

UPDATE: image was flashed , so everthing is okay.. I didn't try a boot to recovery..
[Moto G 4G Android Development] pargop:
What is the bootloader version?

I had the same once, when I first flashed costom recovery over stock. I just ignored that messge - everything works. If flashing, backup etc works, just ignore that message.
[Moto G 4G Android Development] LuuchoRocha:
This is working really good! So many thanks [MENTION=4878287]_that[/MENTION]
[Moto G 4G Android Development] _that:
That message seems to be normal on this device. No need to worry.
[Moto G 4G Android Development] merlinolillo:
It works perfectly. Really a good job :)
[Moto G 4G Android Development] eilgang:
Works fine on my xt1039 ! THX

Gesendet von meinem KFTHWI mit Tapatalk[/QUOTE]

Gesendet von meinem KFTHWI mit Tapatalk
[Moto G 4G Android Development] PenguinDada:
Just installed the latest CM13 nightly, Open GApps and XPosed Framework with this recovery. Thanks a lot!
[Moto G 4G Android Development] Pupet_Master:
Work amazing and perfect. I felt it slower tough to flash and backup.. but it may be my SDCARD that is getting old (who knows).

I have a question, on the prev version, i could backup the radio only, is it possible to do it on this. I only found Data, Cache, System and Boot to backup.
[Moto G 4G Android Development] danny8:
Beautiful!

Very nice! :) THANK YOU for this. :D

I just made my first nandroid backup to "internal" slotted SD card which was formatted as an extension to "regular" internal storage. (Man, I feel badly for new Android users coming to terms with slotted SD cards. What a pain!) It was much faster than using the USB OTG storage, which is what I had previously been doing.

While tweaking the name of my backup, I noticed some keyboard editing flakiness. Nothing I couldn't handle.

Again, thanks for doing this!

BTW, it took me an hour to install this via adb interface. I was bound and determined not to use Flashify. (Nothing wrong with Flashify, I just wanted to use ADB ). I got a "waiting for device" message. Finally resolved that by installing the Windows driver package from Motorola's web site.

Windows 10 laptop issuing ADB commands to XT1045 in bootloader mode.
[Moto G 4G Android Development] satanas17:
Hi and thanks for the hard work ;)

Just flashed and i've made a little tour.

Effectively, some little lags but nothing enough relevant to talk about.

Very nice translation and presentation.

Seems to be efficient.

Noticed too, much less choices when saving...is this because just a beginning ?
[Moto G 4G Android Development] Axaion:
got cmd: getvar:partition-type:recovery error when trying to flash via cmd

But flashify worked, so theres that
[Moto G 4G Android Development] Wyneg:
Working in XT1040 CM13 ;)

Thanks!!!
[Moto G 4G Android Development] Gianlu92:
Has anyone tried to restore an old backup made with the old 2.8.7 recovery with this 3.0.0 version? In my case, it gets stucked while restoring data, I flashed the old recovery and it is working fine. Now that my daily driver boots I'll try to flash 3.0.0 again and take a backup directly from there.
[Moto G 4G Android Development] OmarBFC73:
So flash recovery, fastboot reboot and immediately the volume down pressed?

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
I remember reading that somewhere. But maybe was on Condor when i flashed TWRP for my cousin Moto E

---------- Post added at 18:08 ---------- Previous post was at 18:07 ----------

First try 3.1 again.

Do as _that said, and clean cache, flash, clean ;)
[Moto G 4G Android Development] OmarBFC73:
I succeeded with the advice you gave me.

But now I can not flash any rom.

I tried RR and LineageOS but I got this error

Sent from my bacon
[Moto G 4G Android Development] Pupet_Master:
I think you will need a full wipe :\

I had the same dificulty)

but don't quote me on that, wait for _that as he know much better than i do ;)
[Moto G 4G Android Development] OmarBFC73:
Full wipe .... I have not installed anything yet .... Do you think that would be useful?

Sent from my bacon
[Moto G 4G Android Development] OmarBFC73:
Well, with a full wipe the rom is installed correctly
[Moto G 4G Android Development] Pupet_Master:
Nice. Usually even with nothing installed full wipe is a must, as the internal memory always have some residues.
[Moto G 4G Android Development] czarsuperstar@gmail.com:
Backup your internal and after you format data reboot recovery so twrp can make it's dummy file and you should be good. Some Roms require you format data which wipes everything. Rebooting the recovery in the reboot section helped with any errors I received.
[Moto G 4G Android Development] Paul Vision:
Hi!

Is there a way to backup TWRP settings (brightness, vibration, clock) even if I do a System wipe?

Thank's
[Moto G 4G Android Development] _that:
Settings are stored in /data and thus survive a system wipe.
[Moto G 4G Android Development] Vardok:
Oh ok. Thank's for your help!

If I do a default TWRP wipe "factory reset" (cache, davilk and data) I don't loose my settings... why ?

Edit : I find that it's stored in "internal storage" ;)
[Moto G 4G Android Development] galoneta:
Hi.

Build 3.2.1 available here: https://dl.twrp.me/peregrine/twrp-3.2.1-0-peregrine.img.html

Thanks.
[Moto G 4G Android Development] _that:
Updated OP; thanks for the reminder.
[Moto G 4G Android Development] Jalipero:
I have been away from this for about 3 years, but found myself having to revert to a moto g xt1039 for a few days, and quite literally I have forgetten everything.

First off I tried to go into recovery and it came up no command, so I forced through that and did a factory reset then logged in and updated everything. I installed the twrp app on the phone and downloaded the latest twrp file too, but I am not getting asked to select a file. I am obviously being stupid and missing something obvious, but I have no idea what that might be.

The last thing I did to this phone about 3 years ago was to install a Tesco Retail rom IIRC as the other builds were having radio issues or something, and I had to sideload that at the time, which I have completely forgotten how to do now anyway, so thought this would be easier rather than having to relearn.

Any advice or assistance is greatly appreciated.
[Moto G 4G Android Development] Rob...:
I dont understand what you want. Install TWRP? Or is it already installed and want to install a ROM?
[Moto G 4G Android Development] Jalipero:
No, [MENTION=7373618]Rob...[/MENTION]; at the moment there doesn't appear to be any recovery installed on it, as when i choose recovery I get the fallen over android, so I went to install twrp, and installed the app on the phone, then downloaded the correct version for my phone, but it never asks me to choose a file, the button doesn't appear. There are obviously things that need to be done then or undone before this program will work, I am just wondering if my circumstances ring any bells as to where to look for what I have done wrong.

Thanks
[Moto G 4G Android Development] Rob...:
Is the bootloader unlocked? What Android is on your device, a custom Rom or stock?
[Moto G 4G Android Development] Jalipero:
Funny you should, but I checked that myself and as it turn out it wasn't, although I have no recollection of relocking it. I unlocked it yesterday but got no further than that, and it has Tesco retail stock rom installed on it. I will give it another go now the bootloader is unlocked, but I tell you what for a 4 year old phone it is bloody quick, forgot how good it was. Thanks for the assistance, and if that doesn't cure it, I will give you a shout.

Thanks again.
[Moto G 4G Android Development] Jalipero:
[MENTION=7373618]Rob...[/MENTION] I tried again but its just the same. All I want to do is get a phone signal again as I lost it when I flashed the latest stock ROM to it. It recognises the sim, but just says no network, and when I try searching for network operators it just says there was an error, so I thought a complete wipe and reinstall of gb retail 4.4.* would work as it did before, but I need twrp to do this, and although the file is downloaded, it sin't asking me to select it.
[Moto G 4G Android Development] Rob...:
if you come from 4.4 KK, you need the LP radio firmware.

You need to:

Backup your custom ROM

Wipe EVERYTHING (data, caches, system and Internal memory)

Flash the LP radio (that will allow your SIM, wi-fi, etc to work on LP+ ROMs)

And last but not least flash Rom, GAAPs and a custom Kernel if you like.

https://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816

You can also install twrp without the app. With fastboot for example. Look here, it will be described. App Install Method Requires Root

https://twrp.me/motorola/motorolamotog2013lte.html
[Moto G 4G Android Development] Jalipero:
Cheers [MENTION=7373618]Rob...[/MENTION], I remembered I had adb tool kit install and used fastboot to install twrp onto it, and wiped it and installed 4.4, but still no radio. I will try again and dig out the lollipop radio and install it seperately. Thanks.
[Moto G 4G Android Development] _that:
Why are you trying to flash a recovery for falcon (Moto G 1st gen) on a titan device (Moto G 2nd gen) and then post in a peregrine (Moto G 1st gen + LTE) thread about it?
[Moto G 4G Android Development] bennett78:
Obviously this xda newbe is not sure what a MOTO G XT1064 needs. My guess is 2nd gen. I would be happy getting back to a factory image !!

Just trying different stuff since nothing is working...except adb shell USB console to twrp-3.2.1-0-falcon with only a teamwin logo.

Mon Feb 5 14:02:41 MST 2018 tried twrp-3.2.1-0-titan.img same results as above.
[Moto G 4G Android Development] Rajvir8:
Hi I'm trying to get TWRP 3.2.1-0 Falcon work for my Moto G XT1032, but when I installed it I entered a bootloop where I just continually went back to TWRP 3.2.1-0

First I looked up how other people solved it, and several people managed to fix it by running

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota into the terminal command box

I tried but all I got was that there was no space left on the device and it failed.

Luckily I was able to fix my phone by running a recovery and reverting my TWRP back to my TWRP 3.0.2-2

But I am now back to where I began, I have at least turned on ATB so I can try the other recovery method but does anyone know what happened?

If I try to flash it again will the same problem occur and if so should I try 3.1.1 Falcon or will the same problem occur?
[Moto G 4G Android Development] schrickz:
1st, this is a peregrine thread.

2nd, which method you've used to install the TWRP? Directly flashing the .img via TWRP always worked for me.
[Moto G 4G Android Development] Rajvir8:
My apologizes, I'll try to find the falcon thread.

I directly flashed the image file.

It worked but then I was stuck in a bootloop where I kept going to the TWRP menu and couldn't get out no matter what I did.

Eventually I fixed it by recovering back to my old TWRP through recovery but naturally that put me back to where I was before.

I'll try flashing twrp-3.2.1-0-xt1032 instead of the Falcon I used as it's more specific to my device and might work where the other failed.
[Moto G 4G Android Development] Alan Soriano:
kiero asi
[Moto G 4G Android Development] sevenrock:
twrp-3.2.2-0 was released: https://eu.dl.twrp.me/peregrine/twrp-3.2.2-0-peregrine.img.html

Release notes: https://twrp.me/site/update/2018/07/01/twrp-3.2.2-0-released.html
[Moto G 4G Android Development] sevenrock:
twrp-3.2.3-0 was released: https://eu.dl.twrp.me/peregrine/twrp-3.2.3-0-peregrine.img.html

Release notes: https://twrp.me/site/update/2018/08/06/twrp-3.2.3-0-released.html
[Moto G 4G Android Development] :
twrp 3.3.0 is out now: https://eu.dl.twrp.me/peregrine/
[Moto G 4G Android Development] passtim:
I have a peregrine now running (unofficial) lineageos 16. TWRP is installed, and could install files to 'system' if only it could read them from 'data'. The problem is decryption. TWRP 3.2.3 sees that it is encrypted, asks for a pin, but doesn't recognise the valid pin. 3.3.1 doesn't even ask for a pin. Before I moved from lineageos 14.1 (my own build so as to keep up with android security patches) TWRP 3.2.3 worked OK.

I have an SD card installed as 'internal' rather than 'portable', but TWRP can't see the files, so putting an install file on the SD card (downloaded to the mobile or via PC) doesn't help. Similarly I could do a backup if only there was somewhere to put it.

In the TWRP FAQ they imply that decryption may never work on some devices. The update list for 3.3.0 says it includes decryption for Android 9 but it doesn't work for me. Am I stuck with this situation? I guess I can install using ADB from my PC, butit's a lot less convenient. I'm really unsure whether I can backup at all.
[Moto G 4G Android Development] passtim:
If my question is daft, please tell me. There's an awful lot I don't know or understand about an awful lot! If there are things I need to check about the android build I can root it and take a look.
[Moto G 4G Android Development] _that:
The first thing I'd check is /tmp/recovery.log after booting TWRP (use adb pull) and see if there's anything interesting related to decryption there. Maybe also look in the output of "adb shell dmesg".

Personally I have no experience with device-specific decryption issues, but if you're lucky, someone in #twrp can help you.
[Moto G 4G Android Development] passtim:
I attach a recover.log and dmesg. There are a lot of messages saying that it can't access the fsfs data partition, but I've no idea whether that's expected because it doesn't realise the system is encrypted, or what else might be the problem.

Any ideas?
[Moto G 4G Android Development] _that:
The first thing that catches my eye is this:

E:Unexpected value for crypto key location
Could not mount /data and unable to find crypto footer.

That error message is from here:

https://github.com/omnirom/android_bootable_recovery/blob/android-9.0/crypto/fde/cryptfs.cpp#L797

Traditionally, the crypto metadata was stored in the footer (last 16k) of the /data partition - do you know if/how that has changed with your LineageOS 16?
[Moto G 4G Android Development] passtim:
I've no idea, and don't know how to find out where it is. Is there a way once booted up?

I do know that TWRP 3.2.3 did know it was encrypted, but didn't like the pin.
[Moto G 4G Android Development] sdembiske:
@_that

My question is related to TWRP version 3.5.2 for Motorola Moto G 2013 LTE. The original problem stems from a recent issue where the latest Open GApps nano version is too large to install with the current Moto G LTE partition sizes.

I have managed using parted to successfully resize both the cache and system partitions (reduce cache partition (33), increase system partition (34)), but when I go to install the new rom (XDA - unofficial LineageOS 16.0 that I have been maintaining with the recent Google and Lineage security updates), I get an TWRP error 7 as it fails to re-install the system partition. I have modified the device board config file to reflect the partition changes at the Byte level (as below), but I'm wondering if other files in TWRP or in the rom build itself need to be altered as well or is it an update verifier issue? I'm loathe to remove the assert line in the rom updater-script as I fear the GPT partition table may be signed by Motorola and could brick the phone when the rom is flashed.

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

- Original sizes in B (Bytes)

33 127795200B start 687865855B end 560070656B total size ext4 cache

34 687865856B start 1845493759B end 1157627904B total size ext4 system

- Resized sizes in B (Bytes)

33 127795200 start 526385151 end ext4 cache 398589951 total size

34 526385152 start 1845493759 end ext4 system 1319108607 total size

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

I have wiped the system and cache partitions beforehand but I'm also wondering what other, if not all, partitions to be wiped as well?

Any advice/help you can provide would be very much appreciated. The only other thought that’s crossed my mind is to somehow compress the rom system image file further in the rom build itself before trying to install with TWRP.

Thank you,

S.
[Moto G 4G Android Development] _that:
Your recovery.log should have more details about the error (adb pull /tmp/recovery.log directly after flashing).

Wait - you said above that you already resized your partitions, and now you're saying that you're worried about the GPT potentially being signed?

TWRP itself doesn't care about partition sizes at all - it will use whatever the kernel reports, and the installation of the ROM image is the job of the updater in the zip while TWRP only provides the UI.
[Moto G 4G Android Development] sdembiske:
OK - Thank you. So the issue most likely resides in the kernel compilation then from what you're implying. I will check the TWRP logs as you've suggested.

I have restored back to the partition unaltered build with no issues so will check further to see if any issues are could possibly be attributed to the kernel compilation.
[Moto G 4G Android Development] _that:
I'm not implying that your problem is related to kernel compilation in any way - usually the kernel gets its partition sizes by reading the partition table from the device.
[Moto G 4G Android Development] sdembiske:
@_that

?

I've retrieved the TWRP recovery log (attached - not sure it's working, alternative pastebin link provided). Any insight you can provide would be appreciated.

Link to TWRP log: https://pastebin.com/STZQ8AmL

Thanks,

S.
[Moto G 4G Android Development] _that:
If you read the log, before "Updater process ended with ERROR: 7" it says:

script aborted: E1001: Failed to update system image.

This message is from your updater-script, likely because block_image_update failed. That function is controlled by your system.transfer.list. I'm not sure what "new data receiver is still available after executing all commands." means, but maybe the transfer list must cover the whole partition? I still don't know what assertion you were originally referring to, or what you did with the partition sizes and what you did or did not do related to the GPT.