yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] AlexVallat:
No, the scripts in the scripts folder are not combined into a single script, they are all executed separately. Would there be some benefit to trying to combine them into a single script before execution?
[Windows Mobile Development and Hacking General] Noonski:
No, you are absolutely right there is now good reason for it.

It's better to have them seprated, makes finding **** Ups easier.

Don't know what i was thinking or why..:confused:
[Windows Mobile Development and Hacking General] The_Steph:
AlexVallat,

Thanks for your job, you soft is amazingly simple which is a great pro compared to SASHIMI for instance.

So yhis afternoon I started to put all my files in the appropriate folders and when I launch SDConfigGen with the folder path I don't get in the config.txt file \Storage Card\ before the files to execute but the path I gave as parameter. I think transforming the path given into \Storage Card\ could help.

One other point, as a poor French guy your RegToXml converter does not handle all the French extended character set such as é, à, ... Could you make it support this characters.

Anyway for now it is fully usable but requires SDConfig.txt file edition before launching the whole process. Tomorrow it will be hands-on time as I plan to upgrade my Polaris ROM so more news to come regarding SDCofingGen usage.

The_Steph
[Windows Mobile Development and Hacking General] Noonski:
Hm my pall had the same thing but changing to Unicode seemed to solve his XML issue. NOt sure if this is the same but worth the try.
[Windows Mobile Development and Hacking General] gtxaspec:
Great work alex!

Question:

Anyway to verify the syntax of the provisioning XML files?

Any tools out there that can create these files or verify them? I think a tool like this would be great.

NEVERMIND! I just saw your reply in the reg2xml converter thread! THANKS!
[Windows Mobile Development and Hacking General] AlexVallat:
The_Steph: Thanks for your comments!

The idea with the path is that the name of the folder is used to control the name of the Storage Card on the device. So if you name your folder Storage Card, that's what goes in the SDConfig.txt. If, on your device, it has a different name (due to language changes, or whatever), then you need to rename the folder appropriately.

Thanks for the bug report about accented characters in RegToXml. I will fix that and post an updated version soon.

gtxaspec: I could verify that the files were valid XML, but the more useful check that they contain valid provisioning instructions is beyond the scope of this project. Not least because the documentation describing what are valid instructions is confusing and can be inaccurate. With anything other than the file and registry providers, it usually ends up being a case of trial and error. With the file and registry providers, using the auto-generation capabilities of SDConfigGen will avoid most surprises.

Alex
[Windows Mobile Development and Hacking General] AlexVallat:
Version 0.3 released

I've just updated the first post to release version 0.3. This should address the accented characters issue raised by The_Steph, however it does mean that if your registry file is UTF-8 encoded, it must include Byte Order Marks to indicate this. Otherwise, it will be assumed to be encoded in the system default code page.

I've also added a feature that files are now installed in alphabetical order (within each group). If you need to make sure that certain cabs are installed before others, this can now be done by renaming them, usually by including a numeric prefix.

Alex
[Windows Mobile Development and Hacking General] asango:
reg2xml bugs

Hi Alex,

Converting everything to xml and using standard provisioning is an interesting approach!

Only obviously reg2xml has got some problems still with .reg files containing certain characters:

I've attached you a sample file which is not converted correctly at three points, each with a different error cause.

- Comments (Lines beginning with ";") in the .reg files are sometimes (not in every case, could not see what the trigger is) leading to an aborted conversion.

- Some characters like the arrow character (ASCII 27/1BHex) are also a problem.

Maybe the attached file helps in finding the bug.

BTW: Do you also have a tool that is converting just the other way around: From XML to reg indstead of from reg to XML?

Sometimes I need to have a .reg file instead of an .XML. And importing the XML and then trying to find all registry entries to export it back to a .reg can be a very tedious thing when the imports are not all together in one registry branch.

