yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] alfred56:
Hi,

I was able to use the command fastboot boot twrp.img to boot straight into TWRP.

First I wiped:

Dalvik cache, System, Data and cache.

Then I pressed install, selected a rom stored on my secondary SDCARD called XT1039_Retail_EU_51_Untouched_Stagefright_Patched.zip

TWRP confirmed that it was uploaded fine.

But when I rebooted the phone I got:

Optimizing apps 1 of 59, then it went black again.

I possibly have the wrong ROM, I don't know.

Thanks

Regards

Alfred56
[Moto G Q&A, Help & Troubleshooting] sdembiske:
You're making progress ...

You're making progress ... now go back into TWRP and select Wipe and then swipe the bottom slider on that screen to do a factory reset then reboot again. If that that doesn't do the trick, then try a different rom (It would be helpful if you knew exactly what the stock firmware was when you got the phone in order to match it).

S.
[Moto G Q&A, Help & Troubleshooting] alfred56:
Hi Sdembiske,

How are you?

I will give you an update about what is happening.

As I said earlier I am able to boot into TWRP 3.1 and run tasks like wipe, format and install.

I noticed that even if I wipe everything (Dalvik cache+cache+data+Internal Storage+System), some files are not deleted.

For example when I use twrp file manager and navigate to /sdcard/dcim/camera, I can still see many jpg/mp4 files that have not been wiped.

I thought the WIPE function would complete delete all files.

Feels as if some parts of internal storage are read-only.

Then I thought I might not have root access, so I downloaded superboot and ran superboot-windows.bat.

After rebooting the phone, the key combination that takes you into recovery was not working.

The key combo for my XT1039 is to get into bootloader mode first (power+volume down), volume down to recovery, volume up to select recovery, dead droid appears no command and finally power+volume up, but it does not work. You to try several times and eventually it goes into standard motorola recovery.

Still not sure which firmware image to download.

There are, I believe 3 kind of images:

IE:

OTA packages

XT1039_PEREGRINE_RETEU_5.1_LPB23.13-17.6_cid7_CFC.xml.zip

XT1039_Retail_EU_51_Untouched_Stagefright_Patched.zip

Which one do I use for TWRP install option?

Thanks

Alfred56
[Moto G Q&A, Help & Troubleshooting] sdembiske:
Are you still able to ...

I'm scratching my head Afred56, not pulling out my hair as I'm sure you must be now. Thanks for asking.

Are you still able to ... get into TWRP using the command you used that worked (Note: if it wasn't it should be renamed to recovery.img)? If not, reinstall it.

For root: download Chainfire's SuperSu from here: https://download.chainfire.eu/696/supersu/ push it to your sd card or copy it over if you can and then install the zip. You can follow the directions from here: http://www.theandroidsoul.com/how-to-flash-supersu-using-twrp-recovery-and-root-any-android-device/

I would use first: Retail EU 5.1 ROM (Untouched) (543mb) [Download] (Partially 'Stagefright' Patched) from: https://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t31428

Then, follow this:

How to flash:

1) Boot into latest TWRP and Format Data (Wipe > Format DATA > Yes) - This step is essential, and will wipe Internal Storage (Downloads, Music, Photos etc, **backup important files**)

2) Transfer ROM to SDCARD or Internal Storage. This may be done in Windows via MTP, or using adb sideload or adb push ROM.zip /sdcard/

3) TWRP > Wipe > Factory reset and flash ROM.

4) Reboot.

5) Call / WiFi issues can be solved by flashing 5.1 Radio Firmware (Below) for your Model.

Then: Flash(install) via TWRP from the same site

Updated Google Dialer

XT1039 Stock 5.1 Dialer | Messenger (Clear Dalvik Cache after flashing)

Full Stagefright Patch (Dec 2015) - [Download]

As well as flash 5.1 Radio Firmware for your Model from that site.

Really don't know what else I can tell you or give to you. Try posting to Lost101's site where you download the stock rom from - he has been very helpful to many.

Don't give up ... and don't go off half cocked trying different things before getting some additional input.

You will get there and learn a lot in the process.

Cheers,

S.

Good luck
[Moto G Q&A, Help & Troubleshooting] alfred56:
I can still:

boot directly into twrp

wipe completely (Dalvik cache, Cache, Data, Internal storage, system)

adb push XT1039_Retail_EU_51_Untouched_Stagefright_Patched.zip /sdcard1/

