yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] nilezon:
Abandoned

This rooting method is deprecated. Use TWRP for Z5C instead.

Old post:

I have rooted my Z5 Compact and figured you might want a short how-to.

Disclaimer

I am well aware that this is not the nicest method of rooting, but I got the phone a few hours ago and haven't got the time to put together a better way.

Credits

[MENTION=5243932]Tommy-Geenexus[/MENTION] for Zombie kernel

[MENTION=5169444]AndroPlus[/MENTION] for Z5 recovery and guidance :good:

[MENTION=631273]Chainfire[/MENTION] for SuperSU

Guide

First, you need to unlock you bootloader (I know, I know, now stop weeping :crying::crying::crying:)

A rooted device does not boot using default kernel, so you need to install an insecure kernel.

I am using a repacked Zombie b1 kernel, with a small modification (wrong owner on all files in ramdisk).

All credits fly out to [MENTION=5243932]Tommy-Geenexus[/MENTION] : [Kernel][Sony5.x][Z5C]Zombie[13.10.15]

Flash using:

fastboot flash boot zombie_b1_fixed.img

Reboot your phone using:

fastboot reboot

And verify that it works as expected.

Now, reboot your phone to bootloader again (see info how to at the end of post).

Then issue:

fastboot boot recovery.img

This recovery is partly broken, but it works well enough to install root.

Thanks to [MENTION=5169444]AndroPlus[/MENTION] for TWRP code.

The phone will boot to a black screen, but you can connect to it using ADB.

You need to manually mount the system and userdata partition by issuing:

adb shell mount /dev/block/platform/soc.0/by-name/system /system
adb shell mount /dev/block/platform/soc.0/by-name/userdata /data

If you get this error:

mount: mounting /dev/block/platform/soc.0/by-name/system on /system failed: No such file or directory

You probably just need to wait a while and try again.

You can also try this command (and then re-enter the mount commands above):

adb shell mount
adb shell cat /proc/partitions

If you got /system and /data to mount, you can now push SuperSU to the phone and install it:

adb push UPDATE-SuperSU-v2.46.zip /data/media/0/
adb shell twrp install /data/media/0/UPDATE-SuperSU-v2.46.zip
adb shell rm /data/media/0/UPDATE-SuperSU-v2.46.zip

If it all works, just reboot and enjoy root:

adb reboot

Files

zombie_b1_fixed.img

recovery.img

Extra info

Boot to bootloader by adb command:

adb reboot bootloader

or by turning off the phone, and then hold down VOL UP while plugging in the USB cable.
[Xperia Z5 Compact Android Development] kevinwu128:
Thanks!!!!! I will try this as soon as I go home! will update you :)

---------- Post added at 02:30 PM ---------- Previous post was at 02:26 PM ----------

what model do you have by the way? mine is E5823

Thanks
[Xperia Z5 Compact Android Development] kevinwu128:
you are the greatest!!! THANKS SO MUCH!!!!!!!!!!!!!!!! it works on my model. dirty or not, as long as it works :D

UPDATE: OMG, after finally getting all my apps on, i was happy to put my SD card and sim in.

IT WOULD NOT TURN ON. it kept rebooting and the indicator flashed a few times.

after isolating the problem, it does this when the SD card is in. Sim card is fine..

- So I can use the phone without SD card, but as soon as i plug it in, it reboots.

- I've tried the SD card in my old phone and it works fine.

- i've also used a new SD card in it and it's rebooting.

Do you think this is hardware error? is there something in the above scripts that could've affected it?

The truth is i never tried it before i rooted it.. so i'm not sure if it's due to rooting..

Please help me!
[Xperia Z5 Compact Android Development] nilezon:
I've got the same model.

