yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A30s Questions & Answers] Labild:
Allright, I got this far:

Managed to get the LPM file changed and get the phone to boot on charge.

After rooting successfully (although airplane-mode / Flight-mode keep toggling) I got access to the lpm file.

first, I entered shell

adb shell

then I gained superuser access:

su

I had to change read/write mode for the system-directory. I couldn't use "remount -o rw,remount /system" - as it told me that it wasn't part of /proc/mounts/.

I found a thread saying to remount the root directory " / " instead - that worked:

mount -o rw,remount /

Great - now all I had to do, was to change the contents of the lpm file. Making a new lpm file didn't work - apparently the lpm file has a unique inode value - that the system uses to identify the file, and making a new file, creates a new inode number. So I had to use the original file. I was sceptical about this, because I didn't want to brick the phone, so I made a copy of the lpm contents in order to go back to normal - if it didn't work. I copied the contents to a new file called lpm.orig using cat:

cat system/bin/lpm > system/bin/lpm.orig

So now i had to insert new text in the original lpm file. I made a script with the following contents:

#!/system/bin/sh
sleep 30
/system/bin/reboot

and called it lpm-script - the 30 sec sleep period is because I want to make sure the power is back, before booting the phone.

Now all I had to do is to cat the contents of lpm-script into lpm:

cat system/bin/lpm-script > system/bin/lpm

I rebooted in system mode (not recovery), so I once again had cellular connection, powered the phone off, plugged the usb in, and waited - and success... it worked. Originally I had a 5 second sleep period, but it stille took around 20 sec for the phone to boot - so be a little patient before turning the phone on manually.

So my next issue is the flight-mode toggl. If I managed to get this solved, I hope I'll be able to use the phone with root access all the time, but for now, my initial goal is completed: Boot samsung galaxy a30s on charge.

Let me now if anyone else gets it to work.

/Lasse
[Samsung Galaxy A30s Questions & Answers] Labild:
airplane mode

Hi,

I'm stuck with the airplane mode toggling on and off after rooting with magisk. I've tried to re-flash the phone, but it seems to be the same issue, although the root procedure had no errors or no warnings. Root access works.

Is there anyway to permanently disable airplane mode? Other than pushing the on/off switch.

[IMG="Airplane mode toggl gif"]https://drive.google.com/uc?export=view&id=1z9AMtv4zc-trzQQPAPtmwvdZdpWiCknd[/IMG]

Any help or suggestions would be appreciated.

/Lasse
[Samsung Galaxy A30s Questions & Answers] BESTALEJANDRO:
Hey, did you find how to solve this problem? i also have it
[Galaxy S 5 Q&A, Help & Troubleshooting] Svntana:
Hello i have this model in my house and yesterday i gived this phone to my grandpa but its seems to have only English language and here is a problem because we live in Poland and i would like to change this language to Polish, and here is a question for u.

Is its possible to download some rom to this model with Polish language?

Please send me some rome with this language i will aprecciate that.
[Nokia 7 Plus Questions & Answers] ca_guri01:
I am having a weird bug from today only, never faced in past 2 years.

I am unable to open the "Network & Internet" settings via settings app, it crashes every single time when i tried, but the weird thing is i am able to open my wifi and network settings from quick settings tiles and this way settings app is not crashing, don't know what is happening, as neither i have done any customization to my phone nor i have installed any new app.

I have tried booting into safe mode also, but Network & Internet setting also crashed there, can anybody help to figure out how to resolve this problem without hard reset, as that would be my last option.
[Nokia 7 Plus Questions & Answers] jaskiratsingh:
Try clearing data n cache for settings, setting storage and setting suggestion in app manager? You'll need to enable show system.
[Nokia 7 Plus Questions & Answers] ca_guri01:
Tried that too, still same, crashing
[Realme XT Questions & Answers] Konrad70:
Hello everyone, there are a way to set an app in background without the continuous spawn of the pop up message that "there are apps that draining battery"? There are a way to disable this advice (battery drain)? Am I not free to drain my battery in freedom, without harrassments? First time in 10 years and dozens of android phones.... :mad:
[Realme XT Questions & Answers] Codemaster001:
Try Greenify to disable the battery draining apps. You can use the apps when needed and when you don't it automatically dozes the apps (puts in sleep mode). You can find it in playstore.
[JASJAR, XDA Exec, MDA Pro General] shoeibyarsheikh:
guyz how can i use my Universal running wm5 as a modem so that i can use internet on my laptop ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] sternje:
I have TWRP on my Mi 9T Pro but whenever I try to boot into a new rom it just boots back into TWRP, I think it's because I accidentally wiped everything including my kernel, but I'm not entirely sure, there's no errors when I try to install one, I've tried multiple, my phone doesn't have an OS installed ATM, no MiUI, I've tried flashing stock rom but that also doesn't work. I really don't know what to do.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Robbo.5000:
Restore MIUI by flashing a MIUI fastboot ROM.

