yashsingh1/xdaforums huggingface dataset:
[Realme X2 Pro Questions & Answers] Triumphal95:
Hi guys,

Sorry for my bad English (I'm French ?)

I have a X2 pro RMX1931EX hard bricked.

I wanted relock my bootloader because my fingerprint doesn't work.

And now, I don't have fastboot access, edl only.

How I can flash any room, Msmdownload doesn't work, I don't have an authorized account.

I need your help guys please. ??

Thks in advance
[Realme X2 Pro Questions & Answers] Arcide:
Bro there are already 5 other brick threads all on top of this forum, why did you need to open another one?
[Realme X2 Pro Questions & Answers] Triumphal95:
Because I have not found any solution..
[Realme X2 Pro Questions & Answers] overcustom:
No solutions... Just change phone
[Realme X2 Pro Questions & Answers] Basrawi96:
There are ofp firmwares for bricked realme phones

You can flash them using realme flash tool
[Realme X2 Pro Questions & Answers] Designguru:
If you can provide a link, that will be great. I haven't been able to find such a tool for the x2 pro
[Realme X2 Pro Questions & Answers] Basrawi96:
This is the firmware (android 9)

https://www.firmware27.info/2020/01/realme-x2-pro-rmx1931-firmware.html?m=1

And this is realme flash tool

https://download.c.realme.com/flash/Flash_tool/realme_Flash_Tool_V2.zip

I hope it will work I didn't try it though
[Realme X2 Pro Questions & Answers] Designguru:
It does not work. Thanks anyway
[Realme X2 Pro Questions & Answers] pswalia:
Use realme flash tool. https://c.realme.com/in/post-details/1278649018305478656
[Realme X2 Pro Questions & Answers] manrock111:
lol this is what I have been told but after 3 days of extensive research i solve my problem with real customer center. They flash my device with 15 min.
[Realme X2 Pro Questions & Answers] taksist386:
Привет ! Может кто-нибудь помочь мне? Мое тело realme 6 pro хотел прошить рекавери, но получил вот такой результат. Загрузчик разблокирован. При калибровке + и вкл. кто видит его как 9008

Mod Edit: English Translation Below

Hello ! Can anyone help me? My body realme 6 pro wanted to flash the recovery, but I got this result. The bootloader is unlocked. When calibrating + and on. who sees it as 9008
[Realme X2 Pro Questions & Answers] mark332:
solved here you go https://xdaforums.com/t/guide-how-to-flash-hard-bricked-realme-x2-pro.4491301/post-87420305
[Samsung Galaxy J6 Questions & Answers] santebien:
J6OOG updated to the last version (android 10)

stucks in boot after flashing TWRP and MAGISK

Is there a way to root it. . . .

NB: Iwas on PIE(9) ..and rooted by magisk. .

THANK's. . .
[Samsung Galaxy J6 Questions & Answers] santebien:
after a week of googling I finally found a tutorial on how to root another galaxy on android 10.

I tried this method on my J6 and it works.

today i will share it with you ....

but know that .....

- I am not a developer ...

- this method worked for me .. it might not for you ..

- I could not be responsible for probable damage ...

- you can always wait for an official method ...

- if you want to try it then ...... I guess you know what :

a root..bootloader..USB debugging…OEM unlock…drivers…odin..magisk..7zip ... data loss ... warranty .. and ....

I tried this method on my J600G/DS…i don’t know if it works on other variants…

1) download your latest firmware…mine is XME-J600GDXU6CTCA

2) extract it in a folder on your PC

3) check that you have enough space on your phone (+ 7GO free)

3) copy the AP file from the folder to your phone…internal or SDCard (use a USB flash disk)… cable transfer can corrupt data…

4 )Install Latest Magisk Manager and open it

5) « magisk is not installed »…tap on.. « install »..and « install » in next window…and allow…

6) navigate to your AP file and select it and wait until the process completes..

7) go to Download folder and copy “magisk_patched.tar” to your PC ..folder where firmware was extracted…

8) connect phone to PC and enter Download mode..