That sounds really ominous :(

I got the phone yesterday and have not yet tried it with SIM or SD card, so I can't really tell you if it is due to the rooting.

The recovery commands or the root should not cause the SD to stop working. The custom kernel could possibly do it, but I doubt it. However, until I (or someone else) test a SD card while on root, I can't really say for sure.

Sorry :(
[Xperia Z5 Compact Android Development] kevinwu128:
Can you please test when you get a chance? I've unroot using super su and have done a factory reset. Same result.

I've also put in a request for warranty... Great work though. Thanks for posting this!
[Xperia Z5 Compact Android Development] nilezon:
Sure, I will test within a few hours. :fingers-crossed:
[Xperia Z5 Compact Android Development] nilezon:
My SanDisk Ultra 64GB is working just fine. No SIM card in the phone, though.

Note that I have upgraded to 32.0.A.5.32.
[Xperia Z5 Compact Android Development] Radeon1337:
Nice! Then i will root tomorrow and see if everything works for me. Have to unlock bootloader so i don't have time to do it tonight.

Awesome work nilezon :D
[Xperia Z5 Compact Android Development] Tommy-Geenexus:
Works fine for me too here.
[Xperia Z5 Compact Android Development] exploreresp:
You guys noticed a change in the official camera app ? Does it still behaves the same and post process automatically images ?
[Xperia Z5 Compact Android Development] mcgrathpatj:
Yeah, I'd like to know this as well. On the Z3c, Unlocking the bootloader lead to really ****ty images. Is this still the case? I don't care much about DRM, but the camera has to perform.
[Xperia Z5 Compact Android Development] freak4dell:
Is there anywhere that I can find a rundown on what I'll actually lose by unlocking the bootloader? I don't particularly care if the camera loses a little quality, and it seems like I probably don't care about any of the DRM stuff, either, but I would like to be sure.
[Xperia Z5 Compact Android Development] eng3:
I'm a little unclear on the losing of the DRM (if it is actually lost). Does this occur when you unlock or root?

(I realize you need to unlock in order to root).
[Xperia Z5 Compact Android Development] Sebi673:
It happened on unlock and it can't be reverted. DRM keys are unique for each xperia so flashing another TA partition from another xperia will brick your device..... :(
[Xperia Z5 Compact Android Development] farfetch:
Hi, I read about the new TWRP method, but after flashing TWRP, what should I do for get root? Just flash SuperSU zip from Chainfire's site?
[Xperia Z5 Compact Android Development] nilezon:
Exactly right, sir :good:
[Xperia Z5 Compact Android Development] vincent-v:
Hey,

ist there any way to Backup the DRM and Restore it after root?

THX
[Xperia Z5 Compact Android Development] yannik~:
Not currently.
[Xperia Z5 Compact Android Development] tania247260:
Never, ever unlocked your z5 compact bootloader
[Xperia Z5 Compact Android Development] Fargo_Zoidberg:
Is this... a warning? Or have you yourself never unlocked your bootloader?
[Xperia Z5 Compact Android Development] tania247260:
I did but I was quite unhappy after unlocking. Then I relocked but video option did not work . So I sent it to the service center and they changed the motherboard of the phone and gave new IMEI number. now its work
[Xperia Z5 Compact Android Development] Qaaqqu:
OS

Which do you use, Lollipop or Marshmallow? Or works on both?
[Xperia Z5 Compact Android Development] civicsr2cool:
Read op. This was a method used before mm was a thing.
[Xperia Z5 Compact Android Development] TRM_Linux:
work for docomo series??
[General Questions and Answers] heiitorxd:
Hello everyone! :)

Im new in this forum and i got some issues when i try to install Facebook for android it says me an error code: -504.

My phone is S3 mini. I got this problem in my last custom rom CM 12.1 then i try with another rom: OmniRom 5.1.1 and i did all the wipes before install it, so im still have this problem when i try to install Facebook. :confused:

Someone helps me please...:(

sorry for my bad english! :p
[General Questions and Answers] wimpiexl:
just add the following line

dalvik.vm.dex2oat-flags=--no-watch-dog

to /system/build.prop
[One (M7) Q&A, Help & Troubleshooting] Gerriitw:
Hello guys,

I recently got my refurbished htc m7 and updated to lollipop. Now when im on my phone my battery goes like 11% to 5% in 30 seconds or so. Is there any option to get a better batterylife? Im on stock at the moment.

I hope to see your sugestions and your help :)
[One (M7) Q&A, Help & Troubleshooting] matekaneve:
It sometimes does mine as well. It shows there's 10-11% left and suddenly it goes down to 1-2% just put it on charge and charge it to 100%.
[One (M7) Q&A, Help & Troubleshooting] Wish39:
Battery calibration can do the trick. Idk if it works though because im too lazy to do it to my phone
[One (M7) Q&A, Help & Troubleshooting] Gerriitw:
And how about a custom rom? Can i have better batterylife with that? I want to stay with a sense ROM
[Nexus 6P Q&A, Help & Troubleshooting] kingmikel:
Hey guys, I've never had a phone that had chamfered edges and I'm a little worried. Do you guys think cases will scratch/scuff the edges from taking it out of the case? I've just seen too many phones with scratched on the chamfered edges and it's an eye sore!
[Nexus 6P Q&A, Help & Troubleshooting] theTqM:
Nope.

Most cases are plastic which will not wear on the phone.

Do make sure you clean the inside of the case each time before putting it on as sand or other silicate particles can scratch it and often end up in corners.

If you've seen the iPhone 5 with the chamfered edges you'll note that many of the cased devices look as good as new after 2 years where as the ones with no case are the ones with scratches all over the chamfered edges, coins and keys will do that in no time.
[Nexus 6P Q&A, Help & Troubleshooting] galaxys:
+1 above! Just don't take it to the Beach! ;)
[Nexus 6P Q&A, Help & Troubleshooting] droidrev71:
The note 4's chamfered edges scratched easily. This is one big factor for me picking the graphite color. Hopefully, all three phones edges are resistant to scratching easily.
[Nexus 6P Q&A, Help & Troubleshooting] kingmikel:
Did it scratch with or without a case?
[Nexus 6P Q&A, Help & Troubleshooting] droidrev71:
With a case on. I didn't have as bad of a time as others did. I'm very very easy on my phones. I owned the developer edition note 4 and was very careful. But still managed to get some light scratches. I have OCD when it comes to my phones..lol I was upset! When a buddy pulled his case off his after two weeks and had several light noticeable scratches. We'll see soon enough how these edges hold up on the 6p. I'm not sure if the note 4 has the same material as 6p. I hope not.
[Nexus 6P Q&A, Help & Troubleshooting] Evo_Shift:
Wouldn't the black show it more? The scratches will show up silver won't they?
[Nexus 6P Q&A, Help & Troubleshooting] kingmikel:
That's exactly what I'm worried about. I'm beyond OCD when it comes to my phone!
[Nexus 6P Q&A, Help & Troubleshooting] Elnrik:
A softer material won't scratch a harder one, so the case won't scratch the phone. Its the dirt that gets in between which will scratch it. Take it out of the case, clean them both often, and you should be good.
[Nexus 6P Q&A, Help & Troubleshooting] droidrev71:
Possibly, but I'd be more concerned with the chamfered edges. I think the frost and aluminum edges could be the two that show the most. They have the shiny edges just like the note 4.

---------- Post added at 12:35 AM ---------- Previous post was at 12:27 AM ----------

You'd think that would be the safe way to go but the note 4 is very fragile on the edges. I'd be very concerned when removing my case from the phone. Most note 4's for resale will say they have scratches on the chamfered edges.
[Nexus 6P Q&A, Help & Troubleshooting] LNJ:
It's aluminium.....it will scratch even by staring at it long enough!
[Nexus 6P Q&A, Help & Troubleshooting] kingmikel:
I wish they made a case with micro fiber on the inside, like Apple did with their latest cases. Those would be perfect!
[Nexus 6P Q&A, Help & Troubleshooting] FamelJone:
Dont worry

Dont worry please check the review about your model.
[Nexus 6P Q&A, Help & Troubleshooting] kingmikel:
Which review? There are a ton now!
[T-Mobile, Samsung Galaxy SIII] SiberianLeopard:
I'm looking for the stable CM10 Official for the T-Mobile GSIII but I can't find it. Does anybody have any idea where I might be able to get the ROM?
[T-Mobile, Samsung Galaxy SIII] kdaniels1986:
Really? It still shows up on page one of original s3 ROMs. Did you even try looking? http://get.cm/?device=d2tmo...
[T-Mobile, Samsung Galaxy SIII] SiberianLeopard:
Yes, but it's labelled experimental and the camera doesn't work. I don't want 10.1 or 10.2. I want 4.1.2. I have the 4.3 bootloader that gives me assert errors.
[Other Tools & General Discussion] SgtDrPeppers:
Hi forum,

I'm looking at making an app for a game I'm interested in as I want some practice for my college course.

I wondering, is it acceptable to make a wiki style app for a well known game and to use the name of the game in the title? Maybe it's a silly question but it's something I've never thought of.

Thanks

SgtDrPeppers
[IDEs, Libraries, & Programming Tools] drose379:
Hello everyone,

Been working on a new Library called picturePerfect (github.com/drose379/picturePerfect) which is being made to take the pain and confusion out of allowing your users to select photos from their gallery, and capture photos from their camera. So far in the README file, you will see that I am starting off with selecting and processing images from the Gallery.

As of now, I am looking for any feedback that the community here may have as to what they would like to see in this library. The question really is "In photo selecting, capturing, processing and handling, where do you feel your code getting messy or out of control?"

By providing some feedback with the answer to that question, I believe it will help me build this library to the very best it can be.

Keep in mind the library is under heavy development and is still in very early stages, if you would like to stay updated on the development, feel free to give the repository a "star" or "watch" it on GitHub.

Thanks a lot for the feedback, and I hope this library will be able to help you sometime in the future! :good:

-Dylan R.
[IDEs, Libraries, & Programming Tools] MicheleLacorte:
Nice library , easy to use , I would recommend you to publish some of the repo , so you can import directly from build.gradle! :good:
[Xperia Z1 Q&A, Help & Troubleshooting] shahbazhassan4200:
HY.MY SONY XPERIA Z1 C6903 UPDATE FAILED. AND IT SHOW UPDATE FAILED SURE YOUR MOBILE ARE CONNECTED TO

COMPUTER AND TRY AGAIN .BUT ONE THING BEFORE UPDATING MY PHONE I DON'T ENABLE USB DEBUGING . SO PLZ HELP ME PLZ URGENT

:rolleyes::rolleyes:
[Xperia Z1 Q&A, Help & Troubleshooting] Toledo_JAB:
Thank you for joining XDA Developers :D

You may have noticed that you posted in a 2 year old thread.

Did you try any of the advice from this thread?

Also when you make a request for help it is best that you provide as much information as possible.

This way others understand what is going on with your phone.

I have moved your question to it's own thread .

Please provide more info for people to help.
[Galaxy Tab 3 Q&A, Help & Troubleshooting] theunlucky:
Hi,

after giving 4.4.2-StockROM a (long) try, I wanted to install [SM-T31X][5.1.1] CyanogenMod 12.1 unofficial build (by tohenk).

I followed the instruction for TWRP-Installation and the one for CM12.1 by tohenk.

Doing so, I installed TWRP via Odin 3.09 (successful).

To root the T310, I had to install the zip "ROOT_SGT3_8.0.zip". (also successful)

Reentering TWRP to flash the CM12.1-zip, I selected the file from internal SD-Card, getting a warning that the file shall not be compatible - having had the same with the root-zip, i swiped to install.

Resulting in the error (got a screenshot, but can't link it - to few posts):

"Can't install this package on top of incompatible data. Please try another package or run a factory reset.

E: Error executing updater binary in zip '/sdcard/fw/cm-12.1-20151018-UNOFFICIAL-lt01wifi.zip'

Error flashing zip '/sdcard/fw/cm-12.1-20151018-UNOFFICIAL-lt01wifi.zip"

... as offered by TWRP, i reset the Dalvik-Cache, rebooted. All Apps have been reinitialized, rebooted again into TWRP, getting the same Error.

So I installed philz_touch_6.08.9-lt01wifi.zip - but getting the same Error...

At the moment, I'm stucked with rooted StockROM...

..what did I miss?

(thanks for any help)

- - - - - - -

Edit:

Found the error:

prepareing the Flash-Procedure, I did a "factory reset" from within StockROM-Settings.

After performing a Factory-Reset out of PhilzTouch and wiping Dalvik-Cache (without rebooting the GT3 after Wiping), I was capable to install the CM12.1-zip, which runs perfectly fine now... :)

(somewhere it should be mentioned "do the factory reset from recovery, not from within ROM" ;)

tohenk: you did a wonderful Job on the CM12.1-ROM! Thank you!!
[Galaxy Tab 3 Q&A, Help & Troubleshooting] Miso01:
I'm having the same issue.... so I installed Philz_touch_6.19.3 but I still can't flash any of the ROM's for T310...

Do you have any suggestions?

My tablet start up to SAMSUNG TAB 3 logo and stuck there...
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
Hi guys,

So i use to have stock rom on my Moto G2 and Facebook Messenger worked for a few months and then one day the notifications started playing up. They always showed up 2 minutes later or they didn't show up at all until I pressed the power button. It was as if the notifications were stuck until i pushed the power button and they would all flow in at once. So I decided to root my phone and get a custom rom to try and fix this problem. I have been to no avail for the past 2 months and it is really pissing me off. :mad: I have switched between countless roms and none of them seem to tackle this bug! Any help would be so so appreciated!!!!!!!!!!! Thankyou in advance :o
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
Please anyone????
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
anyone??? I use messenger on a daily basis and i would seriously appreciate any help! Even if you can tell me what controls facebook messengers notifications and i can troubleshoot myself from there on a fix.
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
Bump
[G 2014 Q&A, Help & Troubleshooting] ArmStrongDickPunch:
I don't use fb message on a daily basis but I do have this issue, one thing that might help is to clear your recent apps to free some ram up but that's about all I can suggest for this issue besides get a newer phone with more then 1gb of ram... As far as I can guess its the low ram that causes this issue but o could be wrong.

Hopefully this is of some help (even though It was much and I apologize that I don't have any further input right now)
[G 2014 Q&A, Help & Troubleshooting] jay2the1:
There's an issue with delayed notifications that a few people have been having, myself included, but happens for all 'data' apps except when charging and when playing music (SMS and calls are not affected), this was the thread about it: http://xdaforums.com/moto-g-2014/help/delayed-receiving-notifications-t2886343 if this is the issue you are having there is sadly no fix at this time.
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
Hey, thankyou for your input :) I have tried so many things, I've installed custom roms that don't use much ram at all so I'm not sure if it's a ram problem... i believe it's something Motorola have implemented to actually save ram, because the messages all come through either delayed or when the phone is awoken. So maybe the phone is put into a really deep sleep and is not awkone by it self. But then again, shouldn't custom roms fix that? So I'm really confused and any further help from anyone would be appreciated. Thankyou :)
[G 2014 Q&A, Help & Troubleshooting] JacobSoner:
Oh okay :( yeah i read through that forum and i posted something to see if anyone has a fix, but i doubt it. And my problem still goes on when the phone is charging as well? Also when the phone is playing music. It's really weird. But thankyou for your input :) any further help would be much appreciated.
[Windows Phone 8 Q&A, Help & Troubleshooting] clhdpgh:
I have a Lumia 635 I bought a year ago from Microsoft store for use with Tmobile. I bought it so that I could eventually upgrade to Win 10 mobile. TM has not and it looks like they will not release the final bits of Windows "Denim" to the consumers. Microsoft has already stated that if you don't have the 'Denim' update you will not be running Windows 10.

Is there a way to unlock the phone and get the updates directly from MS instead of TM? What will I loose?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] danydachamp:
I soft bricked my Samsung galaxy ace so I connected it to my pc in Download mode my pc doesn't recognise it but when it's in recovery mode or attempting to boot the pc recognised it and I also forgot to mention that the sd card won't mount
[Huawei Ascend P7] XDADEVX:
Does anybody faces same fkin problem sht ?

This fkin really going on my freaking nerves !!!

Why the fcuk there is problem with alarm ? I just tested it and screen goes black and there is no any sound for alarm and phone half freezes I have to go to settings apps and force close fking clock app

How can I fix this crap ?
[Huawei Ascend P7] Morphine1:
How many times does it need to be posted that the cancer of all the problems and unstability is the facebook app.

Don't ever touch fb again, at least till problems get fixed either from fb owners or huawei, so that you don't have to come here again making another useless topic.

Also, you should watch out your speech.

Enviado desde mi HUAWEI P7-L10 mediante Tapatalk
[Huawei Ascend P7] XDADEVX:
Well I didn't know that fakebook causing that because am coming from kk b630.. everything was fine with fakebook and alarm too.. something has.to do with sounds..

Ive tried to go to sounds and phone frozen ..

Man I know that dont touch fakebook I hate it I even deleted terminated account from that sht but you know girls so my gf would explode insane if she doesn't have it..
[Huawei Ascend P7] rodlane:
LOL! True sh1t man
[G4 Q&A, Help & Troubleshooting] klisza1993:
as in title. any ideas of that features ? what do I mean > checkout what can you set manualy in LG V10 when you set Camera -> RecordMode and-> settings. there is a lots of option which no appears in LG G4.. P.S. (soory for my english.}:p

its not a taking photos but recording in this section there is a lots of settings which LG G4 doesnt have :)
[G4 Q&A, Help & Troubleshooting] patrik123:
This should be in help / Q&A section
[G4 Q&A, Help & Troubleshooting] klisza1993:
so please move it :)
[G4 Q&A, Help & Troubleshooting] One Twelve:
Makes me wonder well was the G4's camera interface was ported back to the G3 ?
[Nexus 7 (2013) Q&A] JackOfOwls:
I have only the 16GB version of the Nexus 7 2013 Wi-Fi and internal storage is at a premium. Is there an Android app or at least an effective tutorial that shows me how to install apps and games to a 64GB OTG flashdrive and run them from it? Thanks in advance for any help.
[HTC Desire Eye] nuri-d:
Hi guys,

Is it possible that someone can Port Miui v7 for our device? I read On the Miui Forums that its possible to Port for every device with a porting Tool. So @ devs: is there someone who could Do this for us?

?

Sorry for Bad english and cheers
[HTC Desire Eye] luisitox22:
It would be awesome if they did! Please do.
[HTC Desire Eye] xXminiWHOOPERxX:
I found MIUI from m8 forums based off gpe..... And sense kernels can boot GPE, but breaks GPS... So who knows , maybe I will or maybe I won't. Cause I dislike porting roms that I can't fix bugs on my own...
[HTC Desire Eye] luisitox22:
Make perfect sense, but cant deny i have my finger's cross!!!!
[HTC Desire Eye] xXminiWHOOPERxX:
I no longer have a PC and actually been developing by my phone.. sounds weird and hard , and it is... But I've fixed GPS for IC this way.
[HTC Desire Eye] luisitox22:
You just ROCK! from the phone? btw, someone in a post is stressing that he got the insertcoind rom for the desire camera's fixed. i tagged you.
[HTC Desire Eye] agnostu:
I don't know how hard is to to port rom from htc m8, but these device have the same hardware (I think so, but i'm not sure), only camera is different, obviusly

I want to try, I will collect infos and stuff during this week, if someone is interested..