Rooting lastest stock - Xperia Z5 Compact Q&A, Help & Troubleshooting

hi ,
i wanna root and stay with stock ROM (for good camera support for my Z5C) after unlocking my phone's BT ,i just need flash TWRP , and install superuser from TWRP fastboot menu?
( if idont plan to relock my phone i still need backup my TA?)
( idid this with my old sony but i guess its might be abit diffrent)
Thanks
PS my uses going to be , greenify(if xposed is working with android 7.1.1) , stereo mod while in calling\incoming call, brighter flashlight, and swap partition (RAM)

Related

Bootloop at startup logo due to XZrecovery getting trashed

Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
@KaiserSnorezay
XZDR is still not compatible with MM, that's why you got a bootloop...
Also you can't install the "regular" TWRP with twrp manager on a LB as there is no recovery partition... it won't work and probably will mess your phone in the process.
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
http://forum.xda-developers.com/xperia-z2/development/rom-official-6-0-1-23-5-0-486-beta-t3336770
Just did it exactly this way yesterday on my friends d6503 (minus the d6502 patch obviously) had 0 troubles MM, root and recovery working perfectly.
Thanks, will try this today. Is wiping data required or can i get by by just flashing the older one?
ptmaniac said:
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
Click to expand...
Click to collapse
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
KaiserSnorezay said:
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
Click to expand...
Click to collapse
Weird, after you have your phone rooted it should be simple to install xzdr... just enable usb debugging in the phone and make sure you have the adb drivers correctly installed in your pc.
Download the latest xzdr from nut's thread ( http://forum.xda-developers.com/showthread.php?t=2261606 ) unzip it and run install.bat . After a successful install the phone should reboot to twrp automatically and it's done.
Okay, I fixed it..using Flashfire! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
KaiserSnorezay said:
Okay, I fixed it..using ! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
Click to expand...
Click to collapse
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
dodge911 said:
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
Click to expand...
Click to collapse
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
KaiserSnorezay said:
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
Click to expand...
Click to collapse
okay. you mean flashing any old firmware ( which i did and still in bootloop ) & root it. Then installing recovery for the same firmware ?
with "recovery" will i be able to get back my whole data ?
KaiserSnorezay said:
Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
Click to expand...
Click to collapse
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
DedSec_35 said:
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
Click to expand...
Click to collapse
Sorry, I ditched my Z2 for a Oneplus 3 in August 2016. Learnt my lesson, only going to use phones with easily unlockable bootloaders.

HELP Bricked Flash mode only

I was going to try and put the new 511 rooted on , but my sd failed and on reboot can't do anything, no TWRP no nothing except I can get into Flash mode
I have looked around and it is suggested I can put a custom rom on , but the one I have doesn't have*.img files it is a zip with METADATA etc inside.
I am on a uk SGP311, where can I find a decent rom that I can put on using fastboot method only? I want root and CWM or TWRP and was looing at 511 versions.
Any help please to a source for a ROM in this format and a tutorial how to put on appreciated
I don't understand what all the POLLOX stuff is about... can I use these roms?
THANKS
Hi.
Did you unlock your bootloader ?
Is your Xperia Tablet Z LTE (pollux is codename) or Wifi version (pollux_windy) ?
You can read my tutorial to flash recovery : https://forum.xda-developers.com/xp...de-tutorial-sony-xperia-tablet-z-lte-t3392831

Find a kernel to root Lineage on i9100 device ( newbie)