9) with Odin flash the 4 files..BL..CP..CSC..and in AP select “ magisk_patched.tar” file..

10) when done and system boot finished..configure your device…

11) install magisk manager again..and open it…it will say “Requires additional setup”

12) tap “OK”..wait..the device will reboot..

YOU ARE ROOTED

**download and install Busybox from Magisk..

**TitaniumBackup will crash…download “Tbcrash fixer” from “ mobilism forum ”

**download and install “debloater” module from Magisk…install “Terminal Emulator” to debloat your device…

( SU..enter…..debloat..enter )

**don’t try to install a custom recovery..device will stuck at boot..

GOOD LUCK
[Samsung Galaxy J6 Questions & Answers] bombername:
Did you patch the file with the same device which you used it or two different devices?

Well, i got it and it works.

Uses the magisk_patched.tar from the same device which i wanted to root.

And with a clean odin installation that should work.
[Samsung Galaxy J6 Questions & Answers] santebien:
AP file patched with the same device....

four files flashed with Odin....

For information are you rooted now ?....
[Samsung Galaxy J6 Questions & Answers] bombername:
Yes, I have root now.
[Samsung Galaxy J6 Questions & Answers] santebien:
Glad to know that . . .
[Samsung Galaxy J6 Questions & Answers] Bl4zzer:
it worked bro very thanks.
[Samsung Galaxy J6 Questions & Answers] Hastoma:
I rooted my device too but only boot.tar used....

Not all AP files...

But I had a problem ... is that I cannot delete system files using link2sd or any other application .... I don't know what the problem is .... if the problem doesn't with you ... please let us know ?
[Samsung Galaxy J6 Questions & Answers] |Lukki|:
THANKS

Thanks bro, you really help me!
[Samsung Galaxy J6 Questions & Answers] josephpatrick:
Does this mean that I will never be able to use twrp recovery...is there no other way to use twrp recovery
[Samsung Galaxy J6 Questions & Answers] Jimmy Glex:
THANKS MAN FINALLY same here 1 month searching finally doing this method works and i guess shold work for every device, just look for your exact rom firmware. and do the same procedure thought Odin paste the AP COPIED FROM MAGISTIK AND YOU ARE ROOTED its workin on Model SAMSUNG j600G PERFECTLY , ANY HELP IM HERE TO HELP
[Samsung Galaxy J6 Questions & Answers] Jimmy Glex:
YES THERE IS A WAY . I HAVE TWRP , MAGISK AND A CUSTOME ROM ANDROID 9 I FOUND HERE WITH AWESOME KERNEL AND OFFICIAL PIE 9 , IM HERE TO HELP
[Touch Dual, MDA Touch Plus ROM Development] l17ang:
Who can upload a original rom of Hongkong for Touch Dual??I want to flash it!!!:(Thx
[Touch Dual, MDA Touch Plus ROM Development] Tim4:
http://www.htc.com/hk-tc/
[Touch Dual, MDA Touch Plus ROM Development] l17ang:
where

where??where can i download____
[Touch Dual, MDA Touch Plus ROM Development] Tim4:
I can't speak kantonise...

http://www.asia.htc.com/HTC_HKTC/member/Login.aspx

1) Register (You phone IMEI is required)

2) Login

3) Download original ROM

I can give you, but my language is simple chinese
[Touch Dual, MDA Touch Plus ROM Development] l17ang:
thx u first

Can u give me the link of your rom?

and is it original? is it support 20 keys touch dual?
[Touch Dual, MDA Touch Plus ROM Development] Tim4:
My phone is 16keyboard version... i don't know about compability between 16kb and 20kb :)

You can download rom you needed HERE:

http://www.asia.htc.com/HTC_HKTC/member/Login.aspx

Just register and download it
[Touch Dual, MDA Touch Plus ROM Development] l17ang:
I have buy it in Italy

I can't register at the web of hongkong...and I did not find the download link at the web of the rom...
[Touch Dual, MDA Touch Plus ROM Development] tommy_wyu:
I shareed link to you, fyi...

