(how-to unbrick your realme device) fastboot needed fix inside. - Realme X2 Pro Guides, News, & Discussion

I Went totally nuts last night when i bricked my phone so i did figure out my self how to unblock the phone.
First you need to BE ABLE TO ENTER FASTBOOT it won't work without it and you need working TWRP.
First you need to go to TWRP and go to mount and unmount everything and disable MTP.
Then go to Advanced and select Terminal
type in LS make sure there is 2 Folders one called system and one called system_root
make sure that the system folder is empty if empty type in rm -r system
and rename the system_root folder to system using mv system_root system
after that boot into Fastboot mode and Flash your Rom for your Device using the Fastboot Tool
Hope that works for you guys.

The real mistake is when your device brick with locked bootloader, all the other cases are solvable.

HTCDevil said:
The real mistake is when your device brick with locked bootloader, all the other cases are solvable.
Click to expand...
Click to collapse
Yep once you lock you doomed
Funny is my bootloader still unlock and my fingerprint works fine on the stock rom
Sent from my RMX1931 using Tapatalk

natedogg20050 said:
Yep once you lock you doomed
Funny is my bootloader still unlock and my fingerprint works fine on the stock rom
Click to expand...
Click to collapse
That's interesting, i thought it works only if you relock bootloader and then update fw

HTCDevil said:
That's interesting, i thought it works only if you relock bootloader and then update fw
Click to expand...
Click to collapse
Worked perfectly fine even on the old 0.8 firmware
Sent from my RMX1931 using Tapatalk

natedogg20050 said:
...
Click to expand...
Click to collapse
THREAD CLOSED! There has been already created a thread by you where you could have continued to share your experiences, and to which I've copid the above posts.
https://forum.xda-developers.com/realme-x2-pro/help/bricked-realme-x2-pro-twrp-fastboot-t4038999
XDA Forum Rules (excerpt):
...
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
...
Click to expand...
Click to collapse

Related

Decryption..

Since im new to the whole scene, I had a bit of a problem and got my Tab bricked, and im I was reading online for solutions and found something about just restoring my Galaxy with the latest update, and i came to this website and found the latest rom in this thread http://forum.xda-developers.com/showthread.php?t=889165
now i'm having a bit of a problem decrypting the firmware itself. In the thread it says
To decrypt them, use the decoder tool attached to this post and the decrypt code below.
(usage, unzip Decoder.zip into a folder with the .enc file, goto DOS prompt, run as DecoderTest.exe yourfilehere.zip.enc 1234567)
Click to expand...
Click to collapse
can someone give me details on how to do it?
as you noticed, im kinda new to this whole thing. Thanks.
bump......
Megazzam said:
bump......
Click to expand...
Click to collapse
New to reading?
All you need is in this thread, including link to the decoder, the code and the command line on how to run the decoder and the Odin flasher programs. So what else do you need?
But it is probably for the better, if you managed to decode the ROM you would probably flash it with PBL and SBL.

Official Ubuntu Touch for Galaxy Tab 10.1 is here!