Get the fastboot ROM from here

https://xiaomifirmwareupdater.com/miui/raphael/

Choose the fastboot ROM for the phone you have (European or Global). Make sure it is a fastboot ROM, not a recovery ROM.

Use this guide to flash it

https://c.mi.com/oc/miuidownload/detail?guide=2

View the page in desktop mode if viewing on a phone.

In step 5 make sure you change flash option to 'clean all' before hitting flash. This is three radio button options at the bottom of the flash tool. The default locks the bootloader, so you need to change it to keep the bootloader unlocked.

After doing this boot into MIUI at least once before trying to install something again.

When flashing a custom ROM over MIUI you need to format data in TWRP.

After installing TWRP, boot into it a do the following.

Perform a factory reset.

Format data - make sure you format, not wipe, need to type 'yes' to confirm.

Reboot back into TWRP - this makes sure the data partition is properly mounted after formatting.

Now flash the ROM you want and GApps if needed.

Reboot to system and it should be good.

Flash Magisk if needed.

Do not wipe anything else in TWRP. It's not needed.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] itspdp:
First Learn Basics while messing with your device.

Kernel is a part of ROM's Zip,

So even if you wiped kernel(so called boot), it will again gets re flashed with new ROM.

Second your problem is,

You are booting into wrong partition.

I am not sure , what you did.

But Mi9TPro has two partitions, Google's new A/B partition table for Android.

And you may have wiped both Flashed A(example) and booting into B.

Therefore it is not booting properly.

Ask in Telegram group for faster solution.

Or wait here for better solution in reply.

OR

Simply flash Fastboot,

And then try everything again.

Ans from next time, read everything step carefully and then proceed.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Robbo.5000:
This phone does not have A/B partitions.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] itspdp:
It has, but you can't see then normally in twrp.

Ask in telegram group for fast solution.

And please do read about android partition tables feom android oreo.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Robbo.5000:
It's an A only, system as root device. It is not an A/B device.

This is why MIUI updates need to be installed in system recovery. It does not install updates when the system is live.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Sandeeep Kiran:
if it's booting back into twrp. It's usually one of the three mistakes.

1. wrong vendor

2. didnt flash dfe

3. flashed dfe for stock rom

4. encrypted, so format data partition.

you can follow the guide: https://xdaforums.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543

also, k20p is A partition only, not dual.

kernel is included with rom.

ask in telegram group for faster replies.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Robbo.5000:
You don't need to flash dfe. I've not yet come across a situation where it is required. Flashing dfe will make life easier, at the cost of greatly reduced security, but there are always options to do what you want without flashing dfe.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Sandeeep Kiran:
It's required for oss based builds now.
[Touch Dual, MDA Touch Plus General] gonzogonzo:
After re-assemble (whith all care) my girl's Niki to fix a keyboard's floatting screw, a new problem is came: The phone even stays in "charge mode" (red led and plug icon).:confused:

Someone has any suggestion???

Lot of Tnx
[Touch Dual, MDA Touch Plus General] Mokubai:
Is the light red or orange? Orange means charging and red means it urgently needs charging...
[Touch Dual, MDA Touch Plus General] gonzogonzo:
When the charge is full it becomes green (but the plug icon is on). when the chage goes down 98 % becomes orange.

The phone can't feel when the power cable is unplugged!!

I have jost made a lot of soft & HARD reset!!