Thanks!
[Windows Mobile Development and Hacking General] AlexVallat:
Thanks for the bug report, asango. Yes, I forgot about comments, I'll fix that and release an update soon. I'm looking into what the best way to handle control characters like 0x1B is (which is 'Escape', according to the ASCII chart I'm looking at). Obviously crashing is not an acceptable behaviour, so I'll have some sort of fix for it.

I don't have a XmlToReg tool, but it sounds like a good idea - I'll probably write one over the weekend.

Alex
[Windows Mobile Development and Hacking General] asango:
Great, looking forward to that, thank you!
[Windows Mobile Development and Hacking General] AlexVallat:
Version 0.4 released

The first post has been updated to version 0.4. RegToXml has been updated to add support for comments in .reg files.

Unfortunately there appears to be no way to include control characters in an XML file. If the character itself, or even the character entity (like &#x1B;), then the file is regarded as malformed and not accepted. I have therefore not been able to do anything to fix this (sorry asango!).

If anyone knows of a way that a provisioning file could be used to set a registry string value containing these characters, please let me know.

On a more positive note, the requested XmlToReg tool is up - I've given it its own thread here: XmlToReg.

Alex
[Windows Mobile Development and Hacking General] asango:
Yes, the comments are now handled corectly, perfect!

Some other thing is still an issue:

test.reg: Converting...

test.reg: Conversion failed. (Unexpected value format: dword) Skipping.

In this case the output file is not generated at all, seems that not only the value is skipped but this causes the whole file not being written.

This leads to another suggestion: Would it be possible to indicate the line number where a problem happened?

This would make it much easier to find the problem.

And regarding the non handled escape characters:

This also leads to aborting. Would it also be possible to just skip them and issue a warning but go on with the conversion and with writing the outout file for the rest of the entries?
[Windows Mobile Development and Hacking General] AlexVallat:
Now that is odd. "dword" is a perfectly valid value format, it shouldn't have produced that error. Any chance you could send me the .reg file that produced it?

Line numbers should be do-able, I'll add that to the next version.

The "skipping" message there referred to the "test.reg" at the start of the message, not to the dword value. I agree it looks misleading as it is currently worded though, I'll improve that.

About recovering from errors and skipping only invalid values rather than the whole file - this will be quite tricky. By the time I am notified of invalid characters by the XmlWriter, it has already given up in a sulk and can't be persuaded to continue writing any further. I'll need to do some sort of pre-vetting before passing data on to it. If I come up with any good ideas on how to do this, I'll include it in the next version.

Alex
[Windows Mobile Development and Hacking General] AlexVallat:
asango, here's a candidate RegToXml.0.5.0 - could you check if it is still reporting the "Unexpected value format: dword" error with your file? It now reports line numbers, which might help track down the problem. It should also be able to recover from an invalid value and skip just that value, although I'm not sure how well that is working yet.

Alex
[Windows Mobile Development and Hacking General] asango:
Hi Alex,

Great, the line numbers are making things much easier and this way I even found the reason for this error very easily:

Here's the point where it is failing:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]

"NITZEnable"= dword:00000001

...with this error message:

test.reg: Converting...

[Line 194] Error: Invalid value (Unexpected value format: dword)

Skipping: HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL\NITZEnable

Done.

As soon as I'm deleting the blank between the "=" and "dword" everything is ok.

Maybe you can allow blanks after the "=" in general?

This would solve this issue definitely

And yes, by the way the xml file is now generated despite of this error, very good!

Asango
[Windows Mobile Development and Hacking General] AlexVallat:
Hmm... I'm not sure whitespace is supposed to be allowed around the = sign. It doesn't make anything ambiguous though, so there's no good reason not to relax the matching. Try this 0.5.1 which allows whitespace around the = sign, hopefully that should now parse your file correctly.

Alex
[Windows Mobile Development and Hacking General] asango:
Yes, now I can see no other issues with the RegToXml tool, good work!

Also the whole cold boot import is ok with one exception:

Only the CopyFiles.xml which is generated by the SDConfigGen.exe is not copying all the files from the "Files" diectory during its execution.

Tried to import that xml manually with the xml option of Taskmgr and also got an error, but since the error is *very* uninformative and not showing the line number and my CopyFiles.xml is rather big I could not find the problem.

Could it be that the reason for the error is that if a file is already existing or read only that this will stop the rest of the import?
[Windows Mobile Development and Hacking General] The_Steph:
Second hands-on day with SDConfigGen and I have the same issue with v0.4. CopyFiles.xml is not executed at all. Probably a syntax error issue as stated by asango (I've done the same tests as him).

The_Steph
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Viper1000:
Hello,,

Please i need help.My device is K20 pro(Raphaelin) having miui global stabe version 10.3.3 and android version is 9..I have never updated any ota and rooted my phone....

Now i want to update my phone to android version 10. Can someone please give me the full tutorial with step by step procedure how can i update my ROOTED phone to android version 10 and root it again..I dont want to brick my phone..pls help...Pls provide me the safest method..Also pls give all the download links of the tools necessary in this tutorial....

Please dont ignore .. I really want to update it safely and root it again
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] 2VJ5:
If you're already rooted, then just flash the correct vendor from this thread according to your region. Then clean flash any android 10 based rom.

https://xdaforums.com/k20-pro/development/rom-lineageos-17-0-t3976469
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Viper1000:
please can u give all steps how to do it step by step...pls its a request
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] 2VJ5:
1.Go to recovery

2.Flash vendor file

3.Wipe Dalvik+Cache+System+Data (NOTE: do not wipe internal storage & vendor)

4.Flash new rom

5.Reboot to recovery

6.Flash Magisk

7.Reboot

8.Flash Disable Force Encryption (DFE) file if you get a recovery bootloop
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Viper1000:
Means with this method i can directly flash STOCK android 10 over my STOCK android 9 miui 10.3.3 ??

is this methos totally safe to flash stock rom..My recovery is TWRP

Reply bro
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Viper1000:
where are all the good people or devs....why is noone replying.....
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] 2VJ5:
You want to flash stock ROM? Use this guide..

