yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] Timb320:
OK I am writing my first Mobile 6 App, based on compact framework 2, obviously finding some differences from Framwork vs compact when dealing with reading and writting simple values to xml;

Here is what I want to do: write two textbox values to xml as follows:

<settings>

<hostip>192.168.0.14</hostip>

<hostport>8011</hostport>

</settings>

So I got the above accomplished using the following code:

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

string hstip = "";

string hstport = "";

hstip = this.HostIP.Text.ToString();

hstport = this.HostPort.Text.ToString();

XmlWriterSettings xml_settings = new XmlWriterSettings();

xml_settings.Indent = true;

xml_settings.OmitXmlDeclaration = false;

xml_settings.Encoding = Encoding.UTF8;

xml_settings.ConformanceLevel = ConformanceLevel.Auto;

using (XmlWriter xml = XmlTextWriter.Create(GetApplicationDirectory() + @"\settings.xml", xml_settings))

{

xml.WriteStartElement("settings");

//xml.WriteStartAttribute("hostip", "");

xml.WriteElementString("hostip", hstip);

//xml.WriteString(hstip);

//xml.WriteEndAttribute();

xml.WriteElementString("hostport", hstport);

//xml.WriteStartAttribute("hostport", "");

//xml.WriteString(hstport);

//xml.WriteEndAttribute();

xml.WriteEndElement();

//ds.WriteXml(xml);

xml.Close();

}

-----------end of write code------------

Now the part I am stumped on as I have tried all varietions to get the data back into the textboxes, I either get and exception or blank values in the textboxes.

Here is the code:

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

private void SrvSettings_Load(object sender, EventArgs e)

{

XmlReaderSettings xml_settings = new XmlReaderSettings();

xml_settings.IgnoreComments = true;

xml_settings.IgnoreProcessingInstructions = true;

xml_settings.IgnoreWhitespace = true;

xml_settings.CloseInput = true;

try

{

using (XmlReader xml = XmlTextReader.Create(GetApplicationDirectory() + @"\settings.xml", xml_settings))

{

xml.ReadStartElement("settings");

xml.Read();

xml.ReadElementString(,,)

//xml.ReadToFollowing("hostip");

this.HostIP.Text = xml.GetAttribute("hostip","");

//this.HostIP.Text = xml.GetAttribute("hostip");

//xml.ReadToFollowing("hostport");

this.HostPort.Text = xml.GetAttribute("hostport","");

// Close it out----------------

xml.ReadEndElement();

xml.Close();

//ds.ReadXml(xml);

// }

}

}

catch (Exception ex)

{

System.Windows.Forms.MessageBox.Show(

ex.ToString(), "Error Loading IP settings");

}

}

------------end of read code

obviously I get an exception with this:

"System.xml.xmlexception:

"Text" is an invalid XmlNoteType. Line 2, posistion 11 at

System.xml.xmlReader.ReadEndElement()":confused:

-----

I suspect I need to use ReadElementString, but I have tried and no workie...

Somebody have an example/class for both reading and writing per my requirements above, I would really appreciate the help.. :)
[Windows Mobile Development and Hacking General] replay37:
Use XmlDocument

Try using the XmlDocument instead. It's alot easier to use for simple xml reading/writing.
[Windows Mobile Development and Hacking General] Timb320:
Well Partially working now :) - I get the Hostport populated but for some reason hostip is blank even though it appears it falls through it in the case statement.. wierd..

DataSet ds = new DataSet();

XmlReaderSettings xml_settings = new XmlReaderSettings();

xml_settings.IgnoreComments = true;

xml_settings.IgnoreProcessingInstructions = true;

xml_settings.IgnoreWhitespace = true;

xml_settings.CloseInput = true;

try

{

using (XmlReader xml = XmlTextReader.Create(GetApplicationDirectory() + @"\settings.xml", xml_settings))

{

xml.MoveToContent();

xml.ReadStartElement("settings");

while (xml.Read())

{

//xml.Read();

switch (xml.Name)

{

case "hostip":

HostIP.Text = xml.ReadString(); <--I get Blank text

break;

case "hostport":

HostPort.Text = xml.ReadString(); <--POpulated OK

break;

default:

break;

}

// Close it out----------------

//xml.ReadEndElement();

}

xml.Close();

//ds.ReadXml(xml);

// }

}

}
[Windows Mobile Development and Hacking General] Timb320:
Solved, Had to remove the line: xml.ReadStartElement("settings");