TWRP Install /sdcard1/XT1039_Retail_EU_51_Untouched_Stagefright_Patched.zip

Phone screen:

Updating partition details

...done

Full SELinux support is present

MTP Enabled

Installing zip file 'sdcard1/XT1039_Retail_EU_51_Untouched_Stagefright_Patched.zip'

Checking For MD5 file...

Skipping MD5 check: no MD5 file found

>>> XT1039 Retail Europe 5.1 Stock ROM (Untouched) <<<

Installing Android

Please wait...

Flashing Kernel...

Finished!

script succeded: result was [1.000000]

Updating partition details...

...done

Reboot

Motorola Logo, then black screen

I will try now with supersu as well
[Moto G Q&A, Help & Troubleshooting] sdembiske:
Read the instructions ... carefully!

Read the instructions ... carefully!

Boot into latest TWRP and

Format Data (

Wipe > Format DATA > Yes) -

This step is essential
[Moto G Q&A, Help & Troubleshooting] sdembiske:
Couple of further thoughts ...

Couple of further thoughts ...

- When you turn your phone off completely and just plug it in to charge, do you get the battery icon on the screen to show it charging? I'm wondering if you can charge the battery fully or whether it could be dead or almost dead.

- do you know your carrier that the phone was originally from? If so, find the CID out for that carrier (try googling it) and then try and get a stock rom with that particular CID and try flashing it.