I've been following the progress on official Ubuntu Touch port to Galaxy Tab 10.1 for a while and today they have updated the wiki for a dedicated session and early build install instructions.
This is an early build, some things work, some things are unknown and wifi is work in progress.
Installation
1. Download the ubuntu preinstalled and the p4wifi specific cyanogenmod image from the unlock instruction section below.
2. Put both zip files onto your sdcard
3. Enter recovery mode and do a wipe data/factory reset
4. Flash in this order:
First the cyanogenmod image (e.g. cm-10.1-20130325-UNOFFICIAL-p4wifi.zip)
Then the ubuntu image (this may take a while)
5. reboot
fix screen pixel ratio (this will become obsolete once the config file is included by default):
1. download p4wifi.conf: http://ubuntuone.com/688wubidavYnvfKvBWV7cY
2. copy p4wifi.conf into /etc/ubuntu-session.d/
3. reboot
Unlocking instructions
link to images
1. Ubuntu stuff:
Current: http://cdimage.ubuntu.com/ubuntu-to...urrent/quantal-preinstalled-phablet-armhf.zip
2. CyanogenMod image:
Current: http://ubuntuone.com/6V0ZxZ8cqB2AGcF8nImrDV
*Note: I am not involved with the development and I do not own this project, for more details please go to the link below.
https://wiki.ubuntu.com/Touch/Devices/p4wifi
Thanks, friend! I'm gonna test it soon :good:
AW: Official Ubuntu Touch for Galaxy Tab 10.1 is here!
I tried it. Installation worked fine and the first start (reboot after install) also went fine. Can't test more things than boot up right now - no time so far. I'll have a look this evening.
But why are there already users exsisting an how do i log in?
Sent from my One S using xda app-developers app
They say it's a test-only version and you can only log in to guest account...
and if you read the ubuntu-part file's name it is "quantal-PREINSTALLED", which means it is an installed image of Ubuntu that was tested on some previous devices by Ubuntu devs...
it's my thought, though...
AW: Official Ubuntu Touch for Galaxy Tab 10.1 is here!
Yes. It's a tech demo. But it already looks nice. I hope development goes on quickly.
Sent from my One S using xda app-developers app
customromfan said:
Yes. It's a tech demo. But it already looks nice. I hope development goes on quickly.
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
I'm testing this now, but I cannot find /etc/ubuntu-session.d/
Wifi not working after returning image back to Cyanogenmod
I followed your instructions and got Ubuntu touch working. After playing around with it for a while I decided to go back to my Cyanogenmod rom. For some reason now I cannot turn on the wifi. It is the same image that was working before. Can you offer some advice or assistance?
Thanks
Can someone make a video of this running? I want to do it myself but can't find the 10.1's charger
GazaIan said:
Can someone make a video of this running?
Click to expand...
Click to collapse
I've installed it with no problems, just followed the instructions in the first post...
I'm now attempting to get screen pixel ratio fixed and wifi running, and then will upload a video to youtube (probably in the next few hours)
Sorry, but I just can't find etc\ubuntu-session.d\ and can't make a persistent local directory in /data/ ...
If anyone can help me with these problems, please tell me...
(I chmodded the userinit.sh file for wifi and tried to fix the screen pixel ratio, but couldn't find or create the directories to put them)...
I'll upload a video anyway...
Dingles666 said:
I followed your instructions and got Ubuntu touch working. After playing around with it for a while I decided to go back to my Cyanogenmod rom. For some reason now I cannot turn on the wifi. It is the same image that was working before. Can you offer some advice or assistance?
Thanks
Click to expand...
Click to collapse
Not sure why you're having this problem. Maybe try format everything before flashing back or use a nand backup if you have one?
I think we must put the p4wifi.conf into ubuntu-session.d folder in the quantal before we install the image, right?
The proof I can provide is that there are folders named ubuntu-session.d and data in the quantal, but they're extracted to somewhere else during installation...
Video coming soon...
arashtarafar said:
Sorry, but I just can't find etc\ubuntu-session.d\ and can't make a persistent local directory in /data/ ...
If anyone can help me with these problems, please tell me...
(I chmodded the userinit.sh file for wifi and tried to fix the screen pixel ratio, but couldn't find or create the directories to put them)...
I'll upload a video anyway...
Click to expand...
Click to collapse
My memory is a bit vague on this, but I think it's in the /ubuntu folder, as well as the rest of the filesystem. It confused the hell out of me when I had it on my Sensation, it seemed like there was an entire filesystem at the root of the storage, then another inside /ubuntu where everything seemed to be.
You could use the search in Nautilus to find it as well, just make sure it's searching all subdirectories
I had a problem adding the p4wifi.conf file to /etc/ubuntu-session.d/ folder. This is how I solved it.
My problem basically was that when using adb shell to access the device I was inside the android system. And you need to get inside the ubuntu-system.
My way to get shell access to the ubuntu-system was the following:
>adb root
>adb shell
You should now see something similar to [email protected]:/ #
Then enter:
>ubuntu_chroot shell
You should now see something similar to [email protected]:/#
You are now in the ubuntu-system.
to get the p4wifi.conf file into /etc/ubuntu-session.d I did the following:
>cd /etc/ubuntu-session.d
>echo -e "GRID_UNIT_PX=10\nQTWEBKIT_DPR=2.0\nFORM_FACTOR=\"tablet\"" | sudo tee p4wifi.conf
For some reason there is a space between " and tablet. This space should be removed! It seems as if the forum adds it when rendering my post.
Now for the changes to take effect you will need to reboot your device. You can do that by writing the following
>reboot
I hope this helped someone that just as me struggled to get the pixel-ratio fix applied to the system.
Thanks, my friend.
I'm gonna try this and then will upload a video...
if we can find the way to fix WiFi according to this post:
http://forum.xda-developers.com/showpost.php?p=38988110&postcount=44
it will be awesome!
thanks again
arashtarafar said:
Thanks, my friend.
I'm gonna try this and then will upload a video...
if we can find the way to fix WiFi according to this post:
http://forum.xda-developers.com/showpost.php?p=38988110&postcount=44
it will be awesome!
thanks again
Click to expand...
Click to collapse
Yeah I read about this post too, I'm a bit busy this week but maybe I'll try it out this weekend.
I finally fixed screen pixel ratio by flashing the .zip package linked in post 15 in this thread ... simply adb push it and flash using CWM (ubuntu won't erase CWM after being flashed)...
I'm now going to fix WiFi to upload a video that's worth seeing ...
arashtarafar said:
Thanks, my friend.
I'm gonna try this and then will upload a video...
if we can find the way to fix WiFi according to this post:
http://forum.xda-developers.com/showpost.php?p=38988110&postcount=44
it will be awesome!
thanks again
Click to expand...
Click to collapse
I have tried this but no success Please share if anyone solves the wifi-issue.
---------- Post added at 03:38 PM ---------- Previous post was at 03:33 PM ----------
Does iwlist work for anyone? For me it dosen't even recognise the command.
does 3G work on this?
3G doesn't work yet, but I'm testing the OS on my galaxy tab 3G
yeah, I too have tried putting userinit.sh file in /data/loca/ with no success... but note that you must put the file using ubuntu_chroot shell... did you try that?
maybe we can put the commands in afterflash-p4.zip and then flash it, like the way we solved the screen pixel ratio issue...
inform us if this method worked for you

[WIP] [DEV] Any dev know where BT config is stored within i9505G?

Trying to fix my Bluetooth issue, as chronicled in detail here.
Wanted to ask you devs where Bluetooth configuration or a related error log is stored on the i9505G so I can take a look at it; something is stopping my BT from being able to turn on; it used to work fine pre-root (heck, even post-root for a day or so).
I figured the developers would be the best people to ask since you'd be familiar with the folder structure and config files.
KrossX said:
Trying to fix my Bluetooth issue, as chronicled in detail here.
Wanted to ask you devs where Bluetooth configuration or a related error log is stored on the i9505G so I can take a look at it; something is stopping my BT from being able to turn on; it used to work fine pre-root (heck, even post-root for a day or so).
I figured the developers would be the best people to ask since you'd be familiar with the folder structure and config files.
Click to expand...
Click to collapse
Sent from my GT-I9505G using Tapatalk 2
KrossX this is the second time you have posted questions in the development forum. As I stated before these are for Q&A NOT here. Please refrain from posting your questions here and READ the XDA users guide and forum rules again. There is a reason for this. I am glad your part of the community and your questions and comments are noteworthy you just need to put them in the right place. We read those threads as well! MJ
This is for Development ONLY
Yes PLEASE no name calling we all make mistakes and this thread will be moved soon to the proper place
And to answer your question Kriss you could do a logcat but if your not familiar with that do a search and provide more info on what your trying to do ( configuration?)
Sent from my GT-I9505G using Tapatalk 2
MJHawaii said:
Yes PLEASE no name calling we all make mistakes and this thread will be moved soon to the proper place
And to answer your question Kriss you could do a logcat but if your not familiar with that do a search and provide more info on what your trying to do ( configuration?)
Sent from my GT-I9505G using Tapatalk 2
Click to expand...
Click to collapse
I thought that since I was aiming this more at the devs it would've been in the Dev forums. Sorry for having you move yet another thread of mine.
Didn't mean to cause a ruckus; never really got a chance to read the post by deaffob above before it was edited by the mod so no offense from whatever name-calling was done, haha.
Thanks MJHawaii; I will search for logcat and see what I can pull up.
Any ideas (referring to attached pic)? I filtered at the Error level in the logs for the term "Bluetooth"
Sent from my GT-I9505G using Tapatalk 4
KrossX said:
Any ideas (referring to attached pic)? I filtered at the Error level in the logs for the term "Bluetooth"
Sent from my GT-I9505G using Tapatalk 4
Click to expand...
Click to collapse
The first error there looks like it may be relevant, but you'll need to get a more thorough logcat in order to trouble shoot it more. Please grab one with adb and post it to pastebin or here in a [ code][ /code] box.
xHausx said:
The first error there looks like it may be relevant, but you'll need to get a more thorough logcat in order to trouble shoot it more. Please grab one with adb and post it to pastebin or here in a [ code][ /code] box.
Click to expand...
Click to collapse
Good news and bad news.
Bad news: I am unable to run logcat; I am unable to access my device via USB ever since the root and when I tried doing the logcat steps, yet again it couldn't connect to my device.
Good news: I believe the solution to this issue (being unable to access my device via USB) may also lie in the logs along with the bluetooth issue. The reason why is because of this error message I received while trying to reinstall the USB driver (attached pic); it points to not being able to "start" a device. I think this will all eventually tie-in with some services not running correctly on my phone.
So, is there another way for me to post a log for you kind folks to review on here via my phone directly?
If I can do that via catlog app on my device, let me know what sort of log (which options) I'd need to run and post. Thanks!
Well, did a restore to stock + root. That didn't help. It changed the Baseband, Kernel, and Build versions but did nothing to fix my issues with BT and USB connectivity.
I think I am going to start researching ways to start from scratch. Like a factory reset/wipe back to first-use condition. If anyone can point me towards some reading material on how to do that safely and wisely, it would be much appreciated!
I just ended up doing a factory reset (Menu-->Settings-->Backup & Reset-->Factory Data Reset) and that resolved the issue (while wiping my phone).
Bluetooth issue is resolved; tested it just now and it works just fine again. As is the USB issue; as soon as the phone was connected to the same exact PC as before, it was recognized and showed up as a device that I could open and explore.
My Kernal/Baseband/Build versions are all back to the ones I had when I got the phone from the Google Store, so that's comforting too.
Thanks to all those who attempted to help!

[TOOL] Backup TA for Mac OS X [v1.4][2015-05-13]

Backup TA for Sony Xperia™ (Mac OS X version)
With this app you can backup and restore the TA partition of your device.
This can be useful, for example, when you want to unlock your bootloader and not lose your DRM keys and most importantly, your warranty. Before unlocking your bootloader, backup your TA with this app and you will be able to restore it to a factory state (locked bootloader, DRM keys intact, etc).
The app is based on TA Backup v9.10 by DevShaft (thanks !), which can be found here.
View attachment 2573685
Downloads
Frequently asked questions
Source code
Issues​
Thanks a lot for bringing this to Mac OS X and make it open source as well! Will have a look at the source and your work at a later time.
Stuck on requesting root on the first try, successful in the second time.
stanley321 said:
Stuck on requesting root on the first try, successful in the second time.
Click to expand...
Click to collapse
Did SuperSU ask you to grant permissions to "shell" when it hanged ?
limiter121 said:
Did SuperSU ask you to grant permissions to "shell" when it hanged ?
Click to expand...
Click to collapse
I have granted SU permission to shell, so it won't prompt anyway.
The app is then not responding and I have to force close it.
stanley321 said:
I have granted SU permission to shell, so it won't prompt anyway.
The app is then not responding and I have to force close it.
Click to expand...
Click to collapse
Yeah, the app will appear to hang but it actually waits for adb to work it's magic.
Is there any chance you could send me a copy of the system log ?
To do so, open the Console app, enter "Backup TA" in the search field in the top right corner (to filter the logs) and make sure that "All Messages" is selected in the Log list (sidebar) on the left side of the window. At this point there should be lots of messages from Backup TA shown. You can now go to File -> Save a copy as... and send that file to me so I can look at what went wrong.
Thanks :fingers-crossed: !
limiter121 said:
Yeah, the app will appear to hang but it actually waits for adb to work it's magic.
Is there any chance you could send me a copy of the system log ?
To do so, open the Console app, enter "Backup TA" in the search field in the top right corner (to filter the logs) and make sure that "All Messages" is selected in the Log list (sidebar) on the left side of the window. At this point there should be lots of messages from Backup TA shown. You can now go to File -> Save a copy as... and send that file to me so I can look at what went wrong.
Thanks :fingers-crossed: !
Click to expand...
Click to collapse
Tried but nothing show up after the search!?
So I think it is just a case that I'm too hurry to check the app and closed it earlier than I should while it is working.
stanley321 said:
Tried but nothing show up after the search!?
So I think it is just a case that I'm too hurry to check the app and closed it earlier than I should while it is working.
Click to expand...
Click to collapse
Try selecting system.log in the sidebar and then search for Backup TA, it should work.
Anyway, I'll implement a better way to get logs from the app soon
limiter121 said:
Try selecting system.log in the sidebar and then search for Backup TA, it should work.
Anyway, I'll implement a better way to get logs from the app soon
Click to expand...
Click to collapse
I find it but can't get it up here...
We are sorry, your post was flagged by our system and was blocked from submitting. If you believe this was in error, please contact an admin to report this.
Looking at it, I think I just closed it too early. Nothing wrong with your part!
stanley321 said:
I find it but can't get it up here...
We are sorry, your post was flagged by our system and was blocked from submitting. If you believe this was in error, please contact an admin to report this.
Looking at it, I think I just closed it too early. Nothing wrong with your part!
Click to expand...
Click to collapse
Too bad about the log, but thanks a lot for testing and helping
limiter121 said:
Too bad about the log, but thanks a lot for testing and helping
Click to expand...
Click to collapse
Checking the timestamp, maybe you should add a message to ask the user to wait for at least a minute to prevent nervous users like me from closing it too early.
Sorry for being new to this TA thing, I don't know how long I should expect.
stanley321 said:
Checking the timestamp, maybe you should add a message to ask the user to wait for at least a minute to prevent nervous users like me from closing it too early.
Sorry for being new to this TA thing, I don't know how long I should expect.
Click to expand...
Click to collapse
No problem, will add it in the next version
Thanks for bringing this in a simple form to MacOS
Already backup up, but did another backup and did the test; all seemed well.
New version 1.1 (2) available !
Download it here.
Changelog :
Added better log handling. You can now see the log files using Help -> Open logs folder
UI does not lock (beachball) anymore during lengthy backup/restore operations
limiter121 said:
New version 1.1 (2) available !
Download it here.
Changelog :
Added better log handling. You can now see the log files using Help -> Open logs folder
UI does not lock (beachball) anymore during lengthy backup/restore operations
Click to expand...
Click to collapse
make it for linux please :angel:
thanks
imen27 said:
make it for linux please :angel:
thanks
Click to expand...
Click to collapse
I will take a look, but don't get your hopes up
limiter121 said:
I will take a look, but don't get your hopes up
Click to expand...
Click to collapse
sounds great,many thanks
New version available
New version 1.1.1 (3) available !
Download it here.
Changelog:
Enabled verbose logging (for tracking down issues)
Big update
New version 1.2 (4) available !
Download it here.
Changelog:
Added auto-update support
Improved reliability (by using bundled BusyBox commands)
Bug fixes
limiter121 said:
New version 1.2 (4) available !
Download it here.
Changelog:
Added auto-update support
Improved reliability (by using bundled BusyBox commands)
Bug fixes
Click to expand...
Click to collapse
Thanks, mate. I think it worked. Just one question: is it normal that a 2MB TA partition gets zipped into few KB? Something like 77KB. Are those sizes (for both TA partition and zip file) normal?

Black screen

Please help
I wiped all the data with TWRP and i reboot mobile without installing OS , after that it'll shows black screen, But it is connecting to PC , I checked in command window it's working.. And i tried Flashing 334 stock ROM though ADB , it's done but always showing light black screen..
please get out this situation..
thanks in advance
Same happened with me and wait for the solution
helpp plzz
sharathcherry1699 said:
Please help
I wiped all the data with TWRP and i reboot mobile without installing OS , after that it'll shows black screen, But it is connecting to PC , I checked in command window it's working.. And i tried Flashing 334 stock ROM though ADB , it's done but always showing light black screen..
please get out this situation..
thanks in advance
Click to expand...
Click to collapse
THREAD CLOSED as a subject matter related thread already exists as you well know because you've posted there before you created this thread: https://forum.xda-developers.com/asus-zenfone-max-pro-m1/help/problem-dead-phone-black-screen-t4075571
XDA Forum Rules (excerpt):
...
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
...
Click to expand...
Click to collapse

Categories

Resources