yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] MaxShadow09:
Hi people. Today I needed to install a file inside system/etc/permissions to enable OTG Host. Since I couldn't create a file there, I had the stupid idea of changing the permissions of the system folder. I changed it with root browser, to Owner: read/write/execute (the other stuff was unchecked). My phone turned off instantly, and now it wont turn on at all. Seems like I'm in big trouble. Still, I want to ask if something like that is recoverable somehow, and if anyone can point me in the right direction.

Phone: Samsuing A5

OS: Android 6.0.1

Root: Yes (systemless, with Odin)

Custom Recovery: No

Edit: I just connected the phone to my PC, and it detected a USB device called SAMSUNG_Android. It's weird, the phone seems to be off. Kinda gives me a bit of hope, but I'm a noob with these things.

Edit2: I waited a few minutes and tried to turn it on again. It worked! But now it boots to recovery, so it seems to be a soft brick. Factory Reset doesn't seem to do anything, I guess I'll have to flash a ROM. But I have no idea how to do that. Any help?

Edit3: With the help of a friend, I installed TWRP custom recovery, and used it to flash a Resurrection Remix ROM and GApps. However, I cannot make it reboot into system. It always goes to recovery. When booting, it shows the message "Recovery is not Seandroid Enforcing", and then opens TWRP recovery. I can see my device has a system folder with stuff in it, but I can't make it boot properly. Any suggestions?
[Fire HD 6 and 7 General] bibikalka:
The opportunity to unlock the Fire HD 6/7 bootloader and unbrick all bricks is upon us ! :D Sadly, it's about ~4 years too late.

Nonetheless, if you are proficient with IDA Disassembler and Python, please follow these instructions to accomplish these 2 objectives.

1) Zero out rpmb partition ( mmcblk0rpmb ) - this will set all the bricks free and enable them to boot (this is how anti-rollback is wiped)

2) Enable permanent bootloader unlock (more advanced)

Here are the relevant posts on how to do this:

https://xdaforums.com/hd8-hd10/orig-development/fire-hd-8-2018-downgrade-unlock-root-t3894256 (full instructions)

https://xdaforums.com/amazon-fire/development/downgrade-fire-7-2015-softbrick-t3894671 (rpmb partition zeroing method for Fire 7 2015)
[Fire HD 6 and 7 General] spenceboy98:
Yeah, I saw the Fire HD 8 thread and was wondering if it'd be possible for us. Unfortunately, I'm neither proficient with IDA Disassembler nor python. And currently my Fire is on the latest FireOS, unrooted, with the wrong recovery installed. So right now I can't get into recovery to downgrade and fix it, and the preloader method doesnt work because the read/write commands don't work on the newer FireOS. I am interested in if this is possible though!

Update: I attempted using the files from the Fire 7 thread and this is what I got:

[2019-01-29 17:33:56.846249] Waiting for bootrom
[2019-01-29 17:34:07.704879] Found port = /dev/ttyACM0
[2019-01-29 17:34:07.744128] Handshake
[2019-01-29 17:34:07.766738] Disable watchdog
b''
b'\x00\x01'
Traceback (most recent call last):
File "main.py", line 128, in <module>
main()
File "main.py", line 57, in main
handshake(dev)
File "/root/fire7-2015-downgrade-unbrick/fire7-2015-downgrade-unbrick/modules/handshake.py", line 11, in handshake
dev.write32(0x10007000, 0x22000000)
File "/root/fire7-2015-downgrade-unbrick/fire7-2015-downgrade-unbrick/modules/common.py", line 152, in write32
self.check(self.dev.read(2), b'\x00\x01') # arg check
File "/root/fire7-2015-downgrade-unbrick/fire7-2015-downgrade-unbrick/modules/common.py", line 89, in check
raise RuntimeError("ERROR: Serial protocol mismatch")
RuntimeError: Serial protocol mismatch

I was using the linux iso for unbricking, so I'm not sure if that had something to do with it. Also, I hand-typed that error message so if there are any inconsistencies that may be why (I didn't have an internet connection to post from the iso).
[Fire HD 6 and 7 General] bibikalka:
See this post for the proper output:

https://xdaforums.com/showpost.php?p=78792151&postcount=14

I think HD 2014 does not switch to the bootrom mode, and is in the pre-loader mode. That's why it says protocol mismatch. With Fire 7 I got the initial stages to work - so it did go into the right mode! But with HD 2014 I got the same messages as you, under Windows. So I think it's just not switching into the bootrom mode.

We need some old timers here if we are to get this done!!!

[MENTION=4469251]powerpoint45[/MENTION]
[Fire HD 6 and 7 General] spenceboy98:
I'm willing to pop open the back of my Fire HD 6 to check some pins if necessary. Hopefully we're not the only ones wanting to see progress for this device. :p
[Fire HD 6 and 7 General] bibikalka:
Oh, there are plenty of motherboard pictures floating around:

https://xdaforums.com/showpost.php?p=78789821&postcount=90

Gotta find something like these pins : CMD, CLK, DAT0. I could not spot any labels on the motherboard pictures. If the pin is outside of a shield, it'd be trivial to pop the cover, and short the pin. Then one still has to get the right addresses for HD 2014 to make everything work :(
[Fire HD 6 and 7 General] spenceboy98:
I didn't see any labels on the board, so I tried a few pins (the ones that xyz` suggested) and I didn't seem to have any luck there. It's possible that I wasn't holding the wire I was using firm enough against the pins, but I don't know. I'm not sure what test points on this motherboard look like and if you have any suggestions or ideas, I'm willing to give it a go.

Also, on a new installation of Ubuntu 18.10, it's not even detecting the preloader. It just boots normally. And when I try in Windows 10, the device shows up as MT65xx Preloader and won't show up as a COM device even after installing the correct drivers.
[Fire HD 6 and 7 General] bibikalka:
Yep - it's a tough cookie. No labels on the board, and button pushes don't work either to get the device into the BootRom mode. I could only get the pre-loader mode as well.

We will have to wait for somebody to figure out the electrical connections here. Unfortunately, I don't have time to dig around like that.
[Fire HD 6 and 7 General] r3pwn:
(HD7, 7th Gen)

Just chiming in, I tried a few pads on the board (on both sides), and was unable to kick it into bootrom mode. It also looks like our shielding is soldered on. :/

May try some other methods later, but likely not going to have the easiest of times messing with this thing.
[Fire HD 6 and 7 General] bibikalka:
7th Gen, or 4th Gen? Sorry for nitpicking, but it is huge for context!

Btw, you can always sideload FireOS 4, and get root that way. Then re-load your current latest fireos via TWRP, and install SuperSu.
[Fire HD 6 and 7 General] spenceboy98:
I can't because I have FireOS 5 with the twrp img installed (I didn't realize that the latest update.bin didn't include a stock recovery image). And I can't use the unbricking iso because it doesnt work with the latest FireOS. So this method is my best bet for getting back to stock with a stock recovery.

Btw, I'm not sure what exactly happened, but I'm pretty sure that my playing with the pins messed with something. All I get now is the grey Amazon logo and it doesn't boot into the OS. :|
[Fire HD 6 and 7 General] bibikalka:
I see. Usually, recovery is verified each time you boot, and the OS will overwrite it if the checksum does not match. But, in your case, TWRP disabled that feature, so you are out in the cold.

I have 2 tablets that are looping on the white Amazon logo. I tried to restore them via aftv2-tools, but nothing worked. It's interesting you got the same glitch.

Look at the bright side - keep poking around now on your motherboard, you have nothing to lose! :)
[Fire HD 6 and 7 General] bibikalka:
I attempted to overwrite the beginning of EMMC - and got an absolutely dead tablet, see here:

https://xdaforums.com/showpost.php?p=78871662&postcount=784

No bootrom mode as far as I can see ... One of these days I'll open the case, and try to disconnect the battery.
[Fire HD 6 and 7 General] r3pwn:
2017 Fire HD7, so 7th gen, aka austin
[Fire HD 6 and 7 General] k4y0z:
You are in the wrong forum.

The 2017 Fire 7 AKA austin doesn't use the suffix HD. It's just Fire or Fire 7.