- have you tried holdng down the power button firmly until it shuts down and starts to reboot, all without releasing the power button? Not sure if it might work but others have suggested it as well as removing the back cover off in some way (I've never done it but understand it can be done), removing the battery and then re-installing it).

- other things that have been suggested: https://xdaforums.com/showthread.php?t=2607327

I also had this same problem with my moto G .

I deleted the cache and the user data and then re-entered the system. (There were a few minutes, you might want to wait)

fastreboot erase cache

fastreboot erase userdata

fastreboot reboot

and/or as well:

fastboot erase cache

fastboot erase userdata

fastboot reboot

Other than that, I'm not sure what the issue is, but it does seem like a software issue and not a hardware issue, since you can see TWRP recovery, etc.

S.
[Moto G Q&A, Help & Troubleshooting] sdembiske:
In the Wipe screen in TWRP, you have clicked on Format Data on the right lower side?

In the Mount screen in TWRP have you ticked all partitions? Try it, please, system in particular - don't worry if a tick won't hold in USB OTG.

- Have you clicked on Fix Contents in the Advanced Tap in TWRP? Do it in a final try.

That's all I got - sorry if you are not able to get up & running

I'm out of ideas but hopefully someone can find a solution for you. That's it for me, sorry.

Cheers and Best of Luck,

S.
[Moto G Q&A, Help & Troubleshooting] BIG_BADASS:
Shouldn't you be able to delete user files without TWRP? I mean, unless the hard drive is corrupt or something?

You can first try the

wipefs -a [partition]

command

From the man pages:

wipefs can erase filesystem, raid or partition-table signatures (magic strings) from the specified device to make the signatures invisible for libblkid.

wipefs does not erase the filesystem itself nor any other data from the device. When used without any options, wipefs lists all visible filesystems and the offsets of their basic signatures.

wipefs calls the BLKRRPART ioctl when it has erased a partition-table signature to inform the kernel about the change.

Then try a full format of the hard disk.
[Moto G Q&A, Help & Troubleshooting] sdembiske:
Any member coming across this post, please note member BAD_ASS has provided misleading, ill-informed and potentially harmful advice to many junior members on XDA. He has had his threads cleaned more than once by the moderators and has his account disabled twice by moderators.

Using this command is totally unadvised and could potentially damage your device.

With that said, once again this member shows a singular lack of knowledge about TWRP or TWRP-in-FiSH and android internal storage. For those members who actually wish to know more info regarding TWRP, senior member steadfasterX has written the Q&A on the official TWRP site. Please refer to the following links (the second one references internal storage).

Link: https://twrp.me/faq/backupexclusions.html

Link: https://twrp.me/faq/datamedia.html

The relevant portion from the 2nd link is this:

"Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset, instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption."
[Galaxy Note5 General] Ishrak:
https://www.youtube.com/watch?v=ZxIowhhnsLE
[Xiaomi Redmi 3s Questions & Answers] Gourangaputhal:
Anyone using nogut costume rom on 3s prime...
[Xiaomi Redmi 3s Questions & Answers] joe34:
If you look at the section below which is headed Xiaomi Redmi 3s ROMs, Kernels, Recoveries, & Other Development, it pretty obvious. All you have to do is read the relevant threads there.
[Upgrading, Modifying and Unlocking] Tyrantre:
Hello, i just bricked my phone, by flashing a stock rom from this thread: https://xdaforums.com/general/rooting-roms/root-zte-blade-l5-plus-t3473632

It just gets back if i start it and nothing else happens. Is there a way to restore the flashfire or twrp backup i made with flash tool? because the stock rom i downloaded not working...l
[Moto G4 Plus Questions & Answers] lightningglasses:
I am using LineageOS and have the option to automatically open the camera app on double twist motion. The problem is, it looks like it works, but the pictures don't save. Everything works fine when I manually open the camera app. I am using the default camera app. How to fix this?
[Moto G4 Plus Questions & Answers] strongst:
Did you tried clean flash the rom? Maybe a log is useful if it is still present after clean flash.
[Samsung Galaxy S7 Questions and Answers] Oski146:
Is there something android 8.0 for galaxy s7 ? I want to test it on my phone
[Samsung Galaxy S7 Questions and Answers] dravida:
No.
[Tilt, TyTN II, MDA Vario III General] duncan_mccloud:
anybody know the address of the 3 ireland home page.. mobile.3ireland.ie etc... have tried a few different ones but dosent bring up anything... just a blank screen..

thanks
[Tilt, TyTN II, MDA Vario III General] 5olid:
did you have any luck finding the url. been looking for it myself
[Tilt, TyTN II, MDA Vario III General] Hakim Rahman:
this, try with this setting :

3 ISP (Internet)

data bearer: packet data

APN: 3ireland.ie

username: none

prompt password:no

password: none

authentication:normal

homepage:http://mobile.3ireland.ie/hb/HutchKey/

network type:IPv4

phone IP address:automatic

name servers (DNS): automatic

proxy address:none

proxy port:0
[Verizon Samsung Galaxy S7 Edge Questions & Answers] schlepprock:
Hey all. I have an S7 Edge. I keep it in performance mode and with that I keep the brightness bumped up to full. I have the AOD turned off but have night clock on. Most of my phone usage is surfing the net, videos, Facebook. Rhis is a shot of my battery life and I'm wondering if this is on par with everyone else.

View attachment 4124227

View attachment 4124228
[Verizon Samsung Galaxy S7 Edge Questions & Answers] jejb:
5+ hours of SOT with full brightness and in performance mode sounds pretty good.
[Verizon Samsung Galaxy S7 Edge Questions & Answers] GigaSPX:
Your stats are better than the crappy drainage I've been having. In Performance mode to boot as well. Wtf
[Verizon Samsung Galaxy S7 Edge Questions & Answers] Matttrix:
Thats about what I get.. And I have Bluetooth and other things always on.... BUT i have dark background and dark icons and when possible dark settings in apps to.
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
Is there a way to debloat lineage on samsung galaxy s4 and use other apps as system apps?
[Galaxy S 4 Q&A, Help & Troubleshooting] Buff99:
gapps-config can do some.... see here
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
You can disable most apps with the App manager. I don't think it's worth uninstalling them since most of the apps that can be disabled aren't that big and the big ones are usually necessary for the proper functioning of the phone.
[Galaxy S 4 Q&A, Help & Troubleshooting] MigoMujahid:
Debloat LineagoOS?!!!!

It's a very minimal AOSP based without any external features (even screen recorder isn't there)!, Do you think you can debloat it further?!
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
I dont understand how to edit the opengapps aroma package its too complicated
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
Then you obviously don't know what AROMA is.

Why don't you just use an app to uninstall the apps you don't need?
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
Because i want a stable system. And not to forget this ****ing aroma script in opengapps is hard to understand in german because iam not a person from us or other english languaged country
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
Deleting the stock browser won't make your system crash. Besides, I also said you can disable those apps since deleting them won't give you much space benefit.

PS: AROMA is an installer that lets you CHOOSE WHAT TO INSTALL. Why would you even want to mess with the script when it already does what you're trying to do?

What Mr Buff showed you is ONLY for the non-AROMA packages. It even says that on the link he posted.
[Galaxy S 4 Q&A, Help & Troubleshooting] Buff99:
Yes to what the learned Mr. Pwnycorn says.

There is an app called debloater on xda that runs remotely on a PC and lets you remove apps via adb. But that will be too complicated also.