(the battery has an abnormal consumpition - goes down in 12-16 hours with a normal use).
[Touch Dual, MDA Touch Plus General] Mokubai:
I'd have to say it sounds like a cable has come loose when you re-assembled it, or something has died when you put it back together.

I'd take it back apart, again with great care, make doubly sure that there are no loose wires or components that look crushed and then put it back together again.

Sorry I can't be more help...
[Touch Dual, MDA Touch Plus General] gonzogonzo:
I've do it several time but nothing is changed! :(

Thank you a lot.
[Touch Dual, MDA Touch Plus General] mohamedtarmohamed:
Soft/Hard Rest It
[Touch Dual, MDA Touch Plus General] gonzogonzo:
I have hard resetted several times :(

I think the problem is a component of the alimentation circuit.

In fact, when the circuit is cold it goes well. When I try to recharge, it comes in charge mode and doesn't change until i refrigerate it!!

Note that when the charge light stays on, the power comsumption is very high.

:(
[Touch Dual, MDA Touch Plus General] mohamedtarmohamed:
i wouldn't recommend this but if you want to save £50+ you have to open your phone do not peel of the void stickers on the back ass that shows it is under warranty figure out a different way to open it and see if anything is wrong if wrong solder it if you don't want to that take it to a dealer that fixes phones and if it is under warranty take it to where you go it from
[Touch Dual, MDA Touch Plus General] gonzogonzo:
The first time opened the phone was for remove a floatting screw :mad: and I had no other chance for fix it than to break the sticker and void warranty :(
[Touch Dual, MDA Touch Plus General] gonzogonzo:
:( ...5 minutes of freezer for every charge... :( :(
[Razer Phone 2 Questions & Answers] AllGamer:
never mind

it was a bad idea.

just grabbed the latest version from Magisk, flashed it, now it's all good.
[Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers] bassem.elrefai:
PLEASE HELP ME >> MY MI9 LITE STUCK IN FASTBOOT LOOP

I used to download Custom ROM .. so I made a forced data by mistake from twarp and wiped almost every need in the device .. the device is a fastboot loop

It is not satisfied to enter the recovery and commented on the Fast Loop

I tried everything, I tried the second recovery

I tried mi flash and flashed the official fastboot but give me always error ..
[Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers] Danilo022:
same here bro, i need help too please someone reply asap please!
[Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers] magiko:
read Private Messages
[Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers] ffpp.2003:
still no fix?
[Xiaomi Mi CC9 / Mi 9 Lite Questions & Answers] pinx:
If you get error after miflash, choose option clean all and lock.

You can easily unlock the bootloader again afterwards.
[Windows Mobile Development and Hacking General] vanuska:
Hello All,

I want to make some application for PPC's under WM6 that restrict users from installation any software on PPC.

Does somebody faced with this?

I was looking for some tweakers or smth, to look how it gonna be, but nothing found for WM6.

I was looking for some registry hacks, but no luck.

Any ideas are welcome.

Cheers.:)
[Windows Mobile Development and Hacking General] bluemetalaxe:
what a thread, so this could help:

1. dont give it to your brother,

2. ask your daddy to buy him his own ppc

3. make a backup

4. give the mio to your mom and go back to kindergarden

5.and just open a thread on a developers side if you have something usefull.

hope i could help you ;)
[Windows Mobile Development and Hacking General] wearefree:
Well I can see this being as the device used for demonstration purpose and OP wants to forbid people from messing it up.

One thing I can think of is to make the windows folder and registry files "read-only" so no other things can be added or used on the phone, after configure the phone the way you wanted.
[Windows Mobile Development and Hacking General] surur:
I'm sure its possible, as a Exchange Activesync security policy.

Surur
[Windows Mobile Development and Hacking General] Heykrop:
Forbidding an EXE from installing would also prevent EXE's from running. Thus rendering everything on the device inopperable.

Preventing CAB files from running though, should just be a matter of altering the registry and what the associated actions for CAB files are.

look in \HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command\

The default string value is wceload.exe "%1" /XXXXXX (XXXXX can be a value of either /delete or /nodelete)

Anyway breaking this string will prevent cab's from installing.

The only other method of doing something like you want, that I can come up with at the moment, would be to create an app that either runs at startup or as a service. It's function would be as suggested above would be to restrict new files from being created in specified storage/registry locations.

I say NEW files as you would not want to restrict modification of existing files in those locations otherwise you risk breaking functionality of pre installed apps.
[Realme X2 Pro Guides, News, & Discussion] ChromiumPD:
In case you missed it: https://github.com/realme-kernel-opensource/realmeX2pro_AndroidQ-kernel-source

Thank you devs for your great work!
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
DISCLAIMER: I am not responsible for any damage that may occur to your device, it is your own choice to flash this rom.

I wanted a stable, fast and Pixel-like rom for Mi Pad 4, and thankfully using rcstar6696's snapdragon 660 vendor and kernel, I was able to port Official Pixel Experience for Mi 6X by CryllicBuster273 over to the Mi Pad 4.

Features

- Face Unlock

-Safety net passes without Magisk! :D

- Removed Messages and Dialer as they are not needed on a tablet

- All the normal features found in a Pixel Experience rom

BUGS

Tested on a Wi-Fi only Mi Pad 4 so I will need someone else to confirm for me if fingerprint and LTE work

Downloads

Recommended recovery (OrangeFox)

Recommended Firmware (China Dev 9.8.29)

ROM DOWNLOAD 2020/05/15

All Builds

Installation

1. Take a full nandroid backup of all partitions just in case anything goes wrong!

2. Make sure you have removed encryption and if you have not you can do it by running this command in fastboot mode.

fastboot format userdata

3. Boot into your custom recovery

4. Wipe Dalvik, Cache, Data, System and Vendor

5. Flash the rom

6. (Optional) Flash Magisk for root, it is not needed to pass safety net though.

7. Reboot and enjoy the rom!:good:

Credits

ibooth2004 (Ported the rom to clover)

CryllicBuster273 and (Maintainer of original rom for wayne)

rcstar6696 (For Vendor and Boot image)

XDA:DevDB Information

[ROM][PORT][10][clover] Pixel Experience [2020/05/15], ROM for the Xiaomi Mi Pad 4

Contributors

ibooth2004, rcstar6696, CryllicBuster273

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

ROM Firmware Required: MIUI China Dev 9.8.29

Version Information

Status: Stable

Current Stable Version: 10.0

Stable Release Date: 2020-05-07

Created 2020-05-07

Last Updated 2020-05-15
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
Reserved
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
Incase anyone is wondering I will update this rom whenever Mi 6X Pixel Experience receives and update.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Polv89:
Why you opened so many threads about this rom?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
I have had them deleted now, I thought the upload failed so I tried to re-upload but accidentally created many threads.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Polv89:
Ah ok, which is the difference from this PE and the mamarama9904 one?

thanks
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] VibolFTW:
Is this the AOSP or the Plus version?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
This rom is a port of official Pixel Experience for Mi 6X, this means it is more stable, it has all the features found in an official Pixel Experience rom and unlike all the other PE roms that don't get updated I'll be porting every single update. Also this rom contains face unlock and doesn't need magisk to pass safety net.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
This is the AOSP version but I might port the Plus version in the future.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
I have decided that since Mi Pad 4 already had a build of Pixel Experience I will port and update Pixel Experience Plus.

Edit: PE is more stable than PE Plus so for now I'll port from this but if there is enough demand I'll port PE Plus
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] marcoblasco:
Rom is quite good but it has a very high battery drain. It could be solved with Magisk and any kernel manager app and changing cpu's governor, which is set by default to performance.

P.s. sorry for my bad english
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Vihru:
why removed messages and dialer? i use my tablet for sms and other stuff..
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] jooky2000:
After installing, I'm stuck on the "G" loading screen and it won't progress. Any ideas?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
In new build they will return, I removed them since I have a WiFi tablet but I'll bring them back for users like you.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] tody01:
Magnetic Flip cover not working on this rom. On PE 10 By mamarama9904 its working.

Its possible to invert buttons?

Thanks.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
Are you on the 9.8.29 firmware and have you made sure encryption is disabled?
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] ibooth2004:
I will try and fix magnetic flip cover in the next build, also inverting buttons is sadly not a feature on Pixel Experience.
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] tody01:
Thanks, i will wait next build.

