Screen locked, forgot pattern. (and great battery!) - Optimus One, P500, V Q&A, Help & Troubleshooting

I gave my precious O1 to my sister. She set up pattern lock, went to camp without a phone and after 9 days she forgot it. Oh, and battery was on 15% after 9 days. WTF. Any flashable zips to remove it? (Yes, I should've googled it, but I just wanted you to know about wonderful battery life)

go to recovery mode
ashirviskas said:
I gave my precious O1 to my sister. She set up pattern lock, went to camp without a phone and after 9 days she forgot it. Oh, and battery was on 15% after 9 days. WTF. Any flashable zips to remove it? (Yes, I should've googled it, but I just wanted you to know about wonderful battery life)
Click to expand...
Click to collapse
go to recovery mode and wipe data
---------- Post added at 05:26 PM ---------- Previous post was at 05:25 PM ----------
or use factory reset

rsbuttar7 said:
go to recovery mode and wipe data
---------- Post added at 05:26 PM ---------- Previous post was at 05:25 PM ----------
or use factory reset
Click to expand...
Click to collapse
Pfffft...
Code:
adb devices
adb shell
cd data/system
su
rm *.key
No need for stupid wiping

Source

ok
ashirviskas said:
Pfffft...
Code:
adb devices
adb shell
cd data/system
su
rm *.key
No need for stupid wiping
Click to expand...
Click to collapse
ok thats fine if u gt sumthing better den dat

Related

[Q] Terminal not showing any output?

After I have succesfull root and unroot my terminal doesn't show any output only error messages. I'm also unable to re-root my device. When I copy psneuter to /data/local/tmp the terminal doesn't give any message nor an error message but psneuter isn't copy. I have verified it by createing in a file in /data/local/tmp and copy it to my sdcard. Gingerbreak doesn't work either and gives error "Couldn't extract asset". I have an orphaned su on my device but it has only user rights. Is there a way I can fix my terminal and re-root my device? Uh!
Are you sure the issue is not with the terminal app ?
you can try other terminal app to confirm
---------- Post added at 07:34 PM ---------- Previous post was at 07:20 PM ----------
Are you sure the issue is not with the terminal app ?
you can try other terminal app to confirm
appviz said:
Are you sure the issue is not with the terminal app ?
you can try other terminal app to confirm
---------- Post added at 07:34 PM ---------- Previous post was at 07:20 PM ----------
Are you sure the issue is not with the terminal app ?
you can try other terminal app to confirm
Click to expand...
Click to collapse
I tried many things I also tried a different terminal app to no avail. The solution was to copy a working busybox. I think toolbox would work, too. My busybox was out-of-order and toolbox was also replaced with busybox! As a result many blobs didn't work and the terminal was black. Su did work because it a standalone applet. Adb push to /data/local/tmp worked, too, but the terminal was black and many applet not working.

Z5 Rooting & Recovery Boot Mode (UK Xperia Z5 E6653)

Morning All,
I've been looking around for a stock Lollipop 5.1.1 Rom for the Xperia Z5 but haven't come across one yet, are there preferred site to browse for stock roms?
Also, is anyone aware of how to boot into recovery mode? Does a stock Sony Rom for Lollipop have it enabled?
http://developer.sonymobile.com/201...for-a-range-of-unlocked-xperia-devices-video/
Could you call *#*#2673#*#* in dial app?
If it doesn't blocked by security, we can enable non-secure ADB thanks to new app in Z5 system.
Does anyone know if someone working on a root method
AndroPlus said:
Could you call *#*#2673#*#* in dial app?
If it doesn't blocked by security, we can enable non-secure ADB thanks to new app in Z5 system.
Click to expand...
Click to collapse
Hello AndroPlus, sorry if this is noob question but could you explain what is it non secure adb and for what exactly it is useful? I tried dial that number and i was able to get into core settings menu with option switch non secure adb on but im still not sure what does it mean exactly and google is pretty silent about this as i can't find any informations about it
Sent from my E6653 using XDA Free mobile app
flakac said:
Hello AndroPlus, sorry if this is noob question but could you explain what is it non secure adb and for what exactly it is useful? I tried dial that number and i was able to get into core settings menu with option switch non secure adb on but im still not sure what does it mean exactly and google is pretty silent about this as i can't find any informations about it
Sent from my E6653 using XDA Free mobile app
Click to expand...
Click to collapse
You can use # (root) in adb shell if non secure adb is enabled.
We have to find how to disable dm-verity and ric to mod system partition, though...
AndroPlus said:
You can use # (root) in adb shell if non secure adb is enabled.
We have to find how to disable dm-verity and ric to mod system partition, though...
Click to expand...
Click to collapse
Nice,that's interesting, I owned every single Xperia Z and red alot about rooting on each single model but never heard about non secure adb.
But now I am huge fan of non secure adb,i hope someone will find how to disable ric!
Sent from my E6653 using XDA Free mobile app
AndroPlus said:
You can use # (root) in adb shell if non secure adb is enabled.
We have to find how to disable dm-verity and ric to mod system partition, though...
Click to expand...
Click to collapse
Does that mean you can backup TA partition in adb shell using dd command?
shoey63 said:
Does that mean you can backup TA partition in adb shell using dd command?
Click to expand...
Click to collapse
Yes, if it works.
Sometimes security feature blocks root to do any actions (they are stronger than root...), so someone should try it first.
shoey63 said:
Does that mean you can backup TA partition in adb shell using dd command?
Click to expand...
Click to collapse
Could anyone with a Z5 or Z5 Compact try this, please?
I'd love to know before buying one.
non-secure ADB works on my Z5 (sim-free UK).
What is the command to backup partitions?
okgnew said:
non-secure ADB works on my Z5 (sim-free UK).
What is the command to backup partitions?
Click to expand...
Click to collapse
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/TA of=/sdcard/TA.img
hm. it does not work.
I get 'permissions denied'
okgnew said:
hm. it does not work.
I get 'permissions denied'
Click to expand...
Click to collapse
If you type
Code:
id
, what do you get?
[email protected]:/ $ id
id
uid=2000(shell) gid=2000(shell) groups=1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2993(
trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
---------- Post added at 09:48 PM ---------- Previous post was at 09:47 PM ----------
[email protected]:/ $ dd if=/dev/block/platform/msm_sdcc.1/by-name/TA of=/sdcard/TA.img
v/block/platform/msm_sdcc.1/by-name/TA of=/sdcard/TA.img <
dd: /dev/block/platform/msm_sdcc.1/by-name/TA: Permission denied
---------- Post added at 09:49 PM ---------- Previous post was at 09:48 PM ----------
W:\>adb push hosts /data/data
failed to copy 'hosts' to '/data/data/hosts': Permission denied
okgnew said:
[email protected]:/ $ id
id
uid=2000(shell) gid=2000(shell) groups=1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2993(
trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
---------- Post added at 09:48 PM ---------- Previous post was at 09:47 PM ----------
[email protected]:/ $ dd if=/dev/block/platform/msm_sdcc.1/by-name/TA of=/sdcard/TA.img
v/block/platform/msm_sdcc.1/by-name/TA of=/sdcard/TA.img <
dd: /dev/block/platform/msm_sdcc.1/by-name/TA: Permission denied
---------- Post added at 09:49 PM ---------- Previous post was at 09:48 PM ----------
W:\>adb push hosts /data/data
failed to copy 'hosts' to '/data/data/hosts': Permission denied
Click to expand...
Click to collapse
You are not root, you are shell user.
You are using secure ADB.
I run 'adb root' but it did not change anything
And 'su' returns 'command not found'
After unsecuring ADB is it possible to push su and busybox via ADB with a computer
Thekjp95 said:
After unsecuring ADB is it possible to push su and busybox via ADB with a computer
Click to expand...
Click to collapse
Not that I could see. I tried a few commands which didn't work but even if you did dm-verity would have to be disabled otherwise the system would bootloop
Sent from my E6653 using Tapatalk
@DooMLoRD will you be willing to do work on the z5

Cant delete a Malware app with root permission

I can't delete following malware app with root permission.
com.android.provider.down3-1.apk
com.google.model.mi-1.apk
com.google.fk.json.slo.apk
It shows an error:rm failed for com.hola.launcher-1.apk, Operation not permitted
Can any help me out?
This is a malware that changed the immutable attrib
---------- Post added at 11:44 PM ---------- Previous post was at 11:40 PM ----------
svprm said:
I can't delete following malware app with root permission.
com.android.provider.down3-1.apk
com.google.model.mi-1.apk
com.google.fk.json.slo.apk
It shows an error:rm failed for com.hola.launcher-1.apk, Operation not permitted
Can any help me out?
Click to expand...
Click to collapse
You need busybox installed.
Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name"
This time it will get removed without error
Enjoy
Bithacker01 said:
---------- Post added at 11:44 PM ---------- Previous post was at 11:40 PM ----------
You need busybox installed.
Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name"
This time it will get removed without error
Enjoy
Click to expand...
Click to collapse
thanks bro.
It worked.
thanks Bithacker it worked. thank a lot
I have problem to remove "com.aiwozhh.ph.cz.apk" on my Android even I followed the below;
(Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name" )
the error msg is "Operation not permitted".
Pls help!!!!!!!!!!
Thanks,
Piseth
Bithacker01 said:
---------- Post added at 11:44 PM ---------- Previous post was at 11:40 PM ----------
You need busybox installed.
Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name"
This time it will get removed without error
Enjoy
Click to expand...
Click to collapse
Can this be done using terminal emulator?
Wil53664 said:
Can this be done using terminal emulator?
Click to expand...
Click to collapse
Yes, You can use any terminal emulator.
---------- Post added at 09:30 AM ---------- Previous post was at 09:23 AM ----------
Lim Piseth said:
I have problem to remove "com.aiwozhh.ph.cz.apk" on my Android even I followed the below;
(Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name" )
the error msg is "Operation not permitted".
Pls help!!!!!!!!!!
Thanks,
Piseth
Click to expand...
Click to collapse
You need to have root access.
Try rooting your device, use Kingroot App
Then, try these commands
su
chattr -AacdDijsStu *.apk
rm "your package name"
How can I delete the su file from the /system/bin and /system/xbin I keep getting operation not permitted
Lim Piseth said:
I have problem to remove "com.aiwozhh.ph.cz.apk" on my Android even I followed the below;
(Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name" )
the error msg is "Operation not permitted".
Pls help!!!!!!!!!!
Thanks,
Piseth
Click to expand...
Click to collapse
U can try with titanium backup once
If it doesn't work, reboot the phone, freeze the app fast when it boots and then try to uninstall it with titanium
It worked for me once
---------- Post added at 06:00 AM ---------- Previous post was at 05:58 AM ----------
Lim Piseth said:
I have problem to remove "com.aiwozhh.ph.cz.apk" on my Android even I followed the below;
(Try this commands:
chattr -AacdDijsStu *.apk
rm "your package name" )
the error msg is "Operation not permitted".
Pls help!!!!!!!!!!
Thanks,
Piseth
Click to expand...
Click to collapse
Firstly, root ur phone
If it's rooted
Fir type SU and enter
Then try to do whatever u want
Hey! I've been following this problem because I have the same situation, I have a malware named:
VPN
net.qwe.vpn
ad.apk
And I am using this method you just explain BUT the terminal emulator says No such file Not found something like that, there is anything else for me to do? How the freaking hell can I find the real name of this thing? Or what can i do in the emulator in order to be able to find it... Please help
MissSofy said:
Hey! I've been following this problem because I have the same situation, I have a malware named:
VPN
net.qwe.vpn
ad.apk
And I am using this method you just explain BUT the terminal emulator says No such file Not found something like that, there is anything else for me to do? How the freaking hell can I find the real name of this thing? Or what can i do in the emulator in order to be able to find it... Please help
Click to expand...
Click to collapse
did u write the package name?
Yes, I did, I even tried on the three names one by one, correct me If im wrong, I wrote this:
su
chattr -AacdDijsStu ad.apk
rm ad.apk
And it appear a line saying No file in directory or something about not finding it. Then I tried the other name:
su
chattr -AacdDijsStu net.qwe.vpn
rm net.qwe.vpn
And nothing... could you please tell me if what i wrote was correct? Or write it in the correct way with the name included
---------- Post added at 07:05 PM ---------- Previous post was at 06:26 PM ----------
Nevermind... I just found out I delete the virus previously . I did so much stuff with the cellphone, I think what got rid of it was a "Format" I applied with the PC. Because I plugged in my cellphone and my laptop, browse its files and find the malware, and I try to delete it but it say that I was not allowed, so I just select the cellphone and did a "quick format" you know? That thing you do with the USB Flash drive, and i did, and later I found this website and I tried what you said and on the screen appear a message saying not found.... I just right now check the system apps with root brower and I cannot find the malware, even with my ikarus antivirus! Im so happy! Thank you anyways this is such a helpfull blog... Im still going to run some scans though, to really make sure the malware is gone for good! thanks again

Rooting anyone ?

Hi all did anyone try to root the phone ?
Nope. Be a pioneer!
Still no root for this model :/ :'(
Guys, there may be root anyone with an octopusbox ?
Check the pic
More
Great who has one and can you remote root? Lol
Sent from my SM-G930P using XDA-Developers mobile app
Well this is what i say progress
root is available now, its in the att s7 section i think. my tmobile s7 is rooted.
T-Mobile s7 flat confirmed. Apb6 https://www.dropbox.com/s/ub8ccnppjx0zeit/Screenshot_20160704-112322.png?dl=0
grim489 said:
root is available now, its in the att s7 section i think. my tmobile s7 is rooted.
Click to expand...
Click to collapse
I rooted mine and all hell broke loose. Insane lag and tons of fc's. Then I couldn't install anything and WiFi calling won't work.
Followed all instructions and even watched a video. Eng boot installed fine but trying to get root is another story. After pushing root via adb it says Success then phone automatically reboots. SuperSU is installed, but root checker says there is not root. Also starting up titanium back up it cannot detect root either.
I have re-downloaded and pushed the files about 4 additional times without success. Any ideas? Thanks in advanced.
Some Assembly Required
sacnotsack said:
Followed all instructions and even watched a video. Eng boot installed fine but trying to get root is another story. After pushing root via adb it says Success then phone automatically reboots. SuperSU is installed, but root checker says there is not root. Also starting up titanium back up it cannot detect root either.
I have re-downloaded and pushed the files about 4 additional times without success. Any ideas? Thanks in advanced.
Click to expand...
Click to collapse
I Rooted mine using the moded Odin and using The OCTOPLUS. The only thing you might be having trouble is installing SuperSu. On The ROOT.BAT file theres a couple of coding errors.
Well Nothing Is written wrong... it just that you need a couple of adb wait for device because the device reboots in a couple of lines...:laugh:
Make a new bat file with this code
adb wait-for-device
adb shell mount -o rw,remount /system
adb shell mount -o rw,remount rootfs /
adb push SuperSU-v2.74-2.img /data/su.img
adb push launch_daemonsu.sh /system/etc/launch_daemonsu.sh
adb wait-for-device
adb install -r SuperSU-v2.74-2.apk
adb shell < supersu.cmds
adb wait-for-device
adb shell pm hide com.LocalFota
adb shell pm hide com.samsung.android.intelligenceservice
adb shell pm hide com.samsung.android.securitylogagent
adb shell pm hide com.samsung.sdm
adb shell pm hide com.samsung.syncservice
adb shell pm hide com.sec.android.diagmonagent
adb shell pm hide com.sec.android.fotaclient
adb shell pm hide com.sec.android.fwupgrade
adb wait-for-device
adb shell pm hide com.sec.fwservice
adb shell pm hide com.ws.dm
adb shell pm hide com.wssyncmldm
adb reboot
---------- Post added at 12:19 AM ---------- Previous post was at 12:15 AM ----------
So Far Root SUCK. It Does Work... but the kernel we are using to make the root possible makes my phone lag and have a lot of slow performance...
I Will not recommended it for daily use. But For a ONE TIME USE... AWESOME!! It Works Fine!! :good:
RColon102 said:
I Rooted mine using the moded Odin and using The OCTOPLUS. The only thing you might be having trouble is installing SuperSu. On The ROOT.BAT file theres a couple of coding errors.
Well Nothing Is written wrong... it just that you need a couple of adb wait for device because the device reboots in a couple of lines...:laugh:
Make a new bat file with this code
adb wait-for-device
adb shell mount -o rw,remount /system
adb shell mount -o rw,remount rootfs /
adb push SuperSU-v2.74-2.img /data/su.img
adb push launch_daemonsu.sh /system/etc/launch_daemonsu.sh
adb wait-for-device
adb install -r SuperSU-v2.74-2.apk
adb shell < supersu.cmds
adb wait-for-device
adb shell pm hide com.LocalFota
adb shell pm hide com.samsung.android.intelligenceservice
adb shell pm hide com.samsung.android.securitylogagent
adb shell pm hide com.samsung.sdm
adb shell pm hide com.samsung.syncservice
adb shell pm hide com.sec.android.diagmonagent
adb shell pm hide com.sec.android.fotaclient
adb shell pm hide com.sec.android.fwupgrade
adb wait-for-device
adb shell pm hide com.sec.fwservice
adb shell pm hide com.ws.dm
adb shell pm hide com.wssyncmldm
adb reboot
Click to expand...
Click to collapse
So typing all of that into adb will make a new bat file? I assume once the new bat file is created then run it as normal?
---------- Post added at 01:37 AM ---------- Previous post was at 01:30 AM ----------
Disregard my last post
---------- Post added at 01:54 AM ---------- Previous post was at 01:37 AM ----------
So making new root bat with the added lines of add wait-for-device did not work. After it rebooted and the start up was complete it randomly rebooted once before I could check the root status. When it booted back up again root checker showed no root.
On a side note any have the PD8 firmware? It won't download to my phone for some reason. And I'm using my surface pro from work to do all of this and can't connect to my wifi with it. I have PB8, would it be safe to down grade via Odin then start fresh with the process if nobody has the PD8?
Wiped cache and tried again. Got this before it told me there was no root this time.
As soon as I posted my last post root checker asked for root permission. I granted it and checked root status again. It says I'm good. Thank you for the help.
Demonith said:
Hi all did anyone try to root the phone ?
Click to expand...
Click to collapse
yes it's fine..actually very pleased
---------- Post added at 04:38 AM ---------- Previous post was at 04:37 AM ----------
borisbwhacking said:
yes it's fine..actually very pleased
Click to expand...
Click to collapse
ive been around since the beginning of xda.i just have to keep changing accounts
lag is bad, WIFI doesn't remember the code after reboot.
I did have to wipe data to get it to stop boot looping
the good part is that I have AdAway again and root uninstall say good bye t-mobile apps.
nice work cant wait for custom roms and TWRP
davidtanis said:
lag is bad, WIFI doesn't remember the code after reboot.
I did have to wipe data to get it to stop boot looping
the good part is that I have AdAway again and root uninstall say good bye t-mobile apps.
nice work cant wait for custom roms and TWRP
Click to expand...
Click to collapse
WiFi fix =
http://forum.xda-developers.com/showpost.php?p=67602933&postcount=99
Lag issues, i read downloading no-frills cpu gov and changing it to interactive or performance fixes the lag.
esjames said:
WiFi fix =
http://forum.xda-developers.com/showpost.php?p=67602933&postcount=99
Lag issues, i read downloading no-frills cpu gov and changing it to interactive or performance fixes the lag.
Click to expand...
Click to collapse
I still had lag with no frills, so I tried trickster mod since I used it in the past. Works great, no lag. You want to change the governor to interactive or on demand.
With the wifi fix I had to be connected to my wifi for the fix to work.

[ROOT][Guide]Bypassing Android Password/Pattern/Face/PI (Lollipop-Marshmallow)

INSTRUCTIONS:
1. Connect phone to computer
2. Open a terminal/cmd window on computer
3. Type:
Code:
adb devices
adb shell
cd data/system
rm locksettings.db
rm locksettings.db-shm
Reboot, and boom! Removed
i dont have twrp then?
sohamsen said:
i dont have twrp then?
Click to expand...
Click to collapse
Fixed the guide, thanks for catching that!
Honestly Annoying said:
Fixed the guide, thanks for catching that!
Click to expand...
Click to collapse
nice guide
---------- Post added at 09:36 AM ---------- Previous post was at 09:35 AM ----------
what about 4.4.4 or less?
And for Non-Rooted devices.?
Sent from my SM-N930F using Tapatalk

Categories

Resources