yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] arthurpl:
Look at http://xdaforums.com/showpost.php?p=68495077&postcount=3 No Secure Settings, AutoTools etc.

For me - it works (on Nougat SlimRom 7 on HTC One 7).
[Tasker Tips & Tricks] DeX1009:
It seems it needs root.
[Tasker Tips & Tricks] arthurpl:
Of course... It can't be done without a root.
[Tasker Tips & Tricks] DeX1009:
Unlocking AutoTools Secure Settings through ADB allows users to turn on/off GPS, and GPS can't be switched without root...
[Elephone P9000 Questions & Answers] haidar123:
In sending my phone back to gearbest as the screen has a dead spot. I need to back everything so I can restore when I get it back. I don't have a SD card so I need a free application to back everything up any suggestions?
[Elephone P9000 Questions & Answers] Pro4TLZZ:
Buy yourself a sd Card.otherwise very different
[Elephone P9000 Questions & Answers] haidar123:
I have got one which is 32gb but can't get the phone to recognise it and it factory reset fails on it too
[Elephone P9000 Questions & Answers] chepaz:
I usualy use TitaniumBackup and create the backup first onto the device memory. Once it is created i move the whole backupfolder via WLAN to a sambashare with e.g. totalcommander in my LAN.

After flashing the device i move the backup back onto the device and write the backup back ;) Not the fastest and easiest way, but i want my backup somewhere else than the phone which i'm flashing.
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
After turn on phone only enter ih the Firmware upgrade encountered an issue. Please select recovery mode in Kies & try again. A don't boot in recovery with phone.

But use odin, and try 3 firmwares but not help. Write failed after done system.img

After run kies, see message this model not supported.

After run recovery initialation and put SM-G531F and serial number, click ok and ok and after that not happening.

https://s21.postimg.org/as5othep3/image.png

after click ok

close all and see this windows

https://s16.postimg.org/8snny9a6t/123.png

Close for this window.

I low speak english.
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> Sboot.bin

<ID:0/003> NAND Write Start!!

<ID:0/003> Recovery_Sboot.bin

<ID:0/003> Loke_Recovery.bin

<ID:0/003> Loke_Primary.bin

<ID:0/003> boot.img

<ID:0/003> recovery.img

<ID:0/003> system.img

<ID:0/003> __XmitData_Write

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
On pc open the firmware with winrar then extarct the file named hidden.img from it to any place. Rename the hidden.img file as hidden.img.tar . Reflash the frimware through odin and you will get failed again but now flash the hidden.img.tar with odin now it will be successful and your phone qill boot

---------- Post added at 07:20 PM ---------- Previous post was at 07:19 PM ----------

If u dont understand ask me
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
Thanks, work this
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Your phone worked?

---------- Post added at 01:07 PM ---------- Previous post was at 01:06 PM ----------

Dont forget to give me a thumbs up if i helped
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
Worked. But my phone synced with previsius email. I don't email and password. How to unlock phone without previsius email?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Email? I dont get what are u saying may be u are converting the lang in english?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
This
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
this
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
There should be an option to skip
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
No options to skip. I put phone to offline but not skip options.
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Just enter different email i mean make an email account from pc then enter that
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
Not help. I think, this is knox protection. I don't have previously synced email on this device.
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Makr a new account then enter that
[Galaxy Grand Prime Q&A, Help & Troubleshooting] chaudharyjatin115:
You are right this is FRP you need to flash stock firmware and then wipe data
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
i make new account. Not work. I flashed stock firmware and wipe data after boot again asking the previous e-mail synced. TWP recovery not possible install with odin when FRP is on.

To disable FRP is need to turn off this on developer options,

but can not open developer options until I type email.

I think to fix that is need to flash 'knox removal script.zip' from recovery, but this knox not flashed with stock recovery.

Any idea?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] ashikmohd111:
I want a new rom for my device.and please make it fast and kindly inform me
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Did you fix it?

---------- Post added at 06:47 PM ---------- Previous post was at 06:45 PM ----------

