yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi S2 Guides, News, & Discussion] Joeprime14:
I had the same Issue

I used USB OTG BTW

1. Extract the zip to a USB drive (using 'extract here')

2. You will find a file called 'run.sh"

3. In TWRP, mount usb-otg

4. Go to advanced->terminal

5. use

cd usb-otg

to enter the USB folder

6. type

./run.sh

7. Let it run

8. Reboot, wait 1 min before inserting SIM

This worked for me
[Xiaomi Redmi S2 Guides, News, & Discussion] wrbn:
I solved the problem in another way. Thank you for your attention.
[Xiaomi Redmi S2 Guides, News, & Discussion] Anthonz:
thanks man, u saved my day
[Xiaomi Redmi S2 Guides, News, & Discussion] Pako14:
Apart from the solutions that have already been posted, what other option do you have? they did not work for me

help

---------- Post added at 05:07 AM ---------- Previous post was at 05:04 AM ----------

Could you please explain how this step is? I would like to try it.

Thank you
[Xiaomi Redmi S2 Guides, News, & Discussion] Anthonz:
Hard to tell, just do normal flash but use cmd, not miflash tool, then follow the steps

---------- Post added at 01:14 PM ---------- Previous post was at 01:13 PM ----------

Like u flashing twrp use cmd, but manual typing
[Xiaomi Redmi S2 Guides, News, & Discussion] hoanghai2kk:
Thanks u, it works

My redmi s2 up to Android 9, after up rom android 8 and error sim, thanks u , i fixed ít <3
[Xiaomi Redmi S2 Guides, News, & Discussion] Chitrang88:
Thanks you so much bro

I am install my phone Redmi y2 pie to Oreo but my phone Oreo 8.1 not detected sim card but i am install (modem fix.zip) and reboot and i see my phone network showing and sim detected problem fixed.????? Thank you so much bro you are help me
[Xiaomi Redmi S2 Guides, News, & Discussion] farizal88:
no luck for me..

i try anything..but myphone allways show no service..

sim detected but no service..

sorry for my english.
[Xiaomi Redmi S2 Guides, News, & Discussion] dickdoank85:
where link of the patch file??
[Xiaomi Redmi S2 Guides, News, & Discussion] Pixel_lover:
@mahajant99 🙏 where is download file options. please give me download file options🙏🙏🙏
[Xiaomi Redmi S2 Guides, News, & Discussion] Pixel_lover:
Please give me download link
[Xiaomi Redmi S2 Guides, News, & Discussion] gambler1997:
Patch file?
[Samsung Galaxy S10 Questions & Answers] anndrenaline:
I have an issue where my phone automatically powers off after charging to full over night and still plugged on. I wake up to find my alarm didn't go off and the phone is off but fully charged. I have to manually power it back on.

The only catch is that I'm rooted with magisk.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Don't like sharing secrets with Google, but still want to use their apps like Play Store/YouTube and others?

AOSP Roms are not stable enough for everyday use or missing some stock functionality?

Do you want a device for everyday use that simply works and don't disturb with unnecessary functionality?

Do you want to get more juice out of your XZP?

If yes -> follow this:

TomaHawk Project

​

Extremely debloated stock ROM without Google Apps

Awesome performance, stability and battery life.

Most of the apps containing words "backup", "logging", "monitor", "smart" and other that may leak your personal data have been removed.

This ROM converts your G8141 to G8142, buy yourself a microSD slot for G8142 and use your XZP with 2 simcards. :)

Read more about NanoDroid here

You gonna need:​

TWRP

Rom base from here

TomaHawk Rom, GDrive mirror

NanoDroid, NanoDroid-Pather, Nanodroid-SetupWizard from here

Magisk 19.3

Installation:​

Install base with NewFlasher (your phone will be formatted)

Boot right into TWRP, flash Tomahawk_Project and Magisk 19.3

Reboot and run the wizard

Boot back to TWRP , run NanoDroid SetupWizard, then NanoDroid, then patching

You may update magisk now

Bugs:​

Sony Messenger gives FC for less than a second, but works.

Use QKSMS for example and disable it.

All the questions regarded installation of NanoDroid or working of apps related to Google should be asked in Nanodroid topic! If you installed other addons such as ExistenZ don't report bugs here either.

About me:

I am a cyber security specialist and a custom rom developer who concerned about data that we share with nobody knows who. I using android since 2011 , mostly Sony Devices. I have my own view on how perfect android phone looks like and I am happily sharing my results with you.

If you want to support me and my goal of making affordable and usable secure communications feel free to support me. :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Addons:

Digital wellbeing

Services.jar (in case patcher fails, tested with ExistenZ)

TWRP
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] 9264:
Hi thx for your share and guide