https://xdaforums.com/k20-pro/how-to/tool-tool-one-driverstwrpfactory-t3952960
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Viper1000:
which one

which one should i flash bro for Stock android 10,

1. fastboot rom or recovery rom (currently i m on android 9 miui 10.3.3).

2. also pls give the stable rom download link.

3. also pls give steps how to flash because i m rooted,unlocked bootloader and TWRP installed and magisk installed ??

4. is it safe to flash higher version over lower version of android and miui ??
[Android Q&A, Help & Troubleshooting] HyDroXy21:
Hello, I'm new here and I'm looking for a solution to my problem which is the multitouch, it only detects 2 of my fingers. I reset my phone and update it, then this happen. Hoping for a solution ASAP. Thank you :o .
[Xiaomi Poco F1 Questions & Answers] magaedy:
Hello all,

Can any one please suggest for me best TWRP mod as the offical 3.3.0.0 has many bugs and freezes ?

Thanks in advance
[Xiaomi Poco F1 Questions & Answers] callmebutcher101:
I am using twrp 3.4.0 by reignz. It is unofficial but has no issues as far as I've used it. Other option would be pitchblack recovery. It is official and is based on twrp 3.4.0 source. Orangefox is also there but the latest one is unofficial as the official one has no maintainer now. And SHRP is also fine.
[Xiaomi Poco F1 Questions & Answers] magaedy:
I searched for links for these twrp versions but I couldn't find anything, Could you provide me pls with links ?
[Xiaomi Poco F1 Questions & Answers] callmebutcher101:
https://sourceforge.net/projects/pitchblack-twrp/files/beryllium/

MOD EDIT: Link Removed
[Xiaomi Poco F1 Questions & Answers] magaedy:
Thank you so much I tried pitchblack twrp and it's perfect without any bug
[Xiaomi Poco F1 Questions & Answers] GrippingSphere:
The pitchblack twrp is a zip file. Can you tell me how did you install it on your Poco F1. Thanks.