http://xdaforums.com/grand-prime/help/frp-lock-sm-g530w-kodoo-variant-t3446107/post68388515 maybe this helps
[Galaxy Grand Prime Q&A, Help & Troubleshooting] xxsen:
Yes. I flashed new firmware but i need usb cabel turn on on rear usb port and flash first hidden.img with odin after that flash stock rom
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
no need just repeat the odin process using hidden.img instead of frimware aa soon as u get fail. U need to remove the battery and insert again first so u can boot into doqnload mode
[Galaxy Grand Prime Q&A, Help & Troubleshooting] nitalee1984:
hello i have a question how do i get my galaxy grand prime out of recovery mode i had rebooted it n as it was starting back up it just stayed on the samsung logo plz help i cant afford to get another phone
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
Could you elaborate. Your phone is not s5uck in recobery mode it has got a bootloop. What did you do before rebooting? Is it stock or custom recovery?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] nitalee1984:
oh I see ok well I was going to update my software when a message popped up saying that my device was modified in a unauthorized way and that I needed to install smart switch and update and backup of data. so I do so and when I was going to do a factory reset on it I ended getting a way different screen that had said something bout os update and to download os or something like that. so I just went ahead and continue to do it when I dropped my phone and the battery fell out. so not thinking it over I went ahead and started to do it again when that time I did volume up + power and home button I got the screen I was originally wanting the first time so I just did the factory reset and reboot and after wards my phone never turned on completely it just stays on the Samsung logo and now I am really :confused: :(:crying::crying::(:(:mad::mad::mad: so plz can someone help me :confused: I hope that makes sense to you
[Galaxy Grand Prime Q&A, Help & Troubleshooting] waleeds1:
I got it. I could explain you but i guess this video will be perfect for you [youtube]06ofIxNZMLc[/youtube] but for the rom/firmware you need to go to google your phones model for firmware ask me if you dont get it.
[Galaxy Grand Prime Q&A, Help & Troubleshooting] d1v1n3:
this will help you:

https://youtube.com/watch?v=G_bUAEcJZpE
[Galaxy Grand Prime Q&A, Help & Troubleshooting] aakash_panchal.7:
Can u please help me same problem here.

---------- Post added at 01:19 PM ---------- Previous post was at 12:57 PM ----------

I had tried Flashing a custom recovery in my Grand Prime but got bootlooped & now i am getting an error Firmware upgrade encountered an issue. ........ Cant enter into recovery mode plz help......
[Galaxy Grand Prime Q&A, Help & Troubleshooting] luc97:
How do I UPDATE my galaxy grand prime SM-G530W to Nougat?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] chaudharyjatin115:
There is no custom ROM or official ROM available for the device
[Galaxy Grand Prime Q&A, Help & Troubleshooting] luc97:
How come it shows my device is compatible for TWRP then?
[Galaxy Grand Prime Q&A, Help & Troubleshooting] chaudharyjatin115:
Because the twrp support didn't guarantee that the device will get a custom rom

---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------

Because the twrp support didn't guarantee that the device will get a custom rom
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
Hi guy,

I have been trying to figure this out for a while now and can't seam to figure it out. Everytime I flash a CAF based ROM after clicking reboot the phone turns off. During this time it is very hard to get the phone to turn back on. Holding the power button does not seam to do anything. I have to hold the power+volup+voldown for around 30 seconds let go and do it again in order to get back into recovery. I am not getting any errors at all when flashing. I really have no clue what it could be. I have tried every CAF based ROM I have come across here and they all do it. The only thing I can come up with is my phone has had the screen, camera, and battery replaced. Could one of these parts or another part be causing a problem that doesn't allow CAF based ROMS to work? I know its a long shot but thats all I can think of at the moment.

Right now I am working on trying to flash CyanogenMod from this thread. I have tried both version 13 and version 14 both have the same problem. This is what I have tried.

Flash HammerheadCAF reboot back into recovery

Flash bootloader&radio_HHZ20h+2.30.zip reboot to recovery

Flash cm-13.0-20161029-UNOFFICIAL-hammerheadcaf.zip

Flash opengapps

Flash SuperSu

Reboot

Black screen of death

What is wrong with this process? I have also tried the same process with cm-14.0-20161029-UNOFFICIAL-hammerheadcaf.zip. I am now going to try this same process with cm-14.1-20161029-UNOFFICIAL-hammerheadcaf.zip. I don't expect any difference though. Anyone have any suggestions?

Thanks,

Rocky

*****Update*****

I have tracked the problem down to CAF TWRP. I have formatted the phone which has removed everything except CAF TWRP and I am still getting the black screen of death situation. When the phone reboots it completely turns off. It will not respond unless I hold down power+volup+voldown for around 30 or 40 seconds. Then the phone will finally enter the bootloader. Are there any other recoveries that will flash CAF based ROMs? I don't know what else to do =(
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Maybe don't flash supersu? Cm comes prerooted?
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
Thanks for your reply and time. I also tried flashing without SuperSU and it did the same thing. When I tapped reboot the phone would not turn on. I also tried just flashing the ROM and rebooting. The problem is with TWRP CAF because I have even formatted the phone so there was no ROM just TRWP CAF and when I tapped on reboot to recovery the phone just turned off. The power button wouldn't do anything. It would not even turn the phone on. The only thing I could do was hold the power+voldown+volup for 30 sec let go and press them again and go into bootloader.
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
Hey guys anyone else have any suggestions? I have tried sending a support ticket to twrp over a week ago. I haven't heard a word from them. I really want to use CAF ROMs :(
[Nexus 5 Q&A, Help & Troubleshooting] Snamor:
Hi!

I'm facing the same problem. I've been trying everything I can think of, and everything ended with a black screen when trying to boot:

Flashing stock again and then TWRP and CAF.

Flashing a lower version of TWRP (2.8.7.0) and then flashing CAF.

Flashing an AOSP version of CM, then TWRP for CAF and finally CAF.

Fixing permissions.

Changing filesystems to F2FS.

I tried to logcat, but adb logcat keeps waiting for the phone and it doesnt find anything.

Anybody has another idea of what could be happening or how to solve it?

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] aciupapa:
I can flash caf, aswell as noncaf roms on my N5 just fine.

I used the CM14 darkrom CAF. Excellent performance, great battery life

i wiped the device in TWRP caf (Latest) (system,data,cache,dalvik0

Then i flashed the rom and the Darkrom gapps (use only those, as rom comes withouth a launcher. Pixwl launcher embeded into gapps package)

Wipe cahce/dalvik & reboot

It looped like: GOOGLElogo ,bootanimation ,self restart and it works perfectly fine since then

---------- Post added at 18:54 ---------- Previous post was at 18:53 ----------

I should also mention, that i use the european D821 model ;)
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
I was beginning to wonder if it was just me. I felt like an ass for posting for help because I felt like it was my fault. I still have not gotten any response at all from twrp support. I really want to use car based Roms. I use to be able to when I first got the phone. Now I don't have a clue what the problem is. I am using the 820 USA model.

After doing a Google search for CAF TWRP no boot black screen and other combinations I have found posts around the web from people with the same issue. The only resolution was to revert to stock. I have sent TWRP support another email linking to this topic as well as contacted them on g+ hopefully we can get a resolution.
[Nexus 5 Q&A, Help & Troubleshooting] SdtBarbarossa:
since i dont own the device.... no logs= we cant help you
[Nexus 5 Q&A, Help & Troubleshooting] Dark_Eyes_:
Funny thing is twrp caf and non-caf are identical, the ONLY difference is that they are looking for a different device name when flashing. So I'd suggest to use the non-caf one, download any caf rom, edit the updater-script and replace every "hammerheadcaf" with "hammerhead" and it will flash just fine. If it really is just a twrp issue that will work. But I don't know why, I feel it's bound to be more than that...
[Nexus 5 Q&A, Help & Troubleshooting] hectorviov:
I'm having this problem too, I can flash any non-CAF ROM and it will bootup fine, but any CAF rom will leave me in a black screen. Did you found any solution yet?
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
I have not been able to find a solution to the problem. TWERP tech support seams to be non existent. I have emailed them numerous times. They don't even take the time to say they will look into it =(
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
What else could it be if we are able to flash absolutely anything else we want to flash except for a CAFE ROM?

I have never tried editting the updater script. Could you please explain how to do the things you described?
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
Ok I got an update. Today just for ****s and giggles I tried to flash the latest TWRP twrp-3.0.2-0-hammerhead.img on top of itself from inside TWRP using the image flashing process. I got the black screen I been getting that we are discussing here. Therefore, that tells me that the problem is not with TWRP CAF but with flash recovery's in TWRP. For some reason TWRP does not like that. Therefore, I am manually flashing the fallowing files the old fashion way by hand using the android sdk and adb.

1.) TWRP CAF