Thanks..
[Windows Mobile Development and Hacking General] xplode:
Just out of curiosity, what will your app do ?
[Windows Mobile Development and Hacking General] Timb320:
I'm writing a WPF Windows App that monitors Server Services, IPs, Websites for up or down status; buiding a client server component to it, so the end goal will be to use the mobile app to connect to the host and download status on said servers being monitored and populate them in a listview whith thier up or done status.

Simple app but still in the works.
[Windows Mobile Development and Hacking General] xplode:
if you can make it customizable (to set up parametres, adreses) it wil be useful for many website administrators

a cool little app :)
[OnePlus 9 Pro] Fre$h:
Hello alls

I encounter a very specific issue with o+9 Pro /A11 that I never met before.

It's very specific to one utilisation : Pokemon Go + apps that can intercept some coordinates and send them to a spoffing tool.

On others devices I tested with, when I click on a coordinate, the dedicated app ( Velocity or Coorward) simply send the info to the spoofer without creating a dedicated "window"

But now I'm using O+9 Pro, the same app create an uneccessary Windows, which is very annoying for some reason.

On Xiaomi devices there's a specific settings that allow an app to be able or not to create a pop-up Windows called : Display Pop-up windows while running in the background

Do you know guys if there is a dedicated setting for that on OOs ? Or does a specific adb command can be used to make that annoying pop-up window to not appear ?
[Nokia 6.2 Questions & Answers] Frebush:
Hello everyone,