Thanks to 'callmebutcher101' for sharing the file.
[Xiaomi Poco F1 Questions & Answers] callmebutcher101:
Just flash it in your current recovery like any other flashable zip. Then reboot to recovery. Or you can find the .img file inside the zip. You can flash it via fastboot.
[Xiaomi Poco F1 Questions & Answers] GrippingSphere:
Thank you. I found there is an option 'Install Image' within TWRP, then select partition 'Recovery' where to install the file. This is the one I used to install the .img file.
[Moto G6 Questions & Answers] josno:
Hi, I have this problem: when I boot or reboot the phone it starts in recovery mode, and then I have to press start to actually boot the phone. It is the same when I reboot after an upload to next version, but of course it fails because it doesn't reboot but it goes to recovery mode. That's really tough, because android pie is making me crazy, it is full of bugs, slow and almost unusable. I have rooted the phone and flashed the stock firmware after unlocking bootloader. I don't know what to do, it really is impossible to use this version of Android pie. I don't know if I should re-flash everything, because I have a lot of data and it would be an enormous backup to do with the risk to be lost. Please I beg you help me for this also because I found other useful help on this forum so I am already thankful for all you're doing here. Cheers!
[Moto G6 Questions & Answers] Gluipertje:
You said you manually flashed the stock firmware? You can maybe try reflashing your boot partition with the stock one. :confused:
[Moto G6 Questions & Answers] sd_shadow:
What does the recovery look like?
[Moto G6 Questions & Answers] josno:
Maybe I missed something during the previous flash, but I can't find out
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] spicediablo:
Hi, this might sound silly but I found the camera pop up when there is incoming WhatsApp video call. Is there a way to disable this? I find it dangerous if I get an incoming call when the phone is in my pocket. Might damage the pop-up mechanism?

Sent from sagit
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] reliot:
Remove camera permissions maybe from whatsapp?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] spicediablo:
Yes I was thinking to automate this with Tasker. Managed to create task but have no way of automating it as I do not know how to write script to detect WhatsApp end call to trigger revoke of camera permission

Sent from F2 pro
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
mine is already broken, I didn't even use it 10 times since I got the phone. I live in UK but I bought it from Spain, Xiaomi won't fix it even if I pay. the link is the video showing the issue.

[youtube]kr2Sn2rT7Mg[/youtube]
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] wojasheck:
Do the calibration.

Wysłane z mojego POCO F2 Pro przy użyciu Tapatalka
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] shadow78:
That doesn't look good. Where did you buy it from. I also bought one form Spain but mine hasn't been delivered yet. Can you not send it back? This should be a manufacturing fault.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
we are beyond the calibration phase ? I bought it from powerplanetonline. I don't want to send it to Spain because the seller told me it would take around 2-3 month untill they have the parts ? I asked xiaomi UK to fix it and they told me to go away and next time to buy it from them, although on their website says that I can claim warranty anywhere in EU if it was bought from EU. I asked xiaomi UK to fix it with money they told me nope and recommend me to go to a local repair shop(not authorised repair because they don't have any in UK). the repair shop opened it and the pop up camera motor is fried, and there is no spare parts at the moment.

So this phone got me thinking about the fake nature of Xiaomi, like saying on their website I can claim warranty but on the email said fu*k off.

I still can't believe that a manufacturer refuses to fix even with money what is their fault to begin with. ?

that should be illegal.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] shadow78:
I totally agree with you. Xiaomi UK should provide you support as UK is still part of EU till the end of the year..

I used the same source but my shipping has been stuck. Can I ask how long did it take for you to get yours? Mine is now on a week stuck on in-transit but didn't get any closer. I already regret my decision buying from them. (sorry for the off topic)

What if you search for the motor online and try to order it from china? Aliexpress is a good source. I have seen on youtube its not hard to open and change the motor. On the other hand powerplanetonline has 2 years of warranty. Worst case I would use them.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
I had the same issue as you did. it took them 10 days to arrive, because of Nacex. beware on what date they're gonna say it was delivered. I got mine on june 1st but the courier said it was delivered on 29 May. that difference cost me the return period and I couldn't return it because when I noticed the issue 2 weeks passed from 29 May, but I could've return it if they said it was delivered on june 1st like it happened. Please cancel your order. if you'll need warranty you are screwed. I thought that if I buy it from Spain, xiaomi uk will fix it but no. If anything will happen with the phone you will be stuck as I am. The motor isn't available anywhere, I looked everywhere, it's similar with the k20 pro motor but with different contact points.