2.) The latest bootloader directly from the latest google factory image

3.) The latest radio directly from the latest google factory image

4.) Install the latest build of Dark ROM

I will report back with my findings.

Findings are epic fail. No boot, black screen of death.:crying: After holding down volup+voldown+power I am able to get back into recovery just like with flashing all the files through recovery when I first started. However, I can't get the damn thing to boot the ROM. I don't know what to think anymore. I think we just have to come to the conclusion that CAF based ROMs are out of the question for us :crying: :crying: :crying: :confused: :confused: :confused: :confused: When my son gets home and can hold the tablet while I operate the Nexus 5 maybe I will try to make a video of the problem. Hopefully this will help lead to a resolution.
[Nexus 5 Q&A, Help & Troubleshooting] experience7:
Let me guess. All your phones have been repaired or are second-hand devices, aren't they?
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
will a repaired device not work, mine has had the screen replaced. Nothing else just the screen.
[Nexus 5 Q&A, Help & Troubleshooting] hectorviov:
Yup, I have replaced the screen, why is that? Is it too much different than the original, shouldn't it work normally?
[Nexus 5 Q&A, Help & Troubleshooting] experience7:
Not sure what's wrong with the hardware. No CAF for you guys, I'm sorry.
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
Wait seriously? because i fixed my screen i am not able to use a caf rom on my device? That seems ridiculous, what would cause that to even be a thing? is there some sort of security flag it checks for?
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
Yeah I replaced the screen on mine too. Not sure how that plays a role. The only thing I can think of is unless there is a missing driver or something like that because our screens are different.

