yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Questions & Answers] Heelixx:
I was rooted on 10.0 and then I upgraded to 10.0.1

There is a procedure for upgrading to 10.0.1 and still keeping root. I wasn't aware of this and after I got the update, I restarted my device and ended up without root access.

A Magisk patched boot image is important for getting your device rooted.

If you're asking for the procedure to root your device, then you can follow this link which explains it, https://xdaforums.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
[Sony Xperia XZ1 Compact Questions & Answers] AlexKarimov:
Hi,

I've been reading as much as I can on rooting my xz1c and went through with it, thanks to the awesome guides on this site(@j4nn in particular). I successfully downgraded to oreo, backed up TA partition, unlocked bootloader and then restored the TA. Everything was working perfectly as the guide said. I flashed the appropriate TWRP and flashed magisk v18 but in my excitement for achieving all of this, I didn't run magisk before I successfully upgraded to pie.

I thought I would have to downgrade again and root but I found I could flash a pie TWRP through ADB and then flashed and ran magisk. Magisk says I'm rooted and Substratum works except for boot animations, where it says "Your device is encrypted. So root is required to apply boot animation." All other overlays work fine, though they require more than one try on some.

My question is this:

Did I screw up not rooting in oreo? Or is substratum unstable on stock rooted pie and I should move to AOSP or AOSP extended? My phone functions fine otherwise but I miss custom boot animations.

Thanks in advance,

AK
[Sony Xperia XZ1 Compact Questions & Answers] Prass93:
Can you root xz1c stock rom Pie build 74.2.A.10.107 or new? link tutorial please
[Sony Xperia XZ1 Compact Questions & Answers] AlexKarimov:
I started on 47.2.A.10.107. I had to downgrade to oreo first with newflasher. I followed these two threads to get the general idea of what I had to do.

1 - https://xdaforums.com/xperia-xz1-co...0-uk-cusom-t3902346/post78949938#post78949938

2 - https://xdaforums.com/xperia-xz1-compact/help/adventure-rooting-xz1c-t3921675

and then after I realized the process, I used j4nn's backup tools.

https://xdaforums.com/xperia-xz1-compact/help/adventure-rooting-xz1c-t3921675

That thread has just about everything(or does have everything) you need to unlock bootloader and have a fully functional stock sony camera.

I messed up the first time(deleted all .ta files, including the on in the boot folder) and had to restore with xperia companion. Fortunately, I had everything backed up. It's not as scary nor as challenging as it sounds though and failing once gave me a lot of courage to see it through, you just have to follow the threads(j4nn's in particular) to achieve root on pie.

But on to your question:

I'm not quite sure if I've achieved root, temp root or fooled some aspects of my rom. I found another app for boot animations. I can grant SU rights to substratum and other apps so I'm pretty sure its just an unstable bug somewhere but I'm happy with what I have and I'm going to live with it. I may move to [MENTION=4688377]russel5[/MENTION] treble/pie rom soon but for now, this works and has what I want.

I hope that helps you.

AK
[Sony Xperia XZ1 Compact Questions & Answers] AlexKarimov:
I did some more digging on the forums and elsewhere and I may have found my answer: I never formatted data before upgrading back to Pie after unlocking the bootloader. Does anyone know if that would lead some programs, like Substratum to say the device is still encrypted? Again, that's just for boot animations.

Does anyone know the proper step to fix it? Should I just use newflasher to install Pie again or do I need to downgrade, flash, format and upgrade again?

Any help is appreciated.

AK
[Sony Xperia XZ1 Compact Questions & Answers] AlexKarimov:
After a lot more research and experimentation, I think I've finally reached the heart of the matter. It won't matter what I format or wipe because every time I flash stock FW, I'm flashing an encrypted kernel. Even though I am rooted, the device will stay encrypted. So it seems the only option is to move to a custom ROM.

Can anyone please confirm my understanding of this? Sorry for noob questions. This is my first Sony device, having come from Motorolas.

Thanks in advance,

AK
[Sony Xperia XZ1 Compact Questions & Answers] Prass93:
Ok thank you very much :D :good:
[Sony Xperia XZ1 Compact Questions & Answers] wasdroger:
Thanks a million for sharing your progress!

Everything I read was to vague for me to understand the process of downgrading and saving ta ect.