Good job :good:
[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] marcoblasco:
Could you also try to fix cpu governor? It causes a really high battery drain.
[LG G8 Questions & Answers] alias4ever:
I am looking to get this phone and needed some advice. ;) I haven't bought a cellular branded phone for a long while. I usually go with the USA Factory unlocked version. :) On this phone is the cellular named stamped on the back of the phone? I know the model for the USA Unlocked version is G820QM (with a 7 at the end at times) but it is honestly harder to find. What does everyone recommend on this phone in regards to getting the cellular branded one or should I keep trying to find the USA Unlocked version? What about bloatware with the different cellular branded ones? How is that? Can you get rid of the bloatware? I also like what I call the LG Branded ones as they get the updates faster do they not? Please help me. I am looking for a phone and this one stuck out at me unless someone suggests a different phone with similar specs to this one? Thanks so much! :good:
[LG G8 Questions & Answers] hugoprh:
Unsure where you're from, but stay away from the AT&T unlocked model (my model G820UM), I'm from the UK and ordered one, big mistake, AT&T does not send any update to their phones if they are not using an AT&T SIM card in the US, some users have been successful in updating they're OS, by just using a AT&T SIM card outside of the US, some haven't and I haven't tried it, because I don't want to waste more money on a SIM card when the results are not 100% guaranteed.