There's gotta be a way to fix this problem. I wish I knew how to build ROMs, kernels, and recoveries. I don't think anyone will go out of their way to fix a problem that doesn't directly affect them. So for me it is stock, rooted, with ElementalX till this pos croaks.
[Nexus 5 Q&A, Help & Troubleshooting] experience7:
Not sure what the problem is. Fact is that your screen somehow differs from the 'original' one which causes CAF ROMs to blackscreen.

If you really, really want your phone to run CAF you have to provide a lot more information. You could try to get a running system and fetch some hardware information. Pretty sure there are apps on the Play Store that print hardware brands/model names, etc. Report your results and I'll use the same method to get mine. We should compare. Furthermore we'll need logs. Try to boot CAF. Of course it will blackscreen again but you can reboot to recovery and pull some logs. Maybe last_kmsg and dmesg where the latter one should be even more interesting.

And last but not least I'd like to tag [MENTION=4152171]myfluxi[/MENTION] here. Perhaps that's interesting for you...
[Nexus 5 Q&A, Help & Troubleshooting] myfluxi:
I will only answer once because there has been so much user error on the last few pages in the original thread that I would almost love to pull nightlies again. Insanity is insane there - again.

Preparation from the top of my head, look the exact steps up.

1. Unpack the zip.

2. Convert raw to img:

simg2img system.img system.raw

3. Boot into fastboot mode:

fastboot flash boot boot.img

fastboot flash system system.img

