yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
UPGRADE FIRMWARE

Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.

Grab newflasher and put it in the same folder as the firmware files.

Read the newflasher original post on XDA for general instructions!

Remove the follwing from the folder so they won't get flashed:

all *.ta files (keep the one in the boot/ directory)

cache*.sin

fotakernel*.sin

kernel*.sin

system*.sin

userdata*.sin

vendor*.sin

Turn off your phone

Hold the volume down button and attach it via USB to your system till you see LED turning green

Run newflasher from within this directory to flash the remaining files

You can say yes to the first optional step, in case you dont have working drivers installed.

Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.

Google Apps

You can download and install the Google Apps from opengapps.org. You need ARM64 and 8.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.

Privacy Guard for GApps

I wouldn't run GApps without Privcy Guard. Here is what you need to do:

Go to: Settings -> Security & location -> Privacy Guard

Open the advanced menu (3 dots) and select: Enable by default and Show built-in apps.

Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.

FDroid

This ROM comes with FDroid and the Privilege Extension pre-installed.

MicroG

Doesn't provide API level 27 builds yet ... will probably available in future with signature spoofing.

Simple Mobile Tools

This is a collection of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks app.

You can find them in FDroid and the Play Store.

Known Issues

Some apps don't work (Gardenscapes, Die Zeit, ...)

When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
CHANGELOG

2018-10-22

Updated Kernel to version 4.4.161

Use same vibration strength as stock

Updated GPS stack

Recommended firmware: 47.1.A.16.20

2018-09-17

Updated Kernel to version 4.4.156

Improved GPS performance, GPS fix in less than 10 seconds now

Added stock camera app

Recommended firmware: 47.1.A.16.20

2018-08-14

Updated Kernel to version 4.4.147

Some performance improvements (The system should be more responsive)

Improvements to save some battery

Fixed touch pressure issues

Requires firmware version: 47.1.A.12.270

2018-06-12

Updated Kernel to version 4.4.136

Added support for WireGuard VPN

Added support for Sony modem configurations

2018-05-16

Updated to completely new kernel which follows Linux 4.4.x stable (Thanks [MENTION=4063475]derf elot[/MENTION])

Updated display stack to newer version

Fixed USB Tethering which broke with BETA2

More volume steps for media playback

Fixed IRQ balancing (found by derf elot) (This is broken in Stock ...)

2018-04-16

Updated to April build

Fixed 'OK Google'

Fixed wifi startup issues

Fixed GPS issues

2018-03-23

Kernel bugfixes

Native exfat support

Several audio improvements

Updated vibration patterns

Updated brightness levels

Fixed IMS

Fixed MTP

Fixed offmode charging

2018-02-19

Added HWComposer improvements (efficient ColorTransform)

Added Kernel support for exfat formatted sdcards

Added Vulkan compute feature

Added IPv6 ebtables

Switched Snap to Camera API2 with extended features (ubifocus, optizoom, blur, pro mode, etc.)

Fixed headphones audio

Fixed NFC

Fixed tethering support

Fixed audio effects

2018-02-06

The big bang!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Didgesteve:
Thank you so much for all your hard work in getting this to the forums.

This includes DRM fix presumably?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dinowaffles:
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I will provide a ROM with MicroG, but not on the first release. MicroG needs to compile their stuff with API level 27 first ...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4rz0:
I think it would be preferrable to not ship any version of GApps with the ROM. This way, everyone can install what they want.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] akonet.android:
Thank you! Downloading.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] akonet.android:
Followed instructions with full wipe, using your latest TWRP, bootloop, boots into recovery.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
[MENTION=4297219]modpunk[/MENTION]

Thank you for your hard work!

Just a feature request.

https://www.xda-developers.com/wireguard-vpn-project-support-android-roms/

https://xdaforums.com/android/development/wireguard-rom-integration-t3711635

:)

Will updates come via OTA or do I check the thread now and then? :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
You also wiped dalvik and cache?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Burakki:
try reinstalling the boot.img manually...

let me know
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] akonet.android:
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.

Flashed stock 12.34 and boots fine, though had to wipe userdata also :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I'm reuploading the ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
The upload finally finished. Could you please re-download and try again?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] akonet.android:
Works now. Thank You. Very pleased.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PEACH-PIT:
ROM is working. Great!