There is no way of cross flashing a different ROM, so you will be stuck without updates, until someone finds a way of cross flashing a ROM from an unlocked model. I'm checking this forum regularly hoping some has found a solution, but nothing so far :(

If you are in the US and on AT&T then it will fine, bloatware (which is a lot) can be removed/disabled easily

Honestly, for the price I paid (£280), I think the Xiaomi Mi9 would have been a better option, similar specs, updates every 2 months and you're able to unlock bootloader, not the best process to unlock the bootloader, but still possible (just need to wait for permission from Xiaomi which could take a few weeks), you'll be missing out on the best headphone jack, better cameras (not by much) and better battery life, for a similar price I think this is the best deal for snapdragon 855 phone.

If you don't mind paying a bit more and want the same features as the G8, go for the Samsung S10.
[LG G8 Questions & Answers] ChrisAG:
Have you tried updating after taking out the SIM card?
[LG G8 Questions & Answers] hugoprh:
Yep no luck, I've sold the phone, I was wasting too much time trying to find a solution, so just sold it and claimed my sanity back xD

Going back to the trusty Xperia 5, timely updates and great software :) and they are going for around £260 so easily recommended.
[LG G8 Questions & Answers] ChrisAG:
That's too bad, AT&T must be interfering, because I just purchased an unlocked G8 in Canada, and it updated to 10 over WiFi, before I inserted a SIM from my carrier (Bell Mobility). Phone was not on Bell originally.
[LG G8 Questions & Answers] hugoprh:
Yep, this a AT&T "feature", want updates? Buy at AT&T SIM card and use it in the US, guess they don't want anyone outside the US to use their products, unsure why, but it is what it is...
[LG G8 Questions & Answers] ChiefWilNel:
Is 10 really that big a deal from 9? I have 9 on my phone i could care less if it gets 10 and I am pretty sure it wont , lol
[LG G8 Questions & Answers] TPMJB:
I feel like if we have temp root then it's only a matter of time before we get TWRP and roms. I just picked up an AT&T model for $178. Not sure if it's unlocked, but fairly easy through AT&T. Just worried if we have an exploit, updating to 10 might invalidate it.

I come from PS3/xbox 360 hacking, haha.
[Samsung Galaxy S9  Questions & Answers] ranidulak:
i've been trying to buy a s9 locally but most of it are really sketchy or have a cracked display. so i checked ebay for one and a Korean seller is selling a SM-G960N for 280$. its the same price locally but i says its a really good condition one. the questions i have are,

1. Korean version seems to have a lot of bloatware but i can hopefully root or use cmd to remove them. i want to know if that's possible?

2. found of google that korean version phones don't have Lte or cant use it a country besides Korean that's what i read at least. is that real? it seams weird if it is.

3.could i re flash a international version firmware to it so that samsung pay will work?

that's all the questions i have hope they get answered soon.

thanks!!