Coming from more than 10 years of Apple (R.I.P. coloured apple, death to the white one!) I'm having a hard time with understanding everything but you did a great job at what seems to have become a reference guide for downgrading and saving ;)
[Sony Xperia XZ1 Compact Questions & Answers] AlexKarimov:
Let me know if anything needs clarification and I'll help out as best I can. I'm currently running the crDroid ROM and loving it!
[Huawei Mate 20 Pro Questions & Answers] Limeybastard:
On C185 version there was a dark stock wallpaper, it was dark with Arabic letters on it.c432 doesn't have it.

Does anyone know where I can download it from or what it's called? Thanks.
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
almost got it.... never had it get this far before..
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
did I just give me the correct system root to find in a ap file and it will work? or just wish full thinking?
[Samsung Galaxy Note 10+ Guides, News, & Discussion] elliwigy:
not sure wat ur tryna do lol
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
I been trying to unlock it and root it.. get it to the last stage where you see it and Fail. I did brick the phone tho..
[Samsung Galaxy Note 10+ Guides, News, & Discussion] burrzoo:
Odin won't unlock a phone if you mean carrier unlock.

Only the phones with the Exynos processors can be rooted.
[Samsung Galaxy Note 10+ Guides, News, & Discussion] Mr. Orange 645:
I think he's referring to bootloader unlock, which is impossible on the U1.
[Samsung Galaxy Note 10+ Guides, News, & Discussion] smiley45:
Hmmm not impossible if you guys remember samfail but sammy been a bad boy the old n day will be missed
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
I am referring to bootloader unlock and root...There is a new Linux that I used that actually was able to get in this phone.. not root it but but pull slot of info .. all I have to do is just get to somehow verify the very last image which of course what counts.. I did soft brick so at least I pissed it off a lil bit...?
[Samsung Galaxy Note 10+ Guides, News, & Discussion] jjayzx:
Not gonna get passed that verify part as it's looking for Samsung signature. This issue has been around for some generations now.
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
Yeah..... I know that is the sad truth about it. But I still try and hope. Maybe I'll slip up and somehow get lucky one day
[Samsung Galaxy Note 10+ Guides, News, & Discussion] Jayy_Suave:
I respect your drive and enthusiasm bro.
[Samsung Galaxy Note 10+ Guides, News, & Discussion] one789:
Thank you... it will happen in due time not by me of course
[Touch Diamond, MDA Compact IV General] Alfredos:
Is there a way that the back hardware button can be assigned to realy close a program? (the same as SPB Pocket Plus can do)
[Touch Diamond, MDA Compact IV General] Pharaohnough:
I use AE Button Plus and mapped the "Back" key to the function "Close active application" - works very nicely and that way there's always loads of free memory available.
[Touch Diamond, MDA Compact IV General] Alfredos:
Great, Thank you
[Touch Diamond, MDA Compact IV General] phankhi:
which version did you use for the Diamond?
[Touch Diamond, MDA Compact IV General] JmJ17:
The last one works fine
[Touch Diamond, MDA Compact IV General] phankhi:
on the AE button plus menu, which button do I reassign for the 'back button' to make it a ok/close?