BBS: http://www.5dpda.com/bbs/viewthread.php?tid=12073&extra=page=1

ROM: http://www.fs2you.com/files/bfdbf402-3955-11dd-91dc-00142218fc6e/
[Android Q&A, Help & Troubleshooting] giornistrani:
Hi guys I would have (not me directly but a friend) a problem that has been literally driving me crazy for 3 days.

A friend gave me the indicated tablet asking me to do a miracle but basically I'm not God. The tablet in question is literally dead. Installed all the drivers, I started RKtool and it is not recognized, even the pc does not give the slightest signal of recognition of a connected device. It doesn't go into download mode, it doesn't go into recovery, it doesn't turn on. I left him in charge all night and nothing at all, shows no signs of life. The red LED while it is charging is there, pressing the reset button vibrates timidly once and then stops ... dead! Anyone have any idea what could have happened? Could anyone help me short-circuit it? I need to know which pins are right. Thanks
[Android Q&A, Help & Troubleshooting] giornistrani:
This is motherboard
[Huawei P40 Pro Questions & Answers] Noexcusses:
Looking for a solution or a Nova companion working for P40 pro... I'm all ready using Nova launcher.. Any ideas? Thanks
[Nexus 7 (2013) General] prorokrak:
Hi, thank you very much for this useful tool.

I wonder whether your script could be updated to support dirty flash also. Now it seems to always make a clean flash. But it is not very convenient to set up the device after each security update.

I am not very experienced in making batch files but I was thinking about adjusting your script like follows. From:

:adbd
ping -n 3 127.0.0.1 >nul
set /p =*<nul
adb devices >tmp0 2>&1
find /i "recovery" tmp0 >nul
if not %errorlevel% == 0 goto adbd
[COLOR="Red"]echo.

echo Installing...
call:wait 5
adb shell twrp wipe /data[/COLOR]
adb shell twrp wipe /system
adb shell twrp wipe dalvik
adb shell twrp wipe cache
call:wait 3
adb push -p %LNZN% /sdcard/
call:wait 3
echo Wait...
adb shell twrp install /sdcard/%LNZN%

To:

:adbd
ping -n 3 127.0.0.1 >nul
set /p =*<nul
adb devices >tmp0 2>&1
find /i "recovery" tmp0 >nul
if not %errorlevel% == 0 goto adbd
[COLOR="red"]echo.

set /p FLASHTYPE=Do you want to make clean flash or dirty flash? Clean flash will erase all data (except the files in the internal storage) [clean/dirty]: || set FLASHTYPE=null

echo Installing...
call:wait 5

if /i %FLASHTYPE%==dirty (
echo Skipping wiping data...
echo Performing dirty flash...
goto dirty)

if /i %FLASHTYPE%==clean (
adb shell twrp wipe /data
)
:dirty[/COLOR]
adb shell twrp wipe /system
adb shell twrp wipe dalvik
adb shell twrp wipe cache
call:wait 3
adb push -p %LNZN% /sdcard/
call:wait 3
echo Wait...
adb shell twrp install /sdcard/%LNZN%

Any comment on this? Would this worked correctly?
[Nexus 7 (2013) General] k23m:
Thanks for the suggestion. This code can be abbreviated, same as the other optional items:

set /p ANS=Do dirty flash? (no if unsure) [y/n]: || set ANS=n
if /i !ANS!==n (
adb shell twrp wipe /data
)

I added it to the v1.2 update.
[Nexus 7 (2013) General] maamdroid:
I just gave this script a try. This is quite slick and saves a bunch of time! Thanks for this. :good:
[Nexus 7 (2013) General] k23m:
CROSS 2 release

CROSS version 2.0

- new log script

- new fstrim script

- updated components' URLs

- removed LOS microG as it is no longer available

Both LineageOS 14.1 and LineageOS 17.1 install flawlessly. There may be temporary download issues. If so, retry later. LOS17 server errors...

Resolving lineageos.wickenberg.nu... 83.209.185.118
Connecting to lineageos.wickenberg.nu|83.209.185.118|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2020-10-11 10:13:40 ERROR 500: Internal Server Error.

