Hello i was making a tutorial and i clicked root in flashtool 2.9.1 and now when i go to terminal emulator and type su i get this
Code:
reloc_library[1314]: 2639 cannot locate '_mktemp'... CANNOT LINK EXECUTABLE 255| [email protected]:/ $ n
so now i want to go back to stock rom and kernel and redo it all but if i go to stock rom and kernel is my bootloader going to lock himself????
Bootloader won't lock after flashing stock ROM via SEUS or other tool
Bootloader will be locked by update again to 2.1 with SEUS or PC Companion.
If you want stock kernel and you're bootloader will stay unlocked, here is it : STOCK kernel
Related
Using the super tool, I managed to unlock bootloader, install superuser, and the modified cwm, but can't achieve Su permissions and can't flash Roms...
This is all after unbricking the device... Lol. I failed to properly install the android SDK tools, but proceeded to unlock bootloader, then flashed the holicakes kernel with the thought that it was a full Rom, lol... Needless to say, it was bricked... So I downloaded the HTC ics ruu and brought it back to stock. From there I re-unlocked the bootloader, flashed modified cwm, and installed superuser... Now what?
Installed su in recovery?
Sent from my HTC PH39100 using Tapatalk 2
Mr_Random said:
Using the super tool, I managed to unlock bootloader, install superuser, and the modified cwm, but can't achieve Su permissions and can't flash Roms...
This is all after unbricking the device... Lol. I failed to properly install the android SDK tools, but proceeded to unlock bootloader, then flashed the holicakes kernel with the thought that it was a full Rom, lol... Needless to say, it was bricked... So I downloaded the HTC ics ruu and brought it back to stock. From there I re-unlocked the bootloader, flashed modified cwm, and installed superuser... Now what?
Click to expand...
Click to collapse
If your goal is to flash a new modified rom then you can already proceed to do so with the unlocked bootloader and custom recovery. Your new modified ROM will have root access built in already. Just make sure when you flash a new ROM, you also flash the accompanying kernel (boot.img) as it is not flash automatically (unless you have already s-offed and the ROM chef has it written in his installation script) regardless it won't hurt to install the accompanying kernel just prior or after the ROM install.
Here is something important, if you are flashing ICS and you don't have the right bootloader, you have to get the new bootloader BEFORE flashing any ICS ROMs. You can do this by flashing the correct RUU with ICS (which requires you to relock and blah blah blah, but you already know this). Good luck with your flashing.
Thank you guys! I did install su from recovery, but I forgot that stock Roms still show as unrooted. I was hoping to just use flash image GUI to flash the kernel, boot into recovery, then Rom, but now I realize that without s-off/custom Rom, I need to use the supertool to flash the kernel.
However, supertool won't recognize the device when trying to push kernels... Should I check for and remove htc sync on the computer? Otherwise the right usb drivers and android SDK tools are present :-/
Also, when I go to flash the kernel for the Rom I choose, do I just unzip and pull the boot.img from within and replace the stock kernel in the supertool file? I've never successfully flashed an alternate kernel on to a device before, how do I know what is compatible?
If I ran the ruu, I should have the right bootloader, correct?
http://forum.xda-developers.com/showthread.php?t=1676787
How to ROOT Stock ICS
Root is working now, thanks! Now flash some custom rom's.
Hi guys, my friend just bricked his LG Optimus black, by trying to reach recovery mode through Rom manager...
When booting, the security error screen flashes and it turns back off.
I've tried to reach recovery/download mode, by trying several button combinations found on the internet, but none of them seems to work, I get the same security error screen (even when the phone is connected to PC).
Can you guys please help, I have zero experience with this phone
Your friend's phone shows security error because he flashed recovery while he was running a v30x stock rom.
With the update to official ICS, the bootloader changed and if you want to keep stock ICS with recovery you need to flash an unlocked bootloader following this guide http://forum.xda-developers.com/showthread.php?t=2160394.
You could also try using SmartFlash Tool to flash this ROM that already includes a recovery, but, if you flash it, you'll have a gingerbread ROM with an old bootloader and a recovery that can be used to flash CyanogenMod based ROMs.
Lorenzoval said:
Your friend's phone shows security error because he flashed recovery while he was running a v30x stock rom.
With the update to official ICS, the bootloader changed and if you want to keep stock ICS with recovery you need to flash an unlocked bootloader following this guide http://forum.xda-developers.com/showthread.php?t=2160394.
You could also try using SmartFlash Tool to flash this ROM that already includes a recovery, but, if you flash it, you'll have a gingerbread ROM with an old bootloader and a recovery that can be used to flash CyanogenMod based ROMs.
Click to expand...
Click to collapse
Thanks, I finally managed to access Download mode and flash stock firmware, and I also flashed the unlocked bootloader, using the exe file...
But I still have a problem...
I still can't access CWM. When pressing the combination in the post you linked, it just shows me a screen, writing recovery mode, and it does nothing.
Didn't the exe file install CWM?
Is it safe to install it with Smart Flash Tool now?
Can you boot to stock ROM? If yes, is his phone rooted?
Lorenzoval said:
Can you boot to stock ROM? If yes, is his phone rooted?
Click to expand...
Click to collapse
I can boot to stock ROM, and yeah I rooted it with Unlock Root after installing the unlocked bootloader.
Download terminal emulator from play store, download recovery.img from here and place it in the root of his sdcard.
Open terminal emulator, type su, press enter, type dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4 and you should have finished! :highfive:
I have this ROOTED XSP .205 with LOCKED bootloader and I was trying to install CWM recovery by following a procedure that was only for Locked Bootloader Xperia Sp but I couldn't install it.
First in the cmd it was giving
'can't find specific path'
Then I found out that I needed to extract that zip file to C: that I did and after that im getting,
'You've selected Xperia SP, let's go"
And it is stuck on that, getting nowhere.
Im a newbie so not have much idea if someone can help that'd be a life saviour, please.
Have u tried again after restarting the computer and phone??
I am also trying to do so but stuck on *daemon started successfully*
After that cmd window stuck there. So any one have answer please let me know.
Sent from my C5302 using XDA Free mobile app
Try flashing recovery .img file with Rashr
You can't install CWM Recovery without a CWM Rom , and I think you can't install locked bootloader on unlocked bootloader, I recommend use Flash Tools and Unlock your bootloader. And Flash a Kernel with TWRP Recovery and Wipe and Flash a CWM Rom (huashan ROM for Xperia SP) after it you get CWM Recovery and TWRP Recovery for extra I recommend use Helium Kernel to do it
JhonesMillionBR said:
You can't install CWM Recovery without a CWM Rom , and I think you can't install locked bootloader on unlocked bootloader, I recommend use Flash Tools and Unlock your bootloader. And Flash a Kernel with TWRP Recovery and Wipe and Flash a CWM Rom (huashan ROM for Xperia SP) after it you get CWM Recovery and TWRP Recovery for extra I recommend use Helium Kernel to do it
Click to expand...
Click to collapse
hello can you help me with somehting i am on android 4.3 in xperia sp yesterday i have deleted my prima files by mistake can you upload them for me from your phoone
I found installing XZDualRecovery very easy. You get TWRP, CWM and PhilZ.
-install supersu from play store
-activate usb debug in developer options
-unzip xzdualrecovery file
-run install program from the unzipped folder
-follow steps on the screen, you will have to grant supersu access on your phone at some point.
Hello Xperia ZR users,
I had dual recovery i flashed RR M and RR N rom's in a single day. the next day i restored stock rom which i have backup approximately 5.30 gb it took so much time to boot whole 60 percent charging had been gone so i flashed stryflex mm rom for sony look but again i thought to use stock rom so this time i restored stock backup rom through otg pendrive because my external storage got write permissions problem when i installed stryflex! but now also same happened device taking so much time to boot and i thought to flash rr nougat but i wiped everything through dualrecovery and i removed battery as dualrecovery not showing anything in otg pendrive now there is also no recovery available to flash anything!
Xda user Robin guided me to flash stock rom through firmtool but ended with errors in xperia firmtool log file!
So now i am having black blank screen! no recovery unlocked bootloader! i had installed adb drivers through flashtool drivers and also installed other universal adb drivers but pc is not showing my device in adb devices list in command prompt! My device is showing in Device manager as ADB interface! when i connected my phone through fastboot mode !
Please help me!
SOLUTION : If u are using custom roms and want to go back to stock rom 5.1.1 ?! and while flashing are u experiencing blank screen after a successful flash through flashtool or experiencing any errors in flashtool while flashing?! Well there are two methods to flash stock roms! Successfully!!
Method 1 : whatever the custom rom you are in! Just flash the stock 5.1.1 rom in your phone through flashtool but with other pc! Yes other pc, pc with no drivers installed regarding adb! Try out your friends laptop or pc! Don't forget to install flashtool, fastboot and your xperia model drivers through flashtool drivers exe file! which is located in c drive!! Also install adb setup file that install all drivers all over pc! And just flash the stock 5.1.1 rom through flashtool! There are 99.99999% chance that stock rom will be successfully flashed in your phone! If this doesn't work!! It's your bad luck and its definitely pc problem not your phone! Then just follow method 2 to flash the rom!
Method 2 : flash the twrp img through flashtool (use any flashtool version!) by entering into fastboot mode and select flash the kernel option and select the twrp img file in your pc (i mean u have to download the twrp 3.0.3 img and use it ! ) twrp will be successfully installed in ur phone and then flash the stock jellybean 4.1.2 version the download link is available below! it is an ftf file convert the ftf file into zip file and then flash through recovery! that's it u will be booted to stock jb firmware and it will ask to factory reset on first boot press yes option it will take few minutes and then it will be booted to jb rom!! restore drm keys if u have the backup and update the os through xperia companion!! or else flash the 5.1.1 zip through recovery!
Note: only flash the jb rom i tested flashing kitkat it doesn't worked!
Stock jellybean firmware Link:
https://forum.xda-developers.com/showthread.php?t=2384512
PRFCreator tool:
https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I uploaded a flashtool log file ! Please help!!
Delta solution
I was also stuck with same error, I Banged my head in all forums with all rookie answers.
Why this problem occurs?
Ans: Because the user has installed Marshmallow or Nougat ROM on Lollipop. Even if you try to
come back on Lollipop stock, it won't accept the TA partition and won't go further (Although CM 10/11/12/13/14 or ASOP 10/11/12/13/14 RR-M/N WORKS without ERROR, but I assume user is hungry for STOCK 5.1.1 LOLLIPOP).
So, what's the solution, either you need backup of your TA partition OR - and if you haven't like me. Nothing to worry. You just need Stock JellyBean ROM (THIS IS IMPORTANT).
My solution will 100 percent work (Its Brahmastra ).
Step 1) download https://forum.xda-developers.com/showthread.php?t=2384512
Step 2) download flash tool version which is mentioned in the above link , I used 0.9.11. Version 0.9.19.8 is HELL - You will never succeed with this version)
Step3) flash... Even if you encounter error [17] no worries, if no error, still no worries (If you get error after TA partation is done...you are through, if you encounter before TA partition, it is worrisome)
Step 4) fastboot -i 0x0fce oem unlock 0xxxxxxxxxxxxxxx69
Step 5) fastboot flash boot boot. Img (twrp or PhilZ recovery) or STEP 8)
Step 5) download customized 5.1.1 by chippa
Step 6) goto TWRP (Recovery) and install customized , NO CMW recovery
Step 7) beer for me, go to STEP 10
Step 8) use flash tool to install C5502_10.7.A.0.222_1273-5765_R1E
Step 9) It boots after 3 sec
step 10) go to step 7 (beer loop mode)
If you go to SONY service centre, those M*F* will say, your screen is damaged, because once you push power button, it vibrates and goes to blank screen.
OR
You have locked your bootloader and you simply need to unlock the bootloader in ( STEP 4 ) and you will start with normal BOOT procedure.
How to unlock the bootloader?
Ans: http://www.cyanogenmods.org/forums/topic/unlock-bootloader-android-phone-using-fastboot/
OR
Relock bootloader (boot), then unlock bootloader (boot the device)
Cheers,
Dr. Lamda
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
sandeepxperia said:
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
Click to expand...
Click to collapse
Yes! you can go back to 5.1.1 by the above procudure
If you want to revert back from RR - N to stock firmware then use flashtool-0.9.18.4 and first flash stock 4.4.4 firmware/ boot then flash stock 5.1.1 firmware.
Lλmdα said:
Yes! you can go back to 5.1.1 by the above procudure
Click to expand...
Click to collapse
so i can flash the customised 5.1.1 rom by chippa through twrp recovery, right?
moly.maji , i love u brooooooo with your help what i did was i downloaded a jelly bean 4.1.2 rom and flashed through twrp 3.0.3 recovery by converting the ftf file to zip file (thanks to my other bro xda member robin for telling the info about prf creator pc software tool that converts ftf to zip) and it was successfully booted to jellybean stock rom !
and i am saying to whoever facing to flash the stock rom after updating the device to custom roms to prevent any errors to return to stock 5.1.1 firmware while flashing through flashtool it may be driver related errors in pc or any error just use the flashtool for flashing the twrp img! only by going to fastboot mode and then select flash the kernel option through that select the twrp img that's it within seconds the twrp will be installed in your phone and through twrp recovery flash the jellybean 4.1.2 rom ! i tested flashing kitkat but failed! so flash only jellybean rom!! that's it your phone will boot to jb rom and then if u have backup of drm keys restore and update the os through xperia companion or flash the 5.1.1 rom through recovery that's it !!
my device cant be detected and refused to go into fastboot or Recovery mode
is there any way?
Is it possible to flash a bootloader that is not from the same region of the current installed bootloader? I have a SM-G110B device but I want to upgrade the bootloader of it (using dd terminal command, not Odin), can I flash the bootloader of an SM-G110M version into it or would this hard-brick the device? I ask this because I recently flashed a modem/CP image into it from a G110M PDA file, Odin refused to flash it but through terminal emulator actually worked like a charm and there wasn't any mobile network/data issues after flashing it
Thanks in advance