But I think MTP is not working.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
could someone clear up the securitypatch and rom relation?

do i just flash the latest of your twrp and LOS? are they synced so to speak?

Thanks ahead
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Nouatik:
Flawless installation.

Flashed twrp, rom and magisk.

Its a good feeling when everything just works.

Huge thanks!! :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Burakki:
Hi, i have some problems with the GPS + google maps. The navigation is very low. After the phone has found my location, maps doesn't work...
[Galaxy S 4 Q&A, Help & Troubleshooting] s3tupw1zard:
Hello,

I'm trying to port the halium project to the galaxy s4 jfltexx. But when I'm running "breakfast jfltexx" there comes this error:

** Don't have a product spec for: 'lineage_jfltexx'

Can anyone help me?

Thanks in advance
[Moto G5 Plus Questions & Answers] sunmughans:
I had downloaded several 64bit oreo roms and tried to flash them, but it always ended with this error message "updater script ended with error: 255". I dont know how to fix this... Please help me out....

Rom with this error :-

1. LOS 15.1

2. AEX 5.1

3. Firehound 4.1

4. Nitrogen OS

Note : Only Pixel Experience and Colt os (Both Oreo) managed to flash and boot on my device (potter)
[Moto G5 Plus Questions & Answers] Ae3NerdGod:
do a full restore from the stock latest xml.zip, sounds like some partition issies.

also, idk if this is your first TWRP error, but it usually helps to go to advanced>copy logs and then upload said logs to the post you make :)

either try a stock restore with full wipe of data and everything else, or post logs so i can try and help you better than a guess
[Moto G5 Plus Questions & Answers] josephelsave:
I also have same error 225

---------- Post added at 06:34 PM ---------- Previous post was at 06:33 PM ----------

But i cant flash anything

---------- Post added at 06:34 PM ---------- Previous post was at 06:34 PM ----------

I need help
[Moto G5 Plus Questions & Answers] PropaneHD:
Update your TWRP to the latest. That fixed the problem. For me at least.
[Moto G5 Plus Questions & Answers] suyogs1:
Update Twrp

Latest version of TWRP would fix error 255
[Moto G5 Plus Questions & Answers] Rutambh:
Okay I had this Problem

1st of all Install Only This TWRP Recovery

https://xdaforums.com/g5-plus/development/dev-64bits-t3708091

This will solve your Problem

Now if you face error 7 then search that on youtube You will find the Solution for that, Its really easy
[Moto G5 Plus Questions & Answers] Murrfk:
I had this problem and it took me two days to resolve it. I had a good backup and I know it was good because I had used it several times and it worked. But then after doing some system installs I got the error 255 when I tried to restore it. I tried several things to fix it and nothing worked and I really did not want to lose my backup. What did work for me was to use TWRP wipe function to FORMAT the phone. Wiping or factory reset did not work. I lost the contents of my internal SD card but I was able to transfer most to my external SD card. You could also connect the phone with a cable to a computer and use the pull command in ADB to backup the contents f the internal SD card. Given the choice between losing the SD card and the data files I come to lose some of the SD card. Anyway, a FORMAT worked when nothing else did. I read that this error is caused by a lack of space. When I checked the log it seemed that the restore was failing with a particular file which misled me to thinking I had to remove the corrupt file, but since after the format I was able to restore without any problem, it would seem that there was no corrupt data. Hope this helps someone.
[Moto G5 Plus Questions & Answers] nicolap8:
It helps: if you are confused don't flash anything to your phone!
[Moto G5 Plus Questions & Answers] Murrfk:
Deleted - Was responding to an outdated post.

---------- Post added at 04:31 PM ---------- Previous post was at 04:18 PM ----------

???? I was merely raising the issue of space as appearing relevant to this issue. If you have any done any research or understanding of this, you would know most are treating it as a corrupt backup file. My experience was that it was not, as evidenced by the fact that once I freed space on my SD card by an internal format of it, the backup that did not work previous to the format worked fine. No data was corrupt.
[Windows Mobile Development and Hacking General] ajk511:
So facebook mobile web site kind of sux. any chance on porting the facebook app from blackberry?