:highfive:
[Nexus 7 (2013) General] jelles01:
Hello I came here from my topic where you suggested me using this. When I fire up lineage-installer2.bat, it can't connect to the server. It asks if I want to use a local file, which I answered yes to. When i gave the name of the file ( "lineage-17.1-20201007-UNOFFICIAL-flo.zip" which I placed inside the CROSS folder, it gave me an error and exited.. What's the deal there?
[Nexus 7 (2013) General] k23m:
Hi again, first copy eg "lineage-17.1-20201009-UNOFFICIAL-flo.zip" to "CROSS\data" folder, then answer [y] to the question...

Nexus 7'13 LineageOS 17.1 Install v2.0 @2020 k23m
SUPPORT - http://bit.ly/2C35sLZ
This script assumes that USB drivers are already installed.
If not, then run RESTOCK first or install them manually.
Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: flo
Use local ROM file? (no if unsure) [y/n]: y
Found local file: lineage-17.1-20201009-UNOFFICIAL-flo.zip

As you can see it is found automatically without entering a file name. If nothing is found, you could type any file name but the file must be located in the data folder.
[Nexus 7 (2013) General] jelles01:
It has worked! The install and setup was buttery smooth, thank you so much for this tool. Amazing!
[Nexus 7 (2013) General] GeekyTanuj:
A little help.

I am about to receive my refurbished unit in a couple of days. chances are that it will likely be on the last stock software. I have a general knowledge about rooting and installing custom ROMs on a variety of devices but nexus 7 seems different to work it. Will this script automatically root and install the TWRP apart from the designated flavor of lineageOS?

Also, will I need to go through the prerequisites (i.e. RESTOCK) procedures even if I am on stock ROM and partition by default? Will I need to repartition every time when switching ROMs after this? Can the CROSS be used again if i had to switch from say LOS 17.1 to 14.1?

Thanks in advance!:highfive:
[Nexus 7 (2013) General] k23m:
Refurbished N7s usually come with old KitKat stock and it is advisable to run RESTOCK first to update the bootloader before flashing LineageOS. Also RESTOCK will unlock it and install N7 USB drivers on your Windows.

Yes, CROSS can be used multiple times, and will root and install TWRP. Repartition is required only once.

Pro tip: for LineageOS updates answer [y] to the "Do dirty flash?" question to retain your OS settings and apps. But being "dirty", it may not work properly after major OS changes.

Should there be LOS17 server download issues, get lineage-17.1-20201017-UNOFFICIAL-flo.zip from an alternative server and drop it into CROSS' data folder as described in this post.

Cheers

:highfive:
[Nexus 7 (2013) General] GeekyTanuj:
You are a lifesaver!

Thank you so much for developing this, RESTOCK as well as stock MM debloat script. it literally saved hours and hours of hassle that one has to face while getting to different versions of android! Running 10 with latest updates. feels so good!
[Nexus 7 (2013) General] GeekyTanuj:
kernel Configuration.

While Android 10 seems tempting and it actually is, it isn't just offering the kind of experience I am looking for and hinders my daily experience in one or the other way.

Looks like you might be using LOS 14.1 with the ElementalX kernel. Can you recommend the best settings for video playbacks and light gaming? Please share your configuration as well.

Thanks and cheers!:highfive:
[Nexus 7 (2013) General] k23m:
For video and games LOS17 seems optimal, check these benchmarks.

Personally I use LOS14

without Gapps

and with EX kernel including a modification to the battery life extender. I lowered max battery charge to 4.00V which is equivalent to 75% (under)charge resulting in 8x increase of battery life. Furthermore, the mod allows for constant external power connection and no battery overcharging nor overheating/swelling. I edited "buildconfig.sh" in EX zip:

replace
echo "write /sys/devices/i2c-0/0-006a/float_voltage 4200" >> $CONFIGFILE
with
echo "write /sys/devices/i2c-0/0-006a/float_voltage 4000" >> $CONFIGFILE

:good:
[Nexus 7 (2013) General] iforget:
You gave my Nexus 7 (2013) a new lease on life! Woo-hoo!