This is what you are looking for: https://xdaforums.com/amazon-fire/development/unlock-fire-t3899860
[Fire HD 6 and 7 General] bibikalka:
Did put any more time into this? Was it some damaged contact?
[Fire HD 6 and 7 General] spenceboy98:
No I haven't. Not sure what the issue is. As far as I know it's still not booting up to anything. I just started school recently and I left my Fire HD6 at home, so I haven't had the chance to mess around with it more.
[Fire HD 6 and 7 General] Drunkpilot:
I would love to get my HD 6 working again.
[Fire HD 6 and 7 General] Free4ever2:
I recently ran the amonet script on my HD 10 and in a few minutes had an unlocked bootloader and TWRP. I read the HD 8 thread where the author posted his exploit and it really is an epic achievement. I'm also hoping the bootloader unlock comes to the 4K firestick as well. It's a lot of work from I read, but the firestick is popular enough to warrant that kind of attention. I have a Fire HD 6 which only boots to a recovery that allows me to reset or reboot but has no option to apply update from adb, so I've been stuck on stock Fire OS. It would be nice to finally get TWRP after so long on the HD 6.
[LG V30 Questions & Answers] Ballroomblitz:
Hey guys. I noticed today that every means that I have to play video on my phone produces choppy video with no audio.

In troubleshooting I ended completely wiping the device, and reinstalling 20G with magisk 17.1.

Stupidly I assumed the problem would be fixed. This evening I attempted to play a video off Google feed, and got the same choppy playback. Checked YouTube and have the same results. Also no audio during playback.

I'm going to try flashing 20F over my current installation and see what happens.

Any thoughts would be appreciated

Edit: Just flashed back to 20E, and the problem is fixed. I'll start flashing F and then G, and see if it happens again.

Edit: Back to 20G, and everything works. I have no clue, but it was fun troubleshooting.
[Asus Zenfone Max Pro M2 Questions & Answers] ahmar_reborn:
anyone, can help me??

every i open recovery mode, always display erorr message :

E:Couldn’t load bitmap fill_ball (Error_7)

Warrning: No file_context

supported API :3

at the bottom screen.

and id i choose Apply update from adb, display erorr message :

E: failed to open driver control : Permission Denied
[Asus Zenfone Max Pro M2 Questions & Answers] jh08:
TWRP won't load

I have the same issue with my other max pro m2.

Android version: 9 Pie

Build Number: PKQ1.WW_Phone-16.2017.2009.097-20200826

i was on stock android pie.

then i unlocked my phone and it was successful.

after unlocking the phone i tried to install TWRP and it is successful.

but when trying to go to recovery (power + volume down) it will go to the stock recovery with the error shown below.

E:couldn't load bitmap fill_ball (error -7)

Supported API: 3

can anyone help me/us on this?
[Android Q&A, Help & Troubleshooting] XeonNetwork:
I have an Amazon Fire Tablet HD 10 (7th Generation) running on Fire OS 5.3.6.4

I rooted my device yesterday and installed SuperSU.

In SuperSU, I set the access to prompt and tried disabling tapjacking protection if that interfered with the prompt but it didn't work.

I tried almost everything I can find even on the xda forums about the notification not popping up.

I tried the prompt access on Titanium Backup because I was removing some useless system apps.
[OnePlus 6T  Questions & Answers] bigjailerman:
On my 6t I'm running 9.0.11, xXx, and smurf Kernel. When I run an AnTuTu it does abnormal levity issue. It's there a flashing step I missed? Phone actually runs well though.. Very odd
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
-reserved3-
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
-Aaaaaaaaaaaaaaaaand final reservation-
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Calabazadechocolate:
Excellent work, the best rom for the j2 prime, thanks a lot!!!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Clalml:
Nice work bro

It is definitely the best rom for the moment for J2 Prime.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Bacbka_ua:
Is there an adaptive storage support in the kernel?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
It should work fine
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Kurt Christian:
Hi, this may be out of topic, but how can I fix my SM-G532G? I used Chamelephon hoping to change my IMEI number(s) for an app. What happened is, after I restarted my device, but the IMEI turned to