http://na.blackberry.com/eng/devices/features/social/facebook.jsp?CPID=
[Windows Mobile Development and Hacking General] mugglesquop:
i use Opera Mini to view Facebook :) works well, apart from the annoying "are you sure" messages...
[Windows Mobile Development and Hacking General] ajk511:
yea, i use mini also. but my buddy has this crazy app for facebook on his BB thats just....sweet. figured it cant be that hard for someone who knows what they are doing to port it over for windows mobile.
[Windows Mobile Development and Hacking General] bowlopho:
iphone has a cool one too, as well as sidekicks
[Windows Mobile Development and Hacking General] beng2k:
I dont know jack about coding, however I found this?

http://msdn2.microsoft.com/en-us/library/bb932386.aspx
[Windows Mobile Development and Hacking General] Super EmericAn:
Facebook kicks ass with Picsel Browser.
[LG G5 Questions & Answers] giebeka:
I have a problem with wifi calling/volte and I want to completly disable it. I've got root.

The problem is that when I'm connected to wifi the speacker that I speak with have problem to hear me (he cant understand me, sound is 'jumping', there are a noise). The problem is on every rom and stock. I just want to completly disable Wifi Calling, becouse the problem exist only when I'm connected to wifi
[LG Optimus 4X HD] Chakson:
Hello!

I wanted to make of use for this awesome but old phone i still have.

I would like to use it as a sort of custom infotainment system in my car. The size and specs are just perfect for what i intend to to with it. The only issue is that i need it to boot on charge but i just cannot seem to find a working solution.

Does anyone have any sort of idea? The fastboot commands do not work on this device to disable offline charging.

Any custom rom i can use or any other kind of suggestion is more than welcome.

Thanks in advance!
[LG Optimus 4X HD] ze7zez:
I do not understand this sentence exactly.

First, I thought you want to control the device when it's turned off.

It would be absurd.

Could you explain more or differently?
[LG Optimus 4X HD] Chakson:
Basically i just want the device to boot itself, in other words power itself up as soon as it starts charging. Many phones do that out of the box. This one by default has offline charging, meaning it charges without the device being turned on. It just shows the battery charge animation.
[LG Optimus 4X HD] ze7zez:
Just like you described it, the P880 operates from a stock ROM.

Flash custom ROM, then you will have what you want.
[LG Optimus 4X HD] Chakson:
I have tried several different ROMs but none have this disabled. Do you know any that could have this? i just cannot find one. Thanks!
[LG Optimus 4X HD] ze7zez:
AOSP Nougat 7.1.2 MoltenMotherBoard
[LG Optimus 4X HD] Chakson:
I will try it as soon as i get home today and provide an update. i hope it works. Thank you!
[LG Optimus 4X HD] ze7zez:
csk1jw wrote in post # 429:

Are you looking for the battery icon if you plug in USB/Charger when the phone if off? My Nougat ROMs don't have this. It will boot up directly from OFF when USB/Charger is plugged in.
[LG Optimus 4X HD] Chakson:
That is exactly what i am looking for!

Should work then. Thank you very much. i was on the verge of giving up here haha :)
[LG Optimus 4X HD] ze7zez:
Perform the installation

exactly

as described by OP in the first post.

It is very important not to have problems later.
[Xiaomi Mi Max 2  Questions & Answers] Mahadi14:
Hi

I recently installed twrp 3.1.0-0 through cmd. I saw a thread about twrp 3.2.1.0-0 so it was a zip file instead of img file so I went to twrp and flashed that zip after that whenever I reboot my phone to system in stays on mi logo forever. Then I flashed a rom .tgz file through mi flash tool. To check I went back to twrp using my pc cmd typing the command "fastboot boot twrp.img" . I was taken to twrp recovery. I did nothing and tried to boot back system again same thing stuck here forever. I had to go through the same flashing process to get my phone back.
[Xiaomi Mi Max 2  Questions & Answers] lightman33:
you probably need to restart again by flashing a new rom and read carefully howto.
[Xiaomi Mi Max 2  Questions & Answers] DICKO1984:
U Can just flash no-verity-opt-encrypt here https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.0.zip
[Xiaomi Mi Max 2  Questions & Answers] reversegear:
if stock recovery is replaced by TWRP then stock rom wont boot.

to boot you need to disable dm-verity in boot.img magisk does this while flashing.