Or you could freeze and delete from TIBU.

Or you could use a dedicated app from the playstore.

Or don't bother.
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
In open gappd there is a script extra for these debloat changes . But i dont k ow how to because its complicsted as **** and nowhere to find a tutorial. Adb is not the best idea because ADT have 1.8gb downloadsize.freeze and delete is also not the best thats why iam searching for debloater. I have found several scripts for other devices lile htc or huawei but not for samsung devices especially s7.

I prefer the method with the debloater app but adb is too much size. Playstore apps are ****ing mixed. Download the false app then got reflash the device if you know what i mean.

And i want to delete gallery music eq and the fuxking soundrecorder and stockbrowser even filemanager. I want my personally preferred apps installed in system . I dont want the cyanogrn/lineageos apps because they have no updates
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
Its not the space that i prefer its the ram that i can save by deleting the ****ty bloat out of lineageos
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
There are scripts for other devices to unbloat the lineageos. Its about the ram. I want to install my own gallery music etc. Because cm apps not worth it because bad quality . Was the same problem since cm13 an cm12
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
I know but for other devices there are scripts to delete gallery etc.

Yes. Gallery app. Music app. Equslizer app soundrecorder(its on the galaxy s4 lineage forever) i think because its there. And filemanager is bad as ****. I prefer total commander.
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
Disabled apps don't use any RAM because they are essentially prevented from ever starting. Not even you can start them unless you actually enable them again.

They're just like deleted apps, except that they are still present in the ROM without using any resources except for space.
[Galaxy S 4 Q&A, Help & Troubleshooting] MigoMujahid:
So it's not a storage problem, then as [MENTION=6312707]Pwnycorn[/MENTION] suggested already, disabling the apps will work like if they aren't even installed.
[Galaxy S 4 Q&A, Help & Troubleshooting] Buff99:
Like I said, config-gapps is the way to go for what you want.

Look I'll make it easier, in post #4 of my thread here is attached my example config-gapps and some instruction (in English).

If you read through the file you will get the idea of how to manually add and delete applications.

Beware however that this file is setup for use with the full SuperGapps file, as my rom, like OptCM,

has an enlarged /system partition of 2.7gb. Standard Lineage only has 1.1gb.
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
I wanted to use the pico gapps because i dont want bloat :D
[Galaxy S 4 Q&A, Help & Troubleshooting] Buff99:
You are awfully demanding for someone who wants help.

I'm done.
[Galaxy S 4 Q&A, Help & Troubleshooting] Oski146:
I just want the best solution. And iam rhankful for all the tips . I check this libk out from your post before and see what i can do :)

Edit : you cant disable all of stockapps i have seen
[Samsung Galaxy S8 Questions and Answers] Deleted member 2870764:
Anyone having stutter issues with bluetooth? Playing through my echo dot and just 10 feet away it's super choppy. Even from 3 feet I was having issues. Anyone have any ideas? I'm about to use it in my Kia soul (2012) tomorrow and already worried it won't work there. The audio issue right now is so bad it's not even usable. It chops up for a second every 10 or fifteen seconds.