This is usually fool-proof. If you cannot flash the images to get a running cm, something is very broken.
[Nexus 5 Q&A, Help & Troubleshooting] SdtBarbarossa:
funny... tons of dicussion... zero logs
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
I'll be posting some after Thanksgiving. Mainly I'll be trying flux's solution and if that doesn't work I will post logs. Currently at work and waiting for the four day weekend
[Nexus 5 Q&A, Help & Troubleshooting] grimreaper1014:
That's because it's a long tedious process and most are busy on Thanksgiving. You have to install CAF TWRP, CAF ROM, black screen post logs, and reinstall original ROM again to have a working phone. You could post one up instead of making another comment if you have the time just saying.

I will have logs pulled in the morning before I get started for the day. Since I didn't have access to a pc today I been trying to find an app that might give hints to what kind of screen this might be. However, they all seem to just tell basic info. Anyone got any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
All right, after trying this multiple times (on both linux and Win10) with several different roms I continuously get the return bad magic (pic found attached) with a 0kb size system image file. So while i wait for a response to this i will be gathering and posting some logs on the initial issue we are having.

Edit: Attached you will find a log for the rom not booting, let me know what else you need me to do

Happy Flashing Everyone!
[Nexus 5 Q&A, Help & Troubleshooting] :
[MENTION=2007186]meatwad0222[/MENTION] Not sure what the error is but at least you tried. Let me help you a bit. I'll unpack the sparse data image of latest official nightly (20161125), convert it to a sparse image, upload it and send you the link if you still want to contribute to the issue.

EDIT:

Converted system.new.dat (sparse data) --> system.raw.img (ext4 raw image) using 'sdat2img'. Thanks [MENTION=5132229]xpirt[/MENTION] !

Converted system.raw.img (ext4 raw image) --> system.img (sparse image) using 'img2simg' from android-tools-fsutils package.

Will send you a private message when the upload is finished.
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
You sir are a Saint. While i greatly appreciate the trouble you went through for me, it unfortunately did not work. I still received the black screen of death. I may be way outside my element here but is this something that would really depend on whether or not the correct libs are available for this screen. If they aren't available wouldn't it mean the screen would never work. Essentially like drivers on any other computer. Like i said, I am probably way out of line with what im suggesting. Its just a thought that crossed my mind.

Let me once again say how wonderful you are for taking the time to help me with this issue.
[Nexus 5 Q&A, Help & Troubleshooting] :
You're welcome! :)

To be honest, I hate to "unbrick" phones that have been flashed in a wrong way. In this case, however, it looks like everything has been done right from your part. In the hope of not overstretching his nerves I'll tag the man just one more time:

[MENTION=4152171]myfluxi[/MENTION] He tried the "fool-proof" method and it neither worked. Do you have any further instructions for us or do we have little/no chance of success here?
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
Luckily I haven't bricked my device yet. This wouldn't be the worlds biggest loss if we can't figure this out since i am able to use normal roms perfectly fine. I have begun the fun process of learning how to build cm for myself (just for learning purposes). I've always been more windows oriented but after Microsoft became a platinum member of the Linux foundation i figured its only a matter of time before Linux is everyone's daily driver.
[Nexus 5 Q&A, Help & Troubleshooting] SdtBarbarossa:
Thx for the log... But after looking into it i see its an empty one... you just booted twrp and grabed the twrp log...
[Nexus 5 Q&A, Help & Troubleshooting] meatwad0222:
Well I flashed the ROM, attempted a boot, when that failed I got back into twrp and pulled a log. Let me know if I did something wrong there and I will correct my mistake.
[Nexus 5 Q&A, Help & Troubleshooting] SdtBarbarossa:
Ah ok! This is only a recovery.log ...it only contains how you got the log ^^ please grab a last_kmsg or console-ramoops
[Nexus 5 Q&A, Help & Troubleshooting] ndarkside93:
It is a common problem. If you have had your screen replaced, you cannot run a CAF ROM. I'm not sure the exact cause, but the official cm caf maintainer for the Nexus 5 had made clear that they will not work, and he doesn't know what the problem is exactly, so he won't be fixing it.