Can you provide instructions please? much appreciated
[Touch Diamond, MDA Compact IV General] Pharaohnough:
I use version 2.6.1 (only because I've had it for a while and never bothered looking for an update if there is one). The key I re-assigned is the OK Key (second one on the list) and I assigned it to the "Close active application" function.
[Touch Diamond, MDA Compact IV General] phankhi:
thanks, works great!
[LG G5 Questions & Answers] redhonker:
Hi,

I have H830, 7.0 stock ROM rooted. I've disabled the update so has been running the same ROM for a while now.

Recently, it started to have severe battery drain, at the crazy rate of 1% a min.

Here is what I can see in Better Battery Stats (BBS)

Process view does not show a rogue app

Partial Wake Lock shows NlpWakeLock and NlpCollectorWakeLock, but not to an extent of crazy. I've read Stopping NlpWakeLock, NlpWakeLockCollector and RILJ but there is no clear answer there

Partial Wake Lock shows a lot of WifiOffDelayIfNotUsed but again not crazy

Alarm android Wakeups at 12 / min. Is this normal?

I've read A Comprehensive (but not by any means definitive) Guide to Wakelocks but did not find anything in the FAQ other than the above

How do I fix it? I have root but can't find anything to try at this point.

Thanks
[Nokia 7.1 Questions & Answers] raven.warsong:
Im on the Oct 1 security update.

I ran the Nokia unlock apt I side loaded. There app gives me a error message of device not supported.

When I got into Developer Options turn on OEM unlocking Allow the boot loader to be unlocked I still get the message Device not supported, When I run there app

I know the boot loader is still locked because when I try to flash TWRP recovery I get this message

fastboot boot twrp.img

Sending 'boot.img' (38732 KB) OKAY [ 0.902s]

Booting FAILED (remote: 'unlock device to use this command')

fastboot: error: Command failed

So it very much seems like the boot loader is still locked.

Any suggestion thanks
[Nokia 7.1 Questions & Answers] usernamedoesnotexist:
Sigh,

1. There is absolutely no official bootloader unlock for this phone.

2. Though there is no official bootloader unlock, you can still Bloader unlock your phone using a paid service by TechMesto [MENTION=6810074]Singhsk[/MENTION] ...
[Nokia 7.1 Questions & Answers] raven.warsong:
I did see a tread about that thanks for the info.

my guess is its most likely not worth doing I dont see very many roms listed for the phone.

I guess its not very popular for that reason. Its a shame it seems like a nice phone. But the market is flooded with phones I dont see any thing that makes this one stand out

thanks for answer my question
[Nokia 7.1 Questions & Answers] usernamedoesnotexist:
Yeah, not much dev for this device. Probably because of no official bootloader unlocks and popularity of the device.
[Xiaomi Mi A1 Questions & Answers] Takeshiro04:
When i install havoc os this shows up. How do i fix it?

Error applying update: 28 (ErrorCode::kDownloadOperationExecutionError)
[Xiaomi Mi A1 Questions & Answers] shmp30:
Had same issue, downloaded 2.9 from mega mirror problem solved. something is wrong with your zip file.
[Xiaomi Mi A1 Questions & Answers] Takeshiro04:
Already fixed it. The file was just corrupted so i redownload it again.
[Samsung Galaxy A70 Questions & Answers] chaosLich:
hi everyone, as the title said I found that my partition size of rec only have 15mb(through a low version twrp which is less than 15mb). As a result I can't flash the rom I want now because the twrp isn't the latest one:(

Hope to receive the advise and solution:(Thanks a lot!!
[Tilt, TyTN II, MDA Vario III General] one4me999:
I'm having a problem where just about every morning I wake up and my phone is frozen and the home screen is showing distorted colors. Some times the interface will slightly change after touching the screen but not much else. This has been a big problem for me because for the past few days i've been late for work as I depend on my pocket alarm application to wake me up. (its the only alarm that wakes me up). I'm using Alex v5.20 CUBE rom. Any help? I've already run the google and I see a lot of cube related freezes but Im not sure if this is the case. I'm thinking its Home related.
[Tilt, TyTN II, MDA Vario III General] xxx_mosh:
maybe its having morning sickness hahhahahahah 0_o did you try a hard rest or going to the the setting for htc home disabling everythign soft rest and the turn it back on
[Tilt, TyTN II, MDA Vario III General] sherpa:
Maybe it's the alarm application??? Uninstall Pocket Alarm and try the default alarm application once and see if your phone freezes the next day.
[Tilt, TyTN II, MDA Vario III General] one4me999:
Thanks I'll try that and if it doesn't help I'll try a cleaner rom.
[Tilt, TyTN II, MDA Vario III General] mrg2003:
Tilt freezes

warm it up first
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] Thibor69:
I asked this question about a week ago, but no one has replied.... I know it is

possible to install TWRP on my Kindle, but can not seem to get any help with

this. Currently I have this:

Kindle Fire HD-10" (suez) Modified FireOS 5.6.4.0 w/ Root.

I am only asking for help locating a guide or maybe a quick walk through ??

I really need to get TWRP on my Fire, but can not seem to find a definite way

to do this ... preferably with a Win10 PC not a Linux box. IF I can only achieve

this via Linux, please tell me so and I will just have to go that route.

Thank you for reading this :)
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] AmznUser444 Dev:
Here is a link: https://xdaforums.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639/page1
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] Thibor69:
ok thank you for that. I guess I do need to setup Linux...