so to boot just flash magisk or dm-verity disabler or lazy flasher :)
[One (M7) Q&A, Help & Troubleshooting] Ehvis:
I'm running CM12.1 on an international M7. It's been running fine for two years, but about six months ago it crashed and got stuck in a boot loop. Wiping the cache alone didn't help because it got stuck in an "optimizing app" boot loop, so I wiped data too to make it boot again.

Since then it has been difficult to install new apps from the play store. Sometimes it will reboot after installation of a new app. If that happens then then starting newly installed app will cause an immediate reboot again. After this happens, restarting will also give me a number of "Trebuchet stopped" messages. If I'm unlucky, then it will reboot into a boot loop again after installation and I'm back where I started.

Since the rebooting occurs with different apps and always happens first after the installation, I suspect the data gets corrupted. Which may mean the flash is defective.

Is there a way to properly diagnose this? And if it is a flash storage problem, is that even fixable?
[One (M7) Q&A, Help & Troubleshooting] Ehvis:
Did a full reformat of everything and reinstalled it with Resurrection Remix. So far I have not had any problems.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] GeorgeSimister:
***UPDATE***

I removed Kingroot through their app and unrooted my phone. I tried another one click root, Kingoroot (I know, quite similar names.) The SU which this one installs, isn't restricting me and I successfully set read/write to /system.

I still would prefer to be using superSU but I get a binary occupied message, and the kingouser app doesn't have an option to switch SU app.

For anyone else struggling with kingroot not letting apps work properly, try kingo, who knows.

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

I have the Z3 Compact, and I HAVE NO ACCESS to a PC, and thus have rooted my phone with King root (which was a terrible idea but any root is better than no root)

I have this issue, where King root in some way shape or form is not allowing anything that requires write permission to /storage access to it.

This is not allowing me to install/use things like busybox, lucky patcher, freedom, and is also, stopping me from using terminal emulator to do things such as mount -o rw,remount,/system or anything else. I tried to use a system I found on XDA to replace Kingroots superuser to SuperSU to get around this, however, the replace_kinguser method, fails with no write permission, and also, fails to remove kinguser from /system/apps/kinguser because that doesn't exist as a directory and I think Kingroot may have made changes to their superuser handler.

I really, really need help getting Kingroot out, and superSU in. Without the use of a PC. Considering I do, have root, there must be something I can do.

I also can't set system to write with ES file explorer or pretty much any other method on the first ten pages of Google.

Any time I try to set /system to r/w I get permission denied.

I'm running, android 5.0.2

Also, BOOTLOADER UNLOCK ALLOWED? NO

So I don't think I can flash a custom recovery of any kind.
[Lenovo Yoga Book Themes, Apps, and Mods] Son-j:
Wine 3.0 has been released recently and it now supports android, especially x86 android, like our beloved YB.

Unfortunately, im using windows version.

ive tried the WINE 3.0 on my Shield Tablet (arm), it works but with limited function. i only got to play with the windows calculator. media player comes pre-installed but doesnt run. maybe because my android tablet was ARM-based.

ive discovered that for android, the C:/ directory is at /data/data/org.winehq.wine/ - so you would probably need to root your device.

for those who have the YB android, pls let us know what you think :)
[Lenovo Yoga Book Themes, Apps, and Mods] LightC:
I tried to get Office 2016 working in Wine 3.1 but got an error upon install. I haven't had a chance to try any other installs
[Xperia Z2 Q&A, Help & Troubleshooting] HopIII:
How to downgrade rom oreo to marshmallow i have OREO Lineage 8.0 but i find to much Bugs so i want downgrade to 6.0.1 samme one can hellpe please ?
[Xperia Z2 Q&A, Help & Troubleshooting] HopIII:
05/043/2018 15:43:32 - ERROR - Cannot identify your device.

05/043/2018 15:43:32 - INFO - Selecting from user input

05/044/2018 15:44:09 - INFO - Please connect your device into flashmode.

05/051/2018 15:51:27 - INFO - Device connected in flash mode

05/051/2018 15:51:27 - INFO - Opening device for R/W

05/051/2018 15:51:27 - INFO - Reading device information

05/051/2018 15:51:27 - INFO - Phone ready for flashmode operations.