---------- Post added at 02:35 PM ---------- Previous post was at 02:21 PM ----------

I opened a warranty claim on powerplanet website and they said they can't fix it untill they get their parts. I was like whaaaat? it's warranty, I don't care. it's gonna take a long time if you use warranty from them. because they need to send it to xiaomi and then xiaomi will fix it or not if they have the parts and then send it back to powerplanet and then powerplanet will send it back to you. And you see how long it takes only to get an order directly from them, not to mention al this back and forth. I now voided the warranty anyway, opening the device to see what's wrong with it.

Another thing that you should keep in mind is, I think the storage or ram has some problems, like it always forgets settings, at system level, sometime I get an animation, next time I get another one, wallpapers, icons, dark mode, wifi passwords, background apps.

Not to mention that after the pop up camera issue, the phone starts to heat up like crazy, every component from CPU to battery is above 43c hot, from 10h of SoT now I get maximum 5h. I understand it's a defective unit and it may not affect everyone, but when you have problems with the phone and Xiaomi tells you they will not fix it even if you pay.. it's crazy

---------- Post added at 02:40 PM ---------- Previous post was at 02:35 PM ----------

One more thing: Xiaomi told me they can't fix it because it's not the european version. Powerplanet says it is the European version. I don't know who to believe at this point. ?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] maxpaynezm:
maybe you have only chinese device with global rom,thats problem. please link where you buy poco f2 pro
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] shadow78:
You can easily determinate what version it is. If the bootloader still locked you can check the firmware version. Here //c.mi.com/oc/miuidownload/detail?device=1900380 you can see what version the global or the eeu has and check what you have. (put https: infront of the link)

I dont think I can cancel my order. I will probably wait for now and see what happens but I may send it back right away its arrived and claim for refund. I have the mi 9t pro potentially with the same motor and working fine.

Even if I would buy one form ebay or amazon could end up with the same result. I have a few days to think about it I guess.

I ordered the 8gb version not sure what you get but potentially the Ram should be better then on the 6gb. What you describe is more like a firmware issue not hardware but its hard make statement as it has a faulty part, which may cause most of your problems.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
I have the EU rom on it. but they might have sideload it. imei checker from xiaomi website sais it's international version but I don't understand what that actually means, it might just mean that it's not china version . Anyway xiaomi doesn't want to deal with it anyway.

I applied for unlocking the bootloader so I can install the global rom maybe this is what causes the issues, being an international version but with a EU rom, I don't know, I'll update you once I'll unlock the bootloader
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] shadow78:
Was the box open? If not I don't think they loaded a different firmware. Shame to Xiaomi for the lack of support. You can try to flash the global rom on it once the BL unlocked. I have the global mi9t pro and flashed the eea rom on it and was able to lock the BL after. Normally if you flash a different region firmware on a device and try to lock the BL would cause brick. Not sure if this would be the same with the poco.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
the box was sealed in that plastic thing, I don't remember if it had a warranty sticker between the box and the lid.

If they didn't sideload it it means that Xiaomi is lying through their teeth.

Anyway I think xiaomi might refer to the fact that if you buy it from them you can claim warranty anywhere in EU, I don't know.

The thing is I'm not even mad about the camera anymore, I wasn't using it anyway, but what drives me crazy is the heating issue ? I'm typing here only with xda app opened and it hot like crazy.

sometimes when I disable and enable MIUI optimisation in developer options it cools itself. but I think it forgets after a half an hour and start to heat up again ???
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] raycon:
I checked to see where is from, check this out: ???

I checked the imei and it says:

Sales region: Cambodia

Activation country: China

Nice one, so they did side load the EU rom, and that's why xiaomi refuses to fix it