Cheers
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] AmznUser444 Dev:
To setup Linux on your PC? Install the Linux on your PC and make dual boot or access to live CD. Also can run Linux on virtual machine on Windows PC
[Honor 8 Questions & Answers] gilgamesh123:
Currently my openkirin honor 8 omni rom does not have led notifications for apps. I know the led works because it is enabled for different levels of battery.

Since Openkirin is not releasing any updates does anyone know how to program the led trigger to run if ANY app notification is triggered. I am fine with only one color being triggered I just want at least something to trigger.

The code for led triggers is located within the root here: /sys/class/green/trigger

here is the script:

none kbd-scrollock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock Battery-charging-or-full Battery-charging Battery-full Battery-charging-blink-full-solid USB-online Mains-online hisi_bk_battery-online mmc0 mmc1 mmc2 [timer] rfkill0 rfkill1 rfkill2

Does anyone know if this can be modified? I tried modifying for example the torch and the color of the torch was more orangish so I know changing values in the system files does have an effect.

Additionally here is a thread that I found that suggestions you can program different triggers.

https://xdaforums.com/android/software-hacking/root-notification-led-function-t3773888?nocache=1

Lastly the build I am running which has been great besides the led issue is: OmniROM Pie Alpha 5.2

Worst case scenario I could download an older ROM and look at the code being used within the same directory. Any suggestions guys, really looking for a copy paste of some code as it seems like it should be easy.

Thanks
[OnePlus 7 Questions & Answers] valeriee:
Hey guys I'm running stable 10.0.1 and oneplus camera version 3.8.69 but there is no button for the macro mode? Any help? Thanks
[OnePlus 7 Questions & Answers] ov1lord:
I think it's only for the oneplus 7t, 7t pro or 7 pro. Not for the regular 7
[OnePlus 7 Questions & Answers] Linuxkek:
Really? No macro shots for OP7?
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
I'm having trouble with fastboot (see my thread here: https://xdaforums.com/xperia-xz1-compact/help/issues-fastboot-t3971227, maybe you can help). However, I can seem to flash sony signed software in sony-service mode using newflasher. That's nice, but I haven't used stock android in years. I am very used to lineageos without gapps---nice and clean. So, for me, until I get rid of stock and get a clean flash of lineage, I'm really not happy.

Given my state of affairs, I'm wondering about flashing one of the exploitable sony stocks and to get root, then flashing the recovery partition with twrp from userland. Then, potentially, i could boot to that recovery and maybe (idk) flash a new system ROM. Does anyone have any tips or suggestions?
[Sony Xperia XZ1 Compact Questions & Answers] j4nn:
It should work as you outlined.

Still having BL unlocked and not usable fastboot seems like a major disadvantage to me.

Did you try with different PC to see if it is not due to usb chipset or something?

Preferably using usb 2.0 only chipset?

Maybe trying that from different OSes too - linux vs win?
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
Thanks for the reply. I got the exploitable firmware downloaded and flashed as well as your renosploit kit. Hasn't found a root shell yet although I'm hopeful it will eventually (I haven't read the details but I understand that the underlying vuln is a race condition).

One question: I suppose that given that tmp root status, it should be possible to copy a su binary over and make root permanent, that would make experimentation easier, I think. And if whatever I try fails the first time I wouldn't want to have to wait for the race condition exploit every time I wanted to reboot. Am I on the right track? If so, I suppose I need to either compile or download a su binary and possibly a supersu.apk in order to manage it. Are those already available for the xz1 compact?
[Sony Xperia XZ1 Compact Questions & Answers] j4nn:
[MENTION=3539907]apexofservice[/MENTION], planting su binary is possible into /oem for example, it would switch the user to root, but without any better permissions, due to selinux, so it is useless.

But since you have your BL unlocked, you do not need that. As soon as you have twrp, you can flash magisk to have root on runtime easily. Or just enter twrp to have root in recovery.
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
Got it. Thank you for this detail. So you think my best bet is to just use the root shell to `dd` the twrp image directly to some /dev? And then I would just `adb reboot recovery` and in theory I'm good to go.
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
Cool. I got a root shell with your exploit kit. I've got two questions at this point.

1) If my bootloader unlock had fully succeeded, would I have expected to find all 0x0 in the TA partition? In fact, there is data in there, so I went ahead and downloaded it. I skimmed the data with xxd and there are some sections of 0x0 as well though.