I get error in flash. My device is G8188(not daul) and i flash the CE Oreo unlock the bl . Then i flash this (i got G8142)my device lost imei and baseband. so i cant use sim

And also i wanna got pie. Hope your reply.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] LSS4181:
Not sure about the details for G8188 (which I think is the Japanese variant). If your device is not the dual-SIM variant, you need to flash G8141 firmware.

And I'm not really sure about how to deal with a device that's lost its IMEI and baseband.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Try to flash only system image from this rom. use modem and the rest from your latest stock like modem and etc. Sorry for long reply
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
great work!

looks a little complicated, But i will try ..

thanks for share it!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
Please explain more steps 5 and 8 ..Where can I find them ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Updated rom, now installation is more simple
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Beta test is closed.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] SilverGamer_YT:
I will try it when I'm back home , thx for your work and your time
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Stable version is up!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] digiscales:
Is there a stable oreo version? Well done when i do DRM backup finally i will try this out
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Well, I experimented with oreo,because I like it more than pie, but it's not that stable yet. There are some mystical bugs and bootloops, that doesn't make any sense at all to me.

If there will be demand for Oreo version, I will consider making it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] babuuu:
Nice. I was using NanoDroid with the China ROM but it wasn't fully compatible, especially that the contacts sync adapter wasn't working. I'll give this a try once I'm back in the house. Thanks. :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] hangneko21:
hi, need to mention to use aroma twrp. when using normal twrp the NanoDroid SetupWizard will freeze
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] CRNO:
try use Twrp v3.2.1.0, was working with me
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Try one of those:

https://www.androidfilehost.com/?w=files&flid=304126
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
I protected the Project with a company.

So no one would even dare sell or spoil it.

But I gonna make services for a living, so don't get me wrong.

You can say it's cheap advertisement, but change the perspective and see the bigger picture.

I gonna bring privacy back and I need your help to do it. :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] hangneko21:
Thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Blackghosthm:
[MENTION=3508509]Doom Slayer[/MENTION] your rom link says no mirror please fix it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] digiscales:
Can u post link to buy dual sd card tray please
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Tomahawk Rom

The base you can get with XperiFirm.

You need a latest G8142 47.2.A.10.107 , even if you got G8141. Unless you don't want dual sim.

[MENTION=5488987]digiscales[/MENTION], ebay first result
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Rom is comparable with eXistenZ :)

So if you want modifications just flash eXistenZ v10 right after Tomahawk_Project , the rest of instructions remains the same.

You gonna have debloated, deodexed rom with UI modifications and without GAPPs, isn't it awesome? :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
Hi

I am currently in eXistenZ (9), which would be the correct instructions and then install TomaHawk, to have a modified rom without gapps?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
1. Flash 107 base with newflasher

2. Flash Tomahawk_Project, then eXistenZ v10 in TWRP

3. Flash magisk

4. If you need Nanodroid I suggest to run setupwizard first, then flash Nanodroid full package and finally flash patcher( it will take about 10 minutes)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
I'm very interested to try this ROM, been using CarbonROM with Microg as I want to get rid of Google completely, but CR is not stable enough, I see a rebuild coming this weekend! Great work!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
When OEMs release open-source code they don't share their patented libs, drivers, apps.

That leaves us with semi-working ROMs...

So you either "enjoy freedom" of open source projects, pretty much the same bugs, but different flavors: Los,RR,Cr or you use stock and become a product yourself.

I am giving you a 3rd option: enjoy stability and f*ck Google :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
I'll take that option! :laugh:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
Hi

Tomahawk_Project.zip at the time of installation gives zip error, corrupt. I wanted to download it again but it no longer gives the option to download on androidfilehost.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
So I followed these steps based on the various pieces of info, to install Tomahawk and then eXistenZ:

1. Flash Fresh Stock ROM using Newflasher and reboot

2. Flash Aroma TWRP

3. Flash Tomahawk ROM

4. Flash Existenz v10

4. Flash Magisk 19.3

5. Reboot and run setup wizard

6. Reboot to TWRP, Wipe Data, Cache and Dalvik/ART Cache

6. Run Nanodroid setup wizard, nanodroid then patcher

7. Update Magisk

Nanodroid patcher fails:

services.jar status: DEODEX

patching signature spoofing support

patching services.jar

failed to apply patches

Updater process ended with ERROR: 1

Tomahawk is deodexed, eXistenZ is odexed, which I believe is why the patcher is needed. I'm not sure microg will work with eXistenZ installed. May have to start again and try without eXistenZ.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
There is a gdrive mirror few posts back
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Weird. I checked the zip and there are no odex files.

Plus I've done this myself before saying that it's comparable. Are using eXistenZ v10?

Here is my services.jar