IMEI 1: >8<4=<:7?7<6?:2

IMEI 2: 9><398?64><6086

It just became random symbols (and numbers) and my network now has no hope. Is there ever a way to fix this? There is a fix in YouTube for G532F only (search Samsung Galaxy J2 Prime IMEI fix) which returns your default IMEI, but not for G532G. Please help me, I want to use my phone in its full capacity.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
We are not allowed to talk about IMEI changing in XDA as it is illegal in some places

Also I have no idea about that so, can't help you
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Prove N.:
Well, did you backup EFS and modem thru TWRP? If not, good luck..
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Kurt Christian:
Nope. Well at least, networks now function, but they need constant network operator scan if signals are weak. Data connection also works, but only on 4G. I think I could live with this. (MMI codes don't work through the dialer, tho)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Kurt Christian:
Okay. Now one last question, can I use an efs file of another device with the same device model? (SM-G532G)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Prove N.:
ABSOLUTE NO.

It will contain other phone's IMEI and who know what. This is basically changing IMEI and as ShaDis mentioned, those are 100% illegal in a lot of countries around the world

Friendly reminder: use Q&A. This is for the ROM stuff...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] JZ™:
Is it working on J200G ???
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
No. It's only for G532. Please read.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] supertory:
have an issue when i try to adjust content scaling in display settings which makes the phone unusable and i have to reflash the rom
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Guess I forgot to mention that in the OP. The J2P'sscreen resolution is so bad I really didn't think anyone would change that
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] aminebd39:
Please i have a question.

Can i overclock the gpu ?

& how to use hadeskernel features ??

P.S good job. Keep it up bru
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Nope, do not have custom kernel unfortunately.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] karturo:
Hi first thank's a lot for port this rom for this device (and i hope u can understand my poor english) im testing you rom now and i found some bugs

*Always in display

when I activate this and turn off the screen and turn on again the app frezzee and i can't do nothing and i need force reboot to use the phone again

*storage

I see this rom have 2GB to install apps, in stock rom i have 3 gb or more(uninstalling apps bloatware like claro video and that kind of things)

*Sony audio

i feel like the quality audio is more bad in this rom, the music can listen more strong in stock

i unnistall many apps because just doesnt work o i don't need like ANT

*Blue filter

dont work

*cpu use

I see really more use of the cpu

and again thank's for port this rom :D

i hope u can fix this problems

and if i can help u with something let me know
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Doble-tap the "Home key" (the square) to wake the device up. You can change this in settings to just have it so a double-tap anywhere on the screen wakes the device up

In order to be able to port ROMs, I need to deodex them. Deodexing a ROM removes 1 GB aprox. of space proximately

It is impossible to re-odex the ROM back. So any ROM that comes out will have close to 2 GB unfortunately

Have you tried Dolby Atmos?

This is unfortunately a kernel thing that I don't have the knowledge on how to fix. I added an alternative in Settings->Display Settings
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] meends:
Can you use the SD Card as Internal Storage in this rom?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I think so, yes. I don't use the SD as internal because I have 16 GB variant lol
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] supertory:
how do i access developer settings in this rom? im not seeing the build number to tap
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
It's a little further down than usual
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ZeremmyVallery:
This rom is ok,but when my phone overheated its shut down . Its only happen when i play pubg and free fire . But last time when i use enigma rom there no problems when i play those game without the phone get restart:confused:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Then you're probably better off using Enigma

I don't know why you would want to use a J2 Prime to play those games but, if Enigma is working better for games, you can use that. There's barely any differences
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] meends:
The Adaptive Storage does not work, it also does not let me transfer data apps to sd card.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Oh, well then sorry for that. Probably will not fix it in the near future. I would maybe stick with stock
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] minhtv19210:
Bug: EDGE Panels can't be download another EDGE Apps. When I clicked "Download" and Galaxy Apps was opened, it's empty and hasn't any edge apps
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Prove N.:
AOD on after charging

So i turned on Power Saving mode (medium), and turned off AOD thru the toggle in Settings (not drop-down setting). During Charging, AOD will be on, which I think is handy so no complaint, but after charge, AOD will be ON even though Power Saving mode is on too!