Also, my WiFi signal strength is much lower than my nexus 6p. Anyone else have lower WiFi strength?
[Samsung Galaxy S8 Questions and Answers] sabreful:
This happened to myself also... albeit intermittently. However it also happened more on my S7 with my car stereo. Usually skipping a song/waiting 10 seconds fixes it. I thought it was my phone, but now I'm not so sure. Just something I just learned to deal with when it happens. Any one find a fix?
[Samsung Galaxy S8 Questions and Answers] mightbme:
I use poweramp. It has settings for buffer length and audio priority. I haven't really played with them much but it could solve your problem.
[Samsung Galaxy S8 Questions and Answers] sabreful:
I don't think that will work with Spotify unfortunately.
[Samsung Galaxy S8 Questions and Answers] calejr:
Definitely a problem - there is a large (unhelpful) thread over on the Samsung support site too called "Galaxy S8 Bluetooth Connection" (I'm not allowed to post links here yet)

A moderator claimed it's been reported to Samsung but no updates on the status for 2 weeks from him now. Restarting, clearing cache, factory resetting seem to only temporarily help.
[Samsung Galaxy S8 Questions and Answers] calejr:
New moderator jumped on and blamed the problem on the other devices not being Bluetooth 5.0. So apparently the S8 is not backward compatible with EVERY SINGLE BLUETOOTH DEVICE EVER MADE. Fun!
[Samsung Galaxy S8 Questions and Answers] DroidBois:
I am getting bluetooth audio stuttering issues when the FitBit app is installed, and the FitBit battery drains incredibly quickly. When I uninstall the FitBit app everything is fine. All other devices work fine with FitBit, it's only the S8 that's having this weird issue. Any status on a fix???
[Huawei Mate 9 Questions & Answers] dannytgt:
Hi guys i was trying to install a custom rom on my mate 9 (MHA-L29C432-156)so i followed the instructions ; unlocked the bootloader; then installed twrp 3.1.0-0; on twrp formated data; then full wiped and try to install AurRom from SD; but get a message that zip file is corrupted; so I tried with S.H.I.E.L.D ROM and it flashed , but then when boot goes to eRecovery, and give me 3 options download latest version and recovery; reboot and shutdown. So now I cant boot the phone, when I restarted, followed same steps , format data, full wipe and trying to installing again but getting a message about all zip files of the roms are corrupted; then i try to restore backup; and same again get the huawei logo, then the android logo , phone restarts and eRecovery again.

Please someone HELP, I use this phone for my work...........!!!!!!!!!
[Huawei Mate 9 Questions & Answers] ante0:
How did you full wipe?

Also try with Twrp 3.0.2-2

Here:www.androidfilehost.com/?fid=745425885120697579
[Huawei Mate 9 Questions & Answers] user4774:
Something went wrong here. You can run 'adb logcat' to see the crash details while starting.
[Huawei Mate 9 Questions & Answers] JATCHUHAN:
If you have a backup on twrp then restore to get phone working. You may need to flash the public and hw-data zips afterwards though.

If you don't have a backup then you could try flashing the C636 off line firmware and then use firmware finder to go back to your original firmware
[Huawei Mate 9 Questions & Answers] WieserZ1C:
you may just flash the modified recovery ( See Guide subforum ) ) to bypass the update certification and authorization and reflash an original firmware. your stored files will be lost anyway in most cases.

I would bet superuser ( shield ) and SuperSU ( Aurom) messed your boot image. Both are incompatible to each other and, afaik both are incompatible to twrp 3.1.

Flash TWRP 3.0.2.2, reboot to recovery again to change version, flash the rom ( f.e. shield rom), boot once up, reboot to recovery and THEN you may flash twrp 3.1
[Huawei Mate 9 Questions & Answers] dannytgt:
Thanks all of you guys, I've solved the problem, it seems that's something related to the sd card, I've formated the sd and transfer the files trough another phone and then put the sd on the mate 9, I follow the steps as followed before and works successfully, now I'm on AurRom and 182 firmware.
[Android Q&A, Help & Troubleshooting] teji007:
I was trying to install TWRP on my NX529J.

"Adb reboot bootloader command" is working but when i try to install TWRP with command "Fastboot flash recovery recovery.img", it dosent work.

It shows "waiting for devices"

Tried " fastboot devices" NO device there

I tried updating all drivers installed fastboot drivers and zte drivers but still no device found.

In developer settings OEM unlock, USB debugging is on.

and adb mode is also on with *#7678#.

Plz Help.
[Android Q&A, Help & Troubleshooting] anish.mvj:
sudo fastboot -i 0x19d2 boot recovery.img
[Android Q&A, Help & Troubleshooting] teji007:
sudo command not recognized in windows

Sir.

i tried this command also but windows didnt recognized sudo command.

Plz any other way?
[Android Q&A, Help & Troubleshooting] anish.mvj:
That is ubuntu command.

For windows run CMD as administrator and then run

fastboot -i 0x19d2 boot recovery.img
[Android Q&A, Help & Troubleshooting] teji007:
Thanks and a little more help

Thank you very much

Sir i upgraded my nx529j to 6.0.1, is there anyway to root it or downgrade to 5.1.1?
[Android Q&A, Help & Troubleshooting] anish.mvj:
Yes its possible.

Rooting is absolutely not required.

Follow the steps below

1. Download the latest 1.40 firmware from nubia india website support page. [Direct Link]

2. Then open the zip file and extract the recovery.img to local folder. Transfer the zip as it is to SD card

3. Goto fastboot/bootloader and run following

fastboot -i 0x19d2 flash recovery recovery.img

4. Then select reboot to recovery from bootloader menu.

5. Select wipe all application

6. Then install the downloaded zip [i hope you have already know how to do that]

It will automatically reboot.

That's it you are done downgrading