Hi everyone , :good:
As mentionned on the title , i am searching to download some stuff to root my Galaxy S2 device .
I am a beginner ; the things i've done before on my device is installing Lineage 14.1 ( Android version running on my phone is Android 7.1.2 )
I am actually trying to root my phone . I've tried to use somme apps , like Framaroot and Kingsroot but it didn't work .
Reading some topics and watching tutorials about that i've understood i need to use some insecure kernel with odin to bypass some restriction .... but i can't find this kernel .
I've tried to find a kernel who is specific to mine ( 3.0.101-lineage-g349a3e9 ) . I don't know how it is important to use the proper kernel so i prefer asking to you what kernel i can download for my device .
So , what kernel can i use for my device , and where can i find it ???
I'll be glad to have some answers and i hope i've been understood , i'm not fluent in english .:laugh:
( i let you some information here : GT-I9100 , Android 7.1.2 , OS : 14.1-201705-NIGHTLY-i91OO , Kernel 3:.0.101-lineage-g349a3e9 Build lineage_i9100userdebug 7.1.2 N2G470 f607bf3184 )
you only need to install the addon that comes in page for the root: s
https://download.lineageos.org/extras
you install it from recovery and ready
Thanks for the answer !
Actually i have already tried to install a file ( i had additional files of lineageROM like TWRP and ADDsu ARM ) like that by the recovery mode of my phone ( the file was Addsu-ARM ) and it did'nt work ( so i thought i need some special kernel )
I follow this steps : Recovery mode>apply update>sdcard0>download>AddsuARM
But maybe i've made a mistake . I've tried to do the same with the file you provided to me but it was the same ...
Any idea off that's going wrong ??
Thanks a lot , i'll keep continue to search how to install this file
Skoelle said:
Thanks for the answer !
Actually i have already tried to install a file ( i had additional files of lineageROM like TWRP and ADDsu ARM ) like that by the recovery mode of my phone ( the file was Addsu-ARM ) and it did'nt work ( so i thought i need some special kernel )
I follow this steps : Recovery mode>apply update>sdcard0>download>AddsuARM
But maybe i've made a mistake . I've tried to do the same with the file you provided to me but it was the same ...
Any idea off that's going wrong ??
Thanks a lot , i'll keep continue to search how to install this file
Click to expand...
Click to collapse
Hi
When flashing rom did you also flash twrp 3.1xx. recovery ?
Are you actually on this twrp recovery?
Sent from my BTV-W09 using XDA-Developers Legacy app
Hi ,
No i did not falsh the recovery . Though i thought i cannot install TWRP without ever rooted my device ....
Skoelle said:
Hi ,
No i did not falsh the recovery . Though i thought i cannot install TWRP without ever rooted my device ....
Click to expand...
Click to collapse
Well, you should have flashed twrp 3. together with rom and you would have been fine to flash anything like root.zip.
Now i suppose you are on useless stock recovery.
You have to start again and flash kernel/recovery with odin and then upgrade.
Just want to remind to the need of repartioning to at least 1gb system/4gb data before flashing 14.1 rom and do not to forget to flash twrp recovery.
There is a thread/guide by saber and another one by djibe89 (in Q&A) how to update.
Sent from my BTV-W09 using XDA-Developers Legacy app
here my guide to get fast TWRP, repit(is what I use when I'm switching between SAMMY and AOKP roms) non use of computer or odin:
Downgrade to 6.x Rom, many of them are already integrated the recovery TWRP isorec some of them:
https://forum.xda-developers.com/galaxy-s2/development-derivatives/rom-t3356498
https://forum.xda-developers.com/galaxy-s2/development-derivatives/rom-team-octos-oct-m-t3313585
now in recovery currently TWRP
modify the PIT to have more system and data space, I upload the tools to change the PIT based on @Lanchon tool https://github.com/Lanchon/REPIT
1GB system 6GB data at the same time I also attach another one to return to the stock pit 0,5 system 2GB data:https://drive.google.com/open?id=1UgDOouH6n3Gz1uzadzKTBdsI-wOFmQ9T
put those 2 files in some folder or in the root of the microSD in TWRP we will install the one that says lanchon-repit-20170115-system = 1G-data = 6G + wipe-sdcard = max-preload = min + wipe-i9100 later it will give us an error is something normal if we install it from the microSD but it will have installed in the root / tmp of the internal memory, we install it from there and wait for 3-6 minutes to complete now make all wipes without external sdcard or scard1 finally install the desired rom together your gapps
Thanks for those answers !
I did flash the rom with odin and install lineage,Gapps, and TWRP ( but despite of your advice TriboDoP , i did not make a partition data because it was nothing to save on my phone .. maybe i have misunderstood and if you say i must make some partition , i'll do all the process again with the creation partition's part ) .
After that i ran the TWRP recovery mode , install the addsuARM file , reboot and then allow ADP and applications to acess the root by "options for developers" , root acess .
Now i can run the App2Sd app' ( really need to learn how it works:silly: ) .... but it is another story !
Abels2 thanks to have took the time to show me your alternative method , maybe it will be useful later !
Skoelle said:
Thanks for those answers !
I did flash the rom with odin and install lineage,Gapps, and TWRP ( but despite of your advice TriboDoP , i did not make a partition data because it was nothing to save on my phone .. maybe i have misunderstood and if you say i must make some partition , i'll do all the process again with the creation partition's part ) .
After that i ran the TWRP recovery mode , install the addsuARM file , reboot and then allow ADP and applications to acess the root by "options for developers" , root acess .
Now i can run the App2Sd app' ( really need to learn how it works:silly: ) .... but it is another story !
Abels2 thanks to have took the time to show me your alternative method , maybe it will be useful later !
Click to expand...
Click to collapse
Fine you managed to flash rom etc incl. root!
I just wonder how it worked without repartitioning.
But never mind if it works!
Just in case there is a need to increase the system partition and data partition aswell - all you have to do is to flash the lanchon pitfile.zip with your twrp recovery like @Abels2 said.
Regards!
Sent from my BTV-W09 using XDA-Developers Legacy app

[FIRMWARE][STOCK][SCL-L01] Camera doesn;t work after restore from Custom ROM.

Hello,
I write to tell you about my problem with a rear camera of my Huawei Y6 [SCL-l01][C432B140] and ask for any possible help. I really like to use it and i tried to get it back, but even after back to my firmware and stock recovery my camera doesn't work anymore[You cannot connect to the camera] after first rom flash.
Let's start from begining:
Once i decided to install custom rom on my phone, i done everything like it was on tutorials. I unlocked bootloader, i backup my data and i flash TWRP 3.1.2. Of course, TWRP didn't shown any error or issues, but my backup after restore, cause bootloop of my device and after second reboot startin recovery[not even bootloader of OS].
I tried many fixes to get my camera working on Custom Roms like AOSP, DARKNESS, CM,[ and few from HUAWEI Y6 thread] and I always fails. After few tries i gave up. My problem was that my backup was broken and my recovery was flashed by TWRP. Lucly i found stock recovery for my phone and flashed it.
Stock recovery gave my chance to install my stock rom from UPDATE.app, but after i install my stock lolipop 5.1 - my camera won't work anymore.[Can't connect to the camera, flashlight doesn't work too].
I tought to myself "hell, it could be problem that my original soft is modificated", but luckly i had two smartphnoes of my type SCL-l01[not mine ]. I took copy of working one by TWRP and flash it to my doesn't working... It gave the same result [I used TWRP by fastboot boot twrp.img for survive of my stock recovery] - camera simply wasn't work anymore even after flash the same firmware [once from update.app and second from another scl-l01]
And there is my question - Is it possible to get this camera working again?
Just pls - don't write to my about basics like clear cache or force stop etc , becouse i tried it all.
Thanks for every answer - and sry for my mistakes in my statement.
have the same problem for quite some time, I tried to return to stock with the update.app and the camera no longer worked, and I did not find a way to make the camera work. In stock it does not work, and in ROMS as LineageOS either, eh done the same thing to reinstall the update.app and neither, I think it could be a hardware problem
I clarify, I have a SCL-L03
link plzz
i ccant find the oficial room for scl-l01 cen you guys give me the link:cyclops::crying::crying::crying::crying::crying:
WantedG said:
i ccant find the oficial room for scl-l01 cen you guys give me the link:cyclops::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
http://huawei-firmware.com/rom/huawei-y6/scll01/1194
If you want to flash it, use huawei updater extractor and extract the system.img and boot.img from the update.app and flash it from fastboot.
Or if you have stock recovery make an folder Dload in sdcard and put the update.app here. After that, press power button and volume up and down (your phone needs to be shutdowned)
That's it.
Thanks button works well if I helped

Help about installing Viper4fx in rooted Android Pie

Hello,
I just rooted my realme 3 pro by unlocking bootloader and flashing TWRP and Magisk Manager, I just wanted to install Viper4fx because I'm using this to my old phones that has 4.4 Android and bellow, but since I just rooted my new phone, I don't know what will happen if I install a BusyBox and Viper4fx equalizer drivers, I'm scared about what I read in YouTube that some saids it works and some, they just bricked their realme 3 pro by installing busy box and driver and even recovery mode won't work, please I need some help, I also rooted my phone because I also want to overclock it but what I can only change is governor only, clock speed is not included
the chance of bricking your phone is really low ... just don't mess with the partitions (boot.img, recovery.img, system.img ..etc) also make sure you have them backup so you can easily flash them with fastboot just incase you fvck up real bad ...
also before downloading application that require Root read it description and take note what is actually does . I learn this the hard way by downloading a dalvik cache clear on Google Play Store it deleted " /data/data/*/cache" now all my applications saved settings are back to default

Categories

Resources