Just replace it manualy instead of patcher and give it 0644 rights.

You can do with root explorer or with build in file manager in TWRP (don't forget to mount system before)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
Thanks I will try this. Yes I'm using eXistenZ v10. Just for info I tried again without installing this and it failed again with the same error. I also tried flashing the patcher without installing Magisk first, so it would install directly into /system, but still no good. I'm almost done rebuilding for a third or fourth time lol and will try flashing the patcher via Magisk. If this doesn't work I'll try your services.jar.

Edit - I know why! I didn't use your G1842 zip, I downloaded a fresh G1841 with Xperifirm, so the services.jar file won't be deodexed! So I will copy that services.jar file and should be good to go.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Rom base I provided is fresh image for G8142(central europe) without "fotakernel".So it won't remove your TWRP after installation.

Your phone is actually dual sim model, it's worth spending few dollars on a sim tray. :D

Tomahawk projects will deodex your rom, debloat it and replace some apps stock with non google depended ones (sony official).

I've inspected eXistenZ - looks deodexed for me. :D

Patcher should work.

The only reason it won't if tomahawk projects in not installed for some reason.

PS

In the self-test for some reason it shows that system doesn't support location provider and that UnifiedNlp doesn't have last know location. At the same time latest google maps get your location without problems. ( I have mozila location services and Nonimatim)

If you want to fix that there is a XposedUnifiedNlp module , but I don't see any difference except self-test has all the ticks.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Here is modified Digital Wellbeing magisk module that work with this rom.

Original ask for google services , I just disabled that part. All credits goes to the original author.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
I would be interested to try the G8142 version, dual sim would have its uses for sure, but after spending literally the whole day yesterday getting a working phone I'll have to wait a few weeks until I get bored again :laugh:

EXistenZ thread definitely says odexed right in the first post, but maybe that was just copied from an older version and has since been deodexed. Never mind, its to our benefit! :good:

I could've done with knowing about the location check before, spent too much time getting it to work yesterday, but agree location services are working great!

I did try running the adb shell commands to grant coarse and fine location permissions today just to be sure, but it made no difference. I'll just need to try and forget that not all boxes are ticked or it will bug me ;)

Been using it all day today and I have to say its running great. There are a few niggles but I think they are to do with microg. On the whole really smooth and stable. Well done to you sir, I'm really glad there are people like you in android development!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
I was surprised when I realized that I've been using my phone for 2 years without having a clue that it has dual sim.

I can be also bugged by little things such as missed boxes, that's why before posting anything I try to test as much as possible.

If it really bugs you then:

Install riru core from magisk, then riru edxposed.

Then find "XposedUnifiedNlp" module or this one and install it as well. You will have all boxes ticked as the result, but it seems like Xposed makes phone boot longer.

Good think about systemless xposed, is that if you messed up your phone , you just boot into twrp, and with file manager remove edxposed folder from /data/adb/modules and everything is back to normal.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
hi

How did you solve this error?

Nanodroid Patcher fails:

services.jar status: DEODEX

patching signature impersonation support

patches services.jar

failed to apply patches the

update process ended with ERROR: 1
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Could be TWRP problem, you can try one of those versions.

There is a patched services jar few posts ago.

Here is patcher I used
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
I could install your rom + eXistenZ v10, install the setup wizard, nanodroid, but the patch is the only zip that has given me an error, (I have downloaded it several times) and I just tried to download it from gdrive but it gave server error.

just ´for now without being able to patch the services.jar ´ I can say:

1 using G8142 firware on a G8141 device, it is some countries will not help, since the imei with number 0 is not accepted.

2 I have not been able to use google play in any way.

3 The mixture of TomaHawk Project and Existez v10, is very soft, battery, processor, is very fluid.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Then just manually replace services.jar and give it 644 rights.

I will consider making installation more simple.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Incrovantilist:
Hey [MENTION=3508509]Doom Slayer[/MENTION], is the irritating Qualcomm assertive display (the sh*tty unkillable feature that boosts display contrast when outdoors) removed in this rom?

As I recall, that's one of the main reasons I moved from stock to aosp. Now I'm considering moving back to stock via your rom (for 960fps and dual sim mainly), I have some questions.

Does the rom support Magisk 20.3 and will it support future magisk roleouts (or any particular reason it won't)?

I have no experience with nanodroid, so is the rom going to be encrypted locking us out of flashing stuff from twrp?

Anyway I can move from aosp to this rom (+ existenz) solely thru twrp and no pc? I really don't want to sit with newflasher again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Greetings!

Assertive Display is not disabled, but you can do so in build.prop

Try changing ro.qcom.ad=1 to 0

I used older version of magisk because current version of nanodroid was having troubles during installation. But you can update to latest without problems.

There is no problems with twrp. If your device is encrypted, you can decrypt it there and install whatever you want.

Rom should be installed on top of the latest stock.

I don't think there is way to do it without PC....

I've tried but I failed to find a logical explanation of what happened with my phone after. :D

That's why I had to do it as patch.

If you have another rooted device you can actually use it to flash latest stock.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] digiscales:
How can u flash? from other rooted device thats intresting
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Incrovantilist:
I was never able to fully decrypt and use the rooted stock rom via twrp or any script whatsoever. So whatever I install before first boot was final.

And by flashing latest stock from another device with rooted stock, you mean like backing up via twrp on that device and restoring in my device right? Wouldn't there be discrepancy if the devices aren't identical to the dot (like model number, country)?

And sorry I didn't ask this in the first round of questions, I have a UK origin G8141, does your method convert all G8141 into dual sim?

If so, seems stupid on sony's part to disable that second sim reader even while its there ready to go. They already did that with the Hdmi out.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
I think it maybe TWRP bug, I've posted versions that works for me without problems. Tested decryption with text password and pattern.

[MENTION=5488987]digiscales[/MENTION],

Flashing from another device I mean using newflasher compiled for android. You need to place with 755 rights newflasher executable in system/bin folder and reboot.

Then you unpack rom in your internal memory use Terminal to navigate into that folder and run newflasher.

Also there is a fastboot somewhere in xda that can also run from android terminal.

Once I managed to brick my phone and didn't have my laptop available, so I managed to flash my device via another one.

I have a EU G8141 version, I was quite surprised when I after 2 years of usage I figured out that I can use it with 2 sims. :D

Right now I am working on a project that will allow to flash phone and install firmwares automatically via browsers. But I gonna charge for that like a service :D

All my roms will remain free and available though.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Incrovantilist:
Thanks for this. I will try this from my zuk z2+ and update on how it goes. If it works, its a life saver ??.

I have UK G8141 and is there anyway to test this without flashing the G8142 base rom.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Beetle84:
No mirrors found on AFH.

Never mind, found the gdrive link :p
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
If you got 47.2.A.10.107, you may try to flash Tomahawk Project zip.

Formatting data is required.

[MENTION=5503871]Beetle84[/MENTION], Idk what's is happening with AFH. You are not the first who having troubles with it. I added gdrive to first post.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] MayDuppname:
[MENTION=3508509]Doom Slayer[/MENTION], you know you are a total legend, right?!

This is EXACTLY what I've been after for months! Im sick of Google taking liberties.

Unfortunately, I'm brand new to all this. I've been struggling to learn enough to vaguely understand the concepts (!)

I'd rather not brick my phone and then have to come here asking stupid questions. I don't really want to spend months learning android the hard way, from scratch, just to get rid of Google. (But I will if that's what it takes.)

If you're going to sell an idiot proof version instead, I for one will gladly buy it. Thank you so much for making my life easier. I actually think I love you.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
Hi, Doom Slayer, it might be a stupid question, but I don't remember which services.jar route should replace it and give 644 rights. Could you help me with that?:confused:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
Hello, Jcstro,

The services.jar is located in system/framework.

You can use Root Explorer, replace the file, then click on "Permission" and set as in screenshot.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
[MENTION=10560305]MayDuppname[/MENTION],

I am glad that somebody shares my views about Google and privacy. This kind of comments motivate to continue my work. Thank you. :)

I am trying to make installation as clear as possible, but there are always people who prefer paying instead of spending time.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Devil0Pr:
Is anyone having problems updating apps? I didn't at first, but now for some reason both f-droid and Aurora just sit on "installing" when I try to either update existing or install new apps?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Jcstro:
hi

There is something I still don't understand

patching services.jar will allow certain things to be used, but as such in my case it gives me error after manually changing services.jar and giving it the corresponding permissions, it gives me server error not to show me anything when entering the play store.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Doom Slayer:
That's a issue with nanodroid, not rom.

Both Aurora Store and Aurora Droid have "installation" section in settings.

Try different methods, it's also possible to use native installer. I use "Aurora services" option , works fine for me. On old Xperia Z Ultra I use native installer.

How do you manually change services.jar? What app? What error? I need details.

About Play Storez That's the common problem with nanodroid, you may find answers in their thread.

To save your time reading I've summarized that whatever can help you: removing account, clean playstore data, (maybe updating it via F-droid/Aurora Droid , u need it to update nanodroid apps btw) , also make sure that MicroG has all requested permission.

Using Aurora Store instead of Play Store is a better and easier option.

Also, when replacing, sometimes Magisk won't allow to make changes in system. If you have problems with replacing a file, you may do so in TWRP, you need to mount system first though