I was running a years-old version of the vanilla stock FW and it was soooo slow. Somebody in some comment section somewhere mentioned RESTOCK & CROSS, so I tried out RESTOCK2 and it worked flawlessly.

Then I tried installing 17.1 via CROSS2 without repartitioning (as I believed RESTOCK did that). I got an error that I did not save, hoping it wasn't a big deal. I got stuck on the Google loading screen, so I ran CROSS again. I was going to try 14.1, but wasn't given the option again (bonus? 17.1 looks beautiful and it didn't make me redownload anything, which was smart coding on your part).

I think I should have run the logging programs when I first saw errors, because I'm afraid they were cleared by the reinstallation. I did send what I could after running the loggers post-successful installation, just in case.

Now, 17.1 is working so smoothly with a quick Netflix sideload (no GApps here, used APKMirror + the APKMirror Installer) - which certainly is only working thanks to Magisk. How long did it take me to figure out how to put app icons on the homescreen (swipe up, of course!) I don't think I want to reveal :)

I think the only thing I'm missing is DoubleTap2Wake which I installed with RESTOCK but see now it wasn't an option with 17.1 via CROSS. Apparently somebody has it goin' on LOS17.1 or 18 but this was so easy, not sure I want to try messing with a custom kernel just yet until I get a little bored.

Thank you so much--it's unbelievable there aren't 8 million comments on this thread, it's SO well done. If you made this for a modern/uber-popular tablet surely there would be though. Thank you thank you thank you!
[Nexus 7 (2013) General] ipdev:
If the Lineage build is using followmsi's sources, then you do not need to change kernels.

You just need to activate DT2W.

See this post on how to activate using a kernel manager.

The thread with the ever changing name. xda thread - Link

If you want something simple, I use a magisk module that enables it on boot.

DT2W GitHub - Link

Cheers. 🤠

PS.

Sorry for a bit of OT.

PPS.

The Lineage 17.1 build is using followmsi's sources.
[Nexus 7 (2013) General] gibnexus:
hi

I have issue with otg on my N7, i used cross2 without problems : i installed twrp, lineageos 14, root the nexus and installed elementalx and googleapp

my usb otg cable with a usb key is never detected , i can mount the usbstick with twrp (sometime i can see it sometime not in twrp) but after few minutes it diseppear

someone can help me ?

it's a kernel issue?

any app works

thx
[Nexus 7 (2013) General] k23m:
LOS14+EX kernel OTG is OK. Use the built-in file manager.

There could be a hardware issue - pin #4 may have a dry joint and work intermittently.
[Nexus 7 (2013) General] gibnexus:
Hi man 🤟

thanks for your answer 👍 but it’s not a pin 4 issues , I have just changed the daughter board, and this evening I used restock2 , I restocked, install twrp, used the fix 30 and root but don’t install elementalx

I used the app usb otg helper and everything is ok

I can see my usb stick..

Help me please .. 🙏 I like s2w and 2tw to turn on my screen

I would have the both otg and gesture to awake and used a better android system like lineageos 😁

Thx
[Nexus 7 (2013) General] gibnexus:
Hi

I begin to believe it’s my otg cable who has some trouble

I will buy a new one and see ...

Just a last question elementalx and los 14 support otg without nothing else ? ( no app or addons ? )

So thx to you for your work 🙏🙏 my old nexus was sleeping in a corner and now it’s relive

Thx for all 🤟
[Nexus 7 (2013) General] k23m:
I can assure you that straight LOS14+EX OTG works fine.

You must have enabled the "USB OTG + charge mode" option which is meant for car use or externally powered OTG devices. It is NOT NEEDED for normal, N7-powered OTG storage.
[Nexus 7 (2013) General] Spudsicles:
I screwed around ALL DAY YESTERDAY manually trying to do what your program did AUTOMATICALLY in less than 30 minutes...

I appreciate people like you who make my life easier! (y)(y)(y)
[Nexus 7 (2013) General] Grassred:
Hi. I started to install lineageOS to my Nexus 7 with this script. Actually I installed restock script ok and now my device is unlocked. But when running lineage-install-2-flox.bat I get errors from "wget" and "grep". I managed to get past those errors if I manually entered lineage-17.1-20210112-UNOFFICIAL-flo.zip. But then when I rebooted to bootloader the script does not recognize device... I have enabled usb debugging and it seems that adb finds device ok. Any ideas?

NOTE: deb/LTE is not available yet
Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: flo

Use local ROM file? (no if unsure) [y/n]: y
'grep' is not recognized as an internal or external command,
operable program or batch file.
Found local file:
No local file found.
Enter name of ROM file to install: lineage-17.1-20210112-UNOFFICIAL-flo.zip

Use local TWRP file? (no if unsure) [y/n]: y
'grep' is not recognized as an internal or external command,
operable program or batch file.
Found local file:
No local file found.
Enter name of TWRP file to install: twrp-3.4.0-0-flox.img

Press any key to continue . . .

Device not found...
1. disconnect it from PC
2. reboot to bootloader again
3. reconnect it to PC
Press any key to continue . . .
[Nexus 7 (2013) General] k23m:
Yes, please reboot your Windows and try again. If still problematic, "Run getlog.bat and include "getlog.log" in your post."

As for " I managed to get past those errors if I manually entered lineage-17.1-20210112-UNOFFICIAL-flo.zip. But then when I rebooted to bootloader the script does not recognize device... " - the UNOFFICIAL will not work with flox script. For UNOFFICIAL simply run

lineage-install-2.bat

and do not use flox-twrp.

EDIT

Wait, where did you copy the script?

"Download

CROSS2.zip

and unzip it then download

cross-update-v2.1.zip

and unzip it to the CROSS folder, overwrite existing files."​

If I run

lineage-install-2-flox.bat

from any random folder I do get the same errors you reported!
[Nexus 7 (2013) General] idCyber:
Thank you so much for this script !

Just used on my flo the lineage-install-2-flox.bat successfully.

Had to use Restock script to restore original partitions because the sysrepart I had on unofficial build was not working to sysrepart-flox on Official Lineage by ud4.
[Nexus 7 (2013) General] Arthur4ik:
its normal, that the v2.1 flox script doesn't download the latest magisk (v21.4)? instead it downloaded Magisk-v21.1.zip

set TWDL=https://xdaforums.com/attachments/twrp-3-4-0-0-flox-img.5173245

set TWRP=twrp-3.4.0-0-flox.img

ok TWRP 3.4 is outdated too
[Nexus 7 (2013) General] cedge:
Thank you for this, I screwed up trying to repartition to 1.5gb so ran the restock script followed by the Cross v2.2 flox script and it all seems to be back working.
[Nexus 7 (2013) General] zosX:
The 18.1 installation works well from a N7 that has been returned to original stock configuration. Restock->Cross worked fine. The opengapps you are downloading comes up as invalid or corrupt. I found it and applied it myself. Not a big deal, but I thought you should be aware that its broken in that regard. The rest is a snap. Thanks.
[Nexus 7 (2013) General] k23m:
Thank you for your feedback. I updated the GApps' URL in v2.4
[Nexus 7 (2013) General] arkady789:
Thank you for the great script, CROSS2 - worked perfect! What a help!
[Nexus 7 (2013) General] ZoltanG:
CROSS is amazing!!! I used first Restock as I already repartitioned my tablet two times and it was a bit confused and messed up. That went very easy and gave a beautiful clean stock install. After that I used CROSS and it was a breeze to install LOS 18.1

THANKS VERY MUCH for these great tools!
[Nexus 7 (2013) General] balesteros:
This certainly looks promising! Unfortunately AVG broke installation for the wget prompt because it suspected a virus infection and quarantined the files. Of course I downloaded them again and I removed AVG. But still when running the script i get the following message: "wget is not recognized as an internal or external command". I even added the GNUwin32 BIN folder to the windows path. Any suggestions on how to get the wget command working?

I also tried to run a restock but it failed, maybe caused by the same problem?