Please help me with this problem. I did everything, and i was installed driver and turned on debugging on phone, i even have changed the usb cable. I did everything but adb didn`t see the device. If somebody knows what`s wrong with Nokia 6.2 or maybe there are features that i don`t know, please text me.
[Redmi Note 10 Pro] arifn82:
is there any way to lock 120hz on google photos and youtube app on miui? by default, it feels like 30hz on those appss...sooo sloow..is there any workaround ?
[Huawei Developers] ask011:
What are the required permission?
[Touch Diamond, MDA Compact IV ROM Development] Wond3r:
Its a pain flashing to a new ROM lol... just becuase I will lose all the apps I installed. and reinstalling them takes a while (mainly the maps to my gps and the gps itself), any way I can backup these things and have them put on automatically when I restore the backup?

I dont think spb backup does it

any suggestions?
[Touch Diamond, MDA Compact IV ROM Development] palmbluetooth:
Hi, SPB backup does exactly that, it'll restore all your apps and settings.

You can also try SASHIMI, it's free and it also does the same.
[Touch Diamond, MDA Compact IV ROM Development] Wond3r:
Which would you say is better?
[Touch Diamond, MDA Compact IV ROM Development] ranchu:
for me, i install apps in internal storage.. after flashing roms, i merely re-create shortcuts back to start menu\programs folders
[Touch Diamond, MDA Compact IV ROM Development] Wond3r:
Doesnt flashing also wipe the internal memory though? (I mean, back to default).

"i merely re-create shortcuts back to start menu\programs folders"

and how do you do that? ^^^
[Touch Diamond, MDA Compact IV ROM Development] ryousuke:
no it doesnt... it only wipes out ROM/RAM... internal storage is kept intack...
[Touch Diamond, MDA Compact IV ROM Development] charly_mx:
how?? well, just make a copy for \windows\start menu folder to a backup directory in \internal memory then after reflashing and if all apps where installed in the internal memory just copy back the start menu folder to \windows\start menu

:) BE carefull if the new ROMs has new apps be sure not to delete new shortcuts.
[Touch Diamond, MDA Compact IV ROM Development] Addicteddddd:
for the not so advanced users go for the SPB Backup, or if you're feeling challenging try the SASHIMI
[Xiaomi Mi Note 10 Questions & Answers] mateusbatera:
Hi there. I installed Bliss ROM in my Mi Note 10 earlier this week, and it's doing great, except that I can't run a handful of important apps, because they can tell my phone is rooted. Now, I tried many ways to get rid of this issue (used the MagiskHide, tried to uninstall root within Magisk App..., flashed an uninstall zip via TWRP...). Nothing works. I'd really like to keep using the custom ROM, because Xiaomi's stock ROM sucks, so what can I do? Is there any possibility of unrooting the phone without flashing back the stock ROM?
[Xiaomi Mi Note 10 Questions & Answers] joke19:
Maybe help to reset the apps and or flash the boot.img from bliss
[Xiaomi Mi Note 10 Questions & Answers] joke19:
You use the uninstall option from the magisk app?
[Samsung Galaxy A72] madseason.live:
I just rooted my device, here is how to do it.

Installation

The Magic Mask for Android

topjohnwu.github.io

1. OEM unlock (All data will be lost and warranty void.)

2. Download latest firmware

3. Install Magisk APK - Upliad AP file.

4. Run magisk on AP file

All data will be lost.

Flash with Odin without HOME folder.

Done.

Firmaware from samsung website + magisk modified one (uploading now, will take some time):

13.08 GB folder on MEGA

6 files

mega.nz
[Samsung Galaxy A72] fairylights:
Any alternative to Odin? I've given ADB a try since my only device with usb c is a linux. This command:

└──╼ $fastboot flash boot_a magisk_patched-23000_H7hbm.img

fails with something about "command unknown" : (

Very optimistic since you managed it there's a point to keep trying
[Samsung Galaxy A72] Zolocofxp:
Not a very detailed how-to, but it gets the job done. I successfully rooted my SM-A725M/DS with this method.

Thanks.
[Samsung Galaxy A72] madseason.live:
I just installed TWRP, Kakarot Kernel without bricking my phone :)
[Samsung Galaxy A72] toda81:
Hello. I downloaded all the necessary files, but I don't know the procedure of what to do with those files.

I would ask you if you can write me detailed instructions.

Thanks in advance
[Samsung Galaxy A72] madseason.live:
As written in the original post:

Flash with Odin without HOME folder.

After you flash it and device starts - run Magisk app, it will need to finalize root. Than run Root checker app to see if it worked.

Download Odin, run it - select files and flash.

Check some tutorials for it if you are first timer, lots of videos on youtube.
[Samsung Galaxy A72] netcry:
instill couldn't root my a72f
[Samsung Galaxy A72] sher5sher:
Hello Dear Friends, I have been struggling for a couple of days to root my Samsung A72 ( SM-A725F/DS)

Android 11 baseband version ( A725FXXU3AUG2 )

OEM unlocking is already unlocked.

but when I'm going to download mode it shows the following:

FRP LOCK: OFF

OEM LOCK: ON

KG STATUS: CHECKING

I tried a lot to flash TWRP or patched boot image with magisk. it never worked.

I also reflashed the whole firmware it didn't work

several times I turned it off and on the OEM unlocking still did not work.

I did a lot of googling and I found that I should unlock OEM via fastboot.

I installed ADB and android drivers on my windows 10

I tried that too here is the below log:

Microsoft Windows [Version 10.0.19043.1237]

(c) Microsoft Corporation. All rights reserved.

C:\Users\Sher>adb devices

List of devices attached

RZ8R31HB8RB device

C:\Users\Sher>adb reboot bootloader

C:\Users\Sher>fastboot devices

RZ8R31HB8RB fastboot

C:\Users\Sher>fastboot flashing unlock

...

FAILED (remote: unknown command)

finished. total time: 0.006s

C:\Users\Sher>fastboot oem unlock

...

FAILED (remote: unknown command)

finished. total time: 0.004s

C:\Users\Sher>fastboot reboot

rebooting...

finished. total time: 0.001s

C:\Users\Sher>

when I'm trying to check if the fastboot commands works or not I tried to reboot the phone it did not work as you see in the above command.

I tried 3 different computers it never worked for me.

can you please guide and help me on how to unlock OEM on my A72 phone?

your help and support will be appreciated

regards,

Sher
[Samsung Galaxy A72] LAST_krypton:
Heimdall
[Samsung Galaxy A72] arbiter99:
Will this work for A72M, Mexico version?
[Samsung Galaxy A72] madseason.live:
If I remember correctly I had to change device date over a month to the future to be able to fully OEM unlock it in dev oprions, after initial OEM unlock was done. It is timed.
[Samsung Galaxy A72] Lobsta03:
I didn't think it work, but it did. I tried a few different methods over the last few days and I just couldn't get a recovery running or a magisk modified (about 100mb) boot.img file uploaded through Odin. Thank you very much for this post.

1. OEM unlock (All data will be lost and warranty void.) Enable USB debugging.

2. Download latest firmware to PC

3. Install Magisk APK from github on phone (keep a copy on the sd card to survive wipes for convenience)

4. Copy the (about 6GB) AP file from the firmware package on pc to the phone

5. Run Magisk on the AP file

6. Copy the magisk_patched-xxxxx_xxxxx.tar that is generated by Magisk to PC

7. Boot phone in download mode. Run ODIN and flash the magisk_patched-xxxxx_xxxxx.tar under AP (no other fields need to be populated)

8. Phone will auto reboot and factory reset itself. Install all your accounts as this will be the final working version of your phone.

9. Install Magisk again and it will do the final config and reset the phone.

10. Enjoy. Install root checker to confirm. Test with a rooted app like vanced.
[Samsung Galaxy A72] tomhet:
Hi guys,

Can you confirm that magisk on A72 shows "Ramdisk: yes" ?

(I want to get this phone, but want to avoid getting root only via recovery like on S10 that doesn't have ramdisk)
[Samsung Galaxy A72] Elvaa:
- removed-
[Samsung Galaxy A72] madseason.live:
View attachment 5513341
[Samsung Galaxy A72] pasukanX:
Good recovery instal
[Samsung Galaxy A72] Eliiiijaahh:
Hello! i tried this today and unfortunately it didnt work and upon booting the phone on after flashing odin it says file is corrupted and went into recovery mode and only suggested either try again which bootloops or factory reset.
[HTC Excalibur] plaifender:
I definitely love the "tile theme of 6.1/kavana" and was wondering if anyone on here knows of an available theme that would make my homescreen like wm6.1 without having to load 6.1 on my Dash. I'm happy with wm6 and don't think it's worth is to upload 6.1 just for it's homescreen....
[DOOGEE MIX  Questions & Answers] SebTemper:
Hello all,

please excuse me for resurrecting this old thread, but I ran into some issues here.

When following the instructions for flashing the recovery.img via the scatterfile with the SPFlashtool,

I could not open recovery and ended up seeing a black screen.

Since I had unlocked my boot loader before in another failed attempt to flash a custom rom,

I thought it would be a good idea to re-lock the bootloader.

I should have googled that beforehand.. Turned out to be the second best idea of the day,

since my Dooge Mix now displays "red state" and does not do much but bootloop.

I cannot get into fastboot anymore as well.

Has any of you guys managed to recover the phone from this state

or did I just make myself a beautifully illuminated paperweight?

Thanks in advance &

best regards

Seb

Update:

SOLVED: Saved it via SP Flash Tool
[DOOGEE MIX  Questions & Answers] fabriono80:
Moving to the back of the device, the Doogee Mix has two cameras (because every phone has to go that route now... I almost want to command Samsung for not doing that with the S8). Here, the 16-megapixel+8-megapixel set-up does all the usual two camera tricks. It can produce "bokeh" shots and also offer 2x zoom (like the iPhone 7 Plus and the OnePlus 5). I took some quick sample shots and the results are okay. I doubt this camera will blow anyone away. I'll go into Showbox jiofi.local.html tplinklogin more details during my review to be published in a week or so.
[Xiaomi Mi 11i / 11X Pro / Redmi K40 Pro+] huahaizhi:
Is there any released AOSP rom for Redmi K40 Pro?
[Xiaomi Mi 11i / 11X Pro / Redmi K40 Pro+] r.arunkumar97:
This is a Redmi K40 Pro+ forum. Please use the relevant device forum
[Xiaomi Mi 11i / 11X Pro / Redmi K40 Pro+] khanhdx:
Currently no. Because there is no working TWRP for K40 Pro.
[Xiaomi Mi 11i / 11X Pro / Redmi K40 Pro+] mslezak:
You can get around flashing without TWRP, but the issue is, it's a whole lot of work to make a kernel on A11 shipped devices with the GTK 1.0 and GTK 2.0 devices, which must launch an Android Common Kernel and store drivers in a separate partition, loaded after the first boot process of the generic implementation. Plus the 888 people don't really want to support (it's kind of a portable oven, throttles like crazy, and just isn't a good example of a Qualcomm product). Sorry to disappoint. I sold my K40 Pro Plus for these reasons. Only OnePlus 9 Pro seems to have custom kernels and ROMs, unfortunately. So I also talked to the dev that built the first custom kernel on that device; he said it took 3 months to inline all the drivers and make them functional (that's what you have to do on the new Google format), and honestly, most devs don't want to spend that kind of time on a kernel (hey, most of us have jobs).
[Android Head-Units] sharkbait_325:
I installed Screenshot Master on my Android 10 head unit. I can see the floating button to take a screenshot but this disappears when I switch screens. It seems that Android 10 is not allowing Screenshot Master run in the background. Is there another way to take screenshot on Android 10? If not, how can I allow an Screenshot Master to run in the background? Thanks!
[Android Head-Units] sharkbait_325:
I was able to take a screenshot using the instructions here.

Problem solved! :)
[Android Head-Units] mastrv:
If you have Google Assistant, you can ask it to take a screenshot. I successfully used it to take a screenshot. I have an SPro/CC2 with Android 8.1 but this should probably work on an Android 10 unit.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Vedarshi:
Thanks for posting, I was looking to switch over to microG now with LOS 18.1 for hotdogb

Just wanna confirm, will these builds support OTA updater/dirty flashing for updates?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
You will be able to dirty flash future updates similiar to LOS. Just be aware if you have modded any system files i.e. NanoDroid system install vice using Magisk; then you will have to reapply after dirty flash.

I'm working on OTA updates in the next release, just haven't set the hosting up at the moment.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
Can I flash this right over top of the Official Lineage for HotdogB, or do I have to go stock 1st?

Thanks
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
I would recommend loading recovery Factory Reset, then Format data / factory reset. Dirty flash might work, but I have not tested it. It also may come with unwanted consequences.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
I was going to factory reset anyways, since I never really made the Official Lineage a daily driver. I was really waiting for MicroG before I went all out.

Thanks for the effort.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
All installed, and all the boxes are checked in MicroG! Thanks!
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
No worries, I added the boot.img in case anyone wants to patch with Magisk. I had to do so and also install NanoDroid as a Magisk module to use a few apps that were expecting play store services.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] HueyT:
How do I import google contacts?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
https://contacts.google.com

Click export then Vcard. Go into contacts on phone import then select the file.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
I ended up using a boot.img that I had already patched in LOS Official.

Do you have a link or a download for the NanoDroid. It does not show up in the Magisk Module search?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
Once you go with MicroG you are out of the Google Eco System. And dont try to log in as they may wipe out your email and cancel you. I just imported my contacts, as suggested.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
It is linked in my initial post.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
I managed to get wear working, but if I open the app it tells me to get it from the playstore, and breaks connection to my watch.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
Use MicroG to be the go-between for Google eco. You can login through MicroG if you have an app that is in need of it and MicroG will be the in-between.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
Yes uninstall it. Install NanoDroid then install it from Aurora after you installed NanoDroid in Magisk module and rebooted.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
That's a big list, which one should I get? https://downloads.nanolx.org/NanoDroid/Stable/
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-23.1.2.20210117.zip
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Droid_Nut:
I heard it is against the terms, so it is safe to log into microg and get the apps that you paid for?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] jivy26:
Of course its against their terms and you can login, but there is always the risk your account is banned. Though I have never had an issue.

If you're weary you can always make a separate Google account and use to try it out.
[Shadow General] cooljuno:
I tried to flash a 6.1 rom to my shadow, but that was back in the day when my WMD did not work. When I tried to flash it, it got stuck in the bootloader mode. It took me awhile to research how to fix it, but eventually I got the re flash of the orignal t-mobile rom to work. Im wondering if I now that my windows media device software will work, if the flashing will? I'm a bit paranoid as I have no back up t-mobile phone and wonder if 6.1 is even worth it.

Also, the issue came because during the flash it said make sure it is connected to active sync, but I have WMD because I am on Vista.

What do you guys think? Should I be able to upgrade the shadow or should i just leave it alone
[Samsung Galaxy S21 Ultra] samlis:
Hi, please I want to know when we change the CSC does it improve the network? thank
[Android Q&A, Help & Troubleshooting] AMACOMX:
i have a ps4 controller connected to my android phone via bluetooth, things are smooth and nice but i'm stuck with nfs mostwanted that only supports moga controller.

no i'm not planning to get my self a moga controlelr because the ps4 and ps5 and xbox controllers are the best in terms of senstivity and support and they are standards now

so is there a way to trick the game that the ps4 controller is a moga controller since both have the same layout ??
[Xiaomi Mi 11 Ultra] KillyTheTroll:
Hi !

I would like to buy chinese version but i have a question first.

What are advantages an inconvenients if th chinese ROM ?

I hope there's not any bloatware or spyware on chinese ROM

Thanks
[Xiaomi Mi 11 Ultra] kaczorcuchnie:
i heard chinese has call recording available, could not find confirmation though