2) Second question, I've read that xperia's don't have a proper "recovery" partition the way some other boards do. So is FOTAkernel actually where I want to write twrp.img? Also, it would seem that this info is actually encoded somewhere in the fastboot client since on a working fastboot, you can just say "flash recovery" and it knows what part of the disk to write to. Any info about partition layouts on lilac and xperia's in general would be greatly appreciated.
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
1 - The TA partition contains significant amounts of other information as well. So it won't be empty.

The standard way of dealing with it is to not mess with it at all.

2 - The FOTAkernel is the recovery.

2a - The partition layout can be found from the stock firmware image in the "partition-image-LUNZ_X-FLASH-ALL-C93B.sin" file where "Z" is the LUN number. Once you extract the SIN file, you're left with an EFI partition header.

I've attached a CSV file that contains the layout as specified in the "partition-image-LUN0_X-FLASH-ALL-C93B.sin" file.

The layout for LUNs 1 and 2 both contain a single 4MB partition for "xbl" and "xblbak" respectively, so they're not as interesting.
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
[MENTION=4418980]j4nn[/MENTION] [MENTION=4782500]pbarrette[/MENTION] doing some more reading, I found some interesting details about booting to recovery stored on FOTAKernel here:

https://twrp.me/sony/sonyxperiaxz.html

https://twrp.me/sony/sonyxperiaz3compact.html

Looks like you really need a kernel that has the ramdisk extraction setup. So I'm guessing that once I figure out why dd isn''t working as I expected (see above) that I need to overwrite the main stock kernel with an alternative.
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Yes, a dd extraction of the partition will be different than the TWRP image.

That's because the TWRP image is only ~35MB, while "dd" is extracting the entire 64MB partition.

So, if you do a visual diff on the files, you should see that what's actually different is the fact that the partition extraction is filled with zeros after the end of the TWRP image.

You're doing a "reboot recovery", but have you tried:

1 - Turn the phone off

2 - Press and hold [Vol-Down].

3 - Press and hold [Power].

4 - Release [Power] at power on.

5 - Release [Vol-Down] when you see an actual boot screen (after the bootloader unlocked screen).

I don't remember the "reboot recovery" command ever working right for me.

Edit to add: That's also a really old version of TWRP that you seem to be using.
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
Hot damn. Thanks, I'm booted to twrp!

Note: i was using the older version for android 8 since I'm currently on the android 8 exploitable rom!
[Sony Xperia XZ1 Compact Questions & Answers] j4nn:
XZ1 compact never needed the recovery with this extraction stuff. But according to

https://twrp.me/sony/sonyxperiaxzpremium.html

XZ Premium (which is also yoshino platform, the same as xz1c is) seems to need that - but I am not sure if it is still valid.

It might got fixed even in xzp case with some bootloader update to have it working the same as with other yoshino phones.

Sorry for my late answer, it's good you already have it working.

But I still wonder about that usb problem with fastboot - have you tried a different pc with different usb controller, preferably usb 2.0 type (not 3.0 one)?
[Sony Xperia XZ1 Compact Questions & Answers] apexofservice:
I haven't yet. Well, I have sorta. When I first ran into issues, I tried it with a different laptop, got the same result. Now that laptop was also a thinkpad (although a newer model) and was also running debian linux. I don't have any computers with Windows. I was going to reboot this laptop with usb3.0 kernel mod blacklisted and only using hci but I didn't get around to it yet (especially once I got twrp flashed and working, then I mainly wanted to get started actually using the phone i bought :)). However, if it were a usb thing, wouldn't we expect that newflasher would fail too? Still, it is very curious about the fastboot thing, however, so I'm willing to keep playing with it.
[Sony Xperia XZ1 Compact Questions & Answers] j4nn:
[MENTION=3539907]apexofservice[/MENTION], I am not sure if blacklisting usb3 drivers would help. Sometime there may be present multiple usb ports, some connected to usb 3.0 host controller, others just usb 2.0 controller.

Even if newflasher works, it is not that simple, that fastboot should work too.

Fastboot (including it's usb support) is implemented in UEFI bootloader, the ABL component of it (Android Boot Loader).

So usb stack is implemented by UEFI fw.

While newflasher uses flash mode, which is running XFL - a linux (bare bone android) kernel, running the lilo/loader userspace application. So there is in my opinion quite good usb stack implemented by linux kernel.

So it can easily be some incompatibility within UEFI usb stack implementation used with fastboot.