^ (since display isn't OLED kind of, this do waste some juice if go unnoticed)

Well i did fix it: Turn off power saving, turn off AOD through drop-down settings, then turn it on. Not happened afterwards!

So:

Power Saving > Toggle AOD ON/OFF in Settings = AOD ON guaranteed after charging.

Toggle AOD (anywhere) > Power Saving = AOD OFF.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Yeah, it's not native AOD so it does have it's faults.

I don't even use it, but I'd rather save myself requests that are done over and over again to include it so I just included it by default, even if there's no point to AOD on an LCD screen
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Hastoma:
:confused: Hi ... this is a good rom but ... I have a problem when I move some apps to external sd card ... the result is (failure) some apps does not move .. using ( link2sd ) and I don't see this problem in engima rom.....?

For this reason I have now returned to engima rom ...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Prove N.:
App2SD works, albeit slow (could be my 2G 6yo SD to blame)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Hastoma:
YES apps2sd working Fine .....:good: ;)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Jimmy Reyes:
When I try to install it, it appears "this zip file is corrupt" and it does not install, help!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Corrupted download. You'll have to download again.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] MageofWanderland:
this is a good rom but when you click on the content scaling and restart the app icons and the screen is zoomed in that two app icons overlap each other is there a fix?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] SicarioTrey:
Keep telling me to insert sim card to access network. My SIM is in and my imei is correct. Any idea what could be causing this.... Thanks in advance!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
First time I've heard of this issue. Will it be fixed if you return to stock?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] SicarioTrey:
Went back to stock and it's still there. It wasn't before. Here wondering what I did wrong. Going to get another sim and see if its the same. Thanks for replying.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Victor7w7:
hello I have a problem, when I activate the flashlight from nowhere, the light goes on and even if I restart the phone, I can not turn it off, only if I remove the battery.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Tancylo:
Is it necessary to unlock the bootloader to install the TWRP and with this install a custom ROM?

If so, could you provide a guide to unlock?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] TirelesSaul:
Thankd
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Prove N.:
Yes.

- Bootloader

Head to Settings > About Device > Software Info > Build Number. Tap Build Number 7 times until toast " you are now a developer " appears.

Head back to settings' main page. There will be a new section " developer settings " at the very bottom. Go in.

There will have OEM Unlock option. Turn it on.

= Bootloader is now unlocked.

- TWRP. Head to Ashyx's wonderful build. Instruction and files are available there (please read all b4 asking, little long post)

- any custom ROM.

Manually Format Data (*not wipe!).

Flash ROM (follow instruction by the maker)

Flash additional packages where needed (Magisk for root, ashyx's no verity to disable encryption, etc..)

== done! Enjoy!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Badusha1999:
VoLte patch not working

Currently my grand prime plus (g-532F) cannot take call or call back anyone while on volte but i do receive call which when i take nothing happens and when i call a person in my phone it shows calling while the person i called never even receive it (i am currently on jio carrier) . because of the VoLte in my phone i can't use myjio app .other then that the room work fine . I hope u sincerely fix as soon as possible
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Can't fix as I don't have VoLTE, I don't have Jio and I don't work on this ROM anymore lol

Too bad
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Aeryene:
Asian characters

Hello the rom is amazing but Asian characters look like boxes and I use them a lot, I'm Japanese. Can you help me?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I think it would need a translation. Unfortunately, I don't know how to do this.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] vAilleght:
Hello, i want to try this rom but i having problems with twrp installation

i get recovery is not seandroid enforcing Set Warranty Bit: recovery when trying to enter twrp after flashing.

i follow step by step ashyx post, idk what happen maybe is because my firmware is updated?

Baseband G532MUBU1ASA1

Kernel version 3.18.19-14373813
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Erioernesto02:
Man, i have this baseband and get twrp and root. I follow step by step ashyx post. Remember format data and flash verity-encrip
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] vAilleght:
My problem is installing the twrp, not the room... :( after flashing twrp i follow steps but it get stuck on this message and cannot enter to twrp Binary says custom in download mode so idk whats going on :confused:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] AldoAMG:
¿Works on G532M?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Yes, it does..