05/051/2018 15:51:27 - INFO - Opening TA partition 2

05/051/2018 15:51:27 - INFO - Current device : Unknown: Jul 24 2016/19:28:59 - CB5A20BZ8B - Unknown: Jul 24 2016/19:28:59 - Unknown: Jul 24 2016/19:28:59 - GENERIC_23.5.A.1.291

05/051/2018 15:51:27 - INFO - Closing TA partition

05/051/2018 15:51:27 - INFO - Start Flashing

05/051/2018 15:51:27 - INFO - Processing loader.sin

05/051/2018 15:51:27 - INFO - Checking header

05/051/2018 15:51:27 - INFO - Flashing data

05/051/2018 15:51:29 - INFO - Loader : S1_Root_9c84 - Version : MSM8974AB_27 / Boot version : S1_Boot_MSM8974AB_LA3.0_M_3 / Bootloader status : ROOTED

05/051/2018 15:51:29 - INFO - Max packet size set to 512K

05/051/2018 15:51:29 - INFO - USB buffer size set to 512K

05/051/2018 15:51:40 - INFO - Parsing boot delivery

05/051/2018 15:51:40 - INFO - Ending flash session

05/051/2018 15:51:40 - ERROR - null

05/051/2018 15:51:40 - ERROR - Error flashing. Aborted

05/051/2018 15:51:40 - INFO - Device connected in flash mode

05/051/2018 15:51:40 - INFO - Device disconnected

05/051/2018 15:51:40 - INFO - Connected device : D65XX

05/051/2018 15:51:40 - INFO - Installed version of busybox : N/A

05/051/2018 15:51:41 - INFO - Android version : / kernel version : / Platform : 32bits / Build number :
[Xperia Z2 Q&A, Help & Troubleshooting] Hafyzy:
downgrade your flashtool version . the new version wont allow you to flash stock firmware on non stock firmware for example that lineageOS/RR/whatsoever . use lower version of flashtool will do . click me
[P8 Lite (2017) Discussion] Abdou.rk:
honor 8 lite = huawei GR3 2017 = huawei P8lite 2017

We have our own Forum, why are we still using the old p8lite forum ?

And it's full of ROMs too :D
[P8 Lite (2017) Discussion] Marius_Kun:
Uhm..maybe because we have PRALX1 and Honor 8 Lite is PRA LA1?
[P8 Lite (2017) Discussion] Sparco21:
Hmmm my phone is honor 8 lite and im PRA-LX1C432
[P8 Lite (2017) Discussion] Abdou.rk:
ROMs made for LX1 work on LA1 and the reverse is true
[P8 Lite (2017) Discussion] CarlosAG10:
We might get updater.script errors on TWRP and cust incompatibilities... But I might as well be wrong, sure [MENTION=4883214]haky 86[/MENTION] and other experts have the correct answer for this. If they are 100% equivalent, we should indeed migrate this forum
[P8 Lite (2017) Discussion] haky 86:
only if no roms there in that section!

or better I can ask a mod to move all pra-lx1 right there to get more visibility, at last I've nothing to do or work on the old p8 lite anymore!

P.S: my next new rom will be published into the Honor 8 Lite, I'm not going to publish roms here anymore since I close with old p8 lite developments definitively.
[P8 Lite (2017) Discussion] mostafa987:
gr3 2017

I need firmware for huawei gr3 2017 PRA-LA1C185B100 thnx

anybody help me for that
[Lenovo ZUK Z2 (Plus) Questions & Answers] vespino75:
Hi guys,

I don't have the zuk z2, but i'm a developer of Tango.

I want to test the new arcore, (low budget).

Has anyone tried the arcore (magisk method) on the zuk z2 plus?

Thank you very much guys!
[Lenovo ZUK Z2 (Plus) Questions & Answers] sumanth_1998:
go with PE 8.1

https://xdaforums.com/lenovo-zuk-z2/development/rom-pixel-experience-t3704110
[Nokia 8 Guides, News, & Discussion] noise.se:
Even if it doesn't do anything yet it still gave me a bit of hope about the glance screen. Nice findings :)
[Nokia 8 Guides, News, & Discussion] Luhccas-X10:
I tested it here, there are no options other than adjusting screen brightness of glance.

(default 8.0)

Sent from my Nokia 8!