[Q] ADB Shell Reset Not Working Properly - One (M7) Q&A, Help & Troubleshooting

Hi!
I was messing around with my One (M7) in ADB to get hearthstone to work on it, and this worked perfectly.
However, upon using "adb shell wm size reset" to return my phone to normal not everything worked properly. Most noticeably is that the volume bar extends far beyond what it should when the phone is vertical (it seem permanantly stuck in the horizontal mode) and I think the icons are slightly blown up compared to what they used to be. FYI My phone is not rooted.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone help me? Thankyou in advance

Jaken326 said:
I was messing around with my One (M7) in ADB
Click to expand...
Click to collapse
describe what you did exactly otherwise the only thing I can think of is a factory reset

"adb shell wm size 1440x2560" to get the app to run properly, and sideloading the app onto my phone via adb.

Jaken326 said:
"adb shell wm size 1440x2560" to get the app to run properly, and sideloading the app onto my phone via adb.
Click to expand...
Click to collapse
what is the output of
Code:
adb shell wm size
1080x1920 ?

1080x1920 (after using the reset command)

Jaken326 said:
1080x1920 (after using the reset command)
Click to expand...
Click to collapse
Well Idk
Try to erase cache and dalvik cache?

Related

Clear Lockscreen

I need somebody with the knowhow to do me a favour!
I'm running the new MoDaCo rom for Hero, and I really don't like the standart HTC lockscreen, but I do adore this one.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can some body PLEAZ make me a .zip for updating my rom?
You can remove "HTC Lockscreen" via adb commands,then you got
Lockscreen similar to this!
Also there are apps at market which can change Lockscreen to this!
Code:
adb remount
adb shell rm /system/app/HtcLockScreen.apk
adb shell reboot or adb reboot
hmm.. app not found?
Nobody..???
Plesse help needed here!
When I adb this :
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
it says "cant remove, file is read only"
If your on the new rom, the default lockscreen (vanilla one that you want) is broken anyway. I doubt Modaco has fixed it (with all due respect to him).
VillainRom 10.3 however will defiantly have this fixed.
Lennyuk said:
If your on the new rom, the default lockscreen (vanilla one that you want) is broken anyway. I doubt Modaco has fixed it (with all due respect to him).
VillainRom 10.3 however will defiantly have this fixed.
Click to expand...
Click to collapse
That was a honest answer...!
deleted

ThunderBolt Boot Animation and Splash

I made a custom splash screen and i have the official boot animation for the thunderbolt.
Requirements:
Rooted Device with a 480 by 800 resolution
ADB and Fastboot
Instructions:
Just unzip the contents of the zip file to the tools folder of your AndroidSDK (or wherever you have fastboot installed).
Plug your phone into the computer (Debugging enabled of course)
Open a command window
Type adb devices to make sure your computer recognizes the device
cd to the folder where you have fastboot and the splash screen .img
Type adb reboot bootloader
Your screen should say fastboot, not Hboot. If it says Hboot, manually scroll down and switch to fastboot mode.
Once in the fastboot bootloader type fastboot devices to make sure your computer recognizes the device
Type fastboot flash splash1 nexuscustom.img
It will say okay twice
Then type fastboot reboot
Thanks to Iriscience for his guide for installing the splash screens.
Splash Screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Video:
http://www.youtube.com/watch?v=Jjna8ZCDTe0
Download:
http://rapidshare.com/files/442312648/Thunderbolt_Glacier.zip
vibrant?
Will this work on my vibrant?
lilflip193 said:
Will this work on my vibrant?
Click to expand...
Click to collapse
yea it should work fine
Halabeaster54 said:
yea it should work fine
Click to expand...
Click to collapse
k thank you..cant flash tonight because i dony want to mess up my phone for the weekend because im going on a snowboarding trip. Will test when i return
Looks great
Sent from my GT-I5800 using Tapatalk

fastboot can't see my dev phone 1

Hello,
I posted this on cyanogenMod forum few days ago, but no one was able to help me so far, so maybe I will have more luck here...
Recently I found my old dev phone 1 with stock image and decided to make it more useful by installing cyanogenMod on it. I tried to follow instructions on http://wiki.cyanogenmod.com/index.php?title=Android_Dev_Phone_1:_Full_Update_Guide page. I downloaded Amon_Ra's Recovery, adb and fastboot tools, added all-htc udev rules and followed instructions on fastboot page http://wiki.cyanogenmod.com/index.php?title=Fastboot#Access_bootloader to access the bootloader.
Unfortunately fastboot devices returned empty list of devices even more, lsusb did not list any new device.
When connecting the phone in debug mode adb sees my phone without problems and lsusb shows my phone as well so it's not connectivity problem.
I found this section about SPL S-OFF on fastboot page http://wiki.cyanogenmod.com/index.php?title=Fastboot#Verify_SPL_S-OFF and it seems it applies to my case as my fastboot screen looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The section continues that in such case I have to use different SPL, so I went to http://wiki.cyanogenmod.com/index.php?title=HTC_Dream:_DangerSPL page to install DangerSPL, but it requires Amon_Ra recovery which again requires fastboot to install so there's a cycle here
I would be grateful for any hints what I should do in this situation
Thanks!
ok, never mind: I used standard dream procedure with rooting and it worked ok, I'm on cyanogenMod now
Cheers
Morg

help with my new s3 mini recovery mode

i have htc desire that when mobile excceded the limit of wrong paterns i should go to recovery mode and ..........
but when i bought s3 mini i havent found key combination or mix to boot in recovery
i already have samsung drivers installed on my pc ( windows 7 ultimate 32 bit )
so i decided to try the adb method as i have sdk installed
i went to c\sdk\platforms tool\ and (shift+ rightclick on adb )
i typed adb devices
it said
adb server is out of date killing....
daenon started succesfully
list of devices atttatched
but no serial number bunch of devices appeared !!!!
so i typed
adb reboot recovery
it said
adb server is out of date killing....
daenon started succesfully
daenon still not running error :cant connect to daenon
and in some cases it says device is not found
Are you using the latest SDK?
Sent from my GT-I8190 using Tapatalk 4
Use Toolkit http://forum.xda-developers.com/showthread.php?t=2185700 and there in it that you Enable menu button recovery mode
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
From what I know of this main menu
choose 18 then write 'no' and you got "Enable 3 button combo"
Enable or download 3 buttons
Chameleon. said:
Use Toolkit http://forum.xda-developers.com/showthread.php?t=2185700 and there in it that you Enable menu button recovery mode
choose 18 then write 'no' and you got "Enable 3 button combo"
Click to expand...
Click to collapse
Or just take it from here without the toolkit.

ADB Sideload failed

Hello, im new here. Today i wanted to root my xiaomi mi 8. I flashed twrp via pc and next step in minimal adb and fastboot to add command: adb sideload Disable_Dm-Verity_FEC_v1.1.zip
i added that command and on my phone twrp it shows ERROR:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Everything, all commands worked fine until this error.
Thank you guys for help
if someone knows what to do, please contact me
why are you trying to flash the DFE? Isn't it easier to just flash the magisk?
UnNamedChronos said:
why are you trying to flash the DFE? Isn't it easier to just flash the magisk?
Click to expand...
Click to collapse
I flashed magisk but now i stuck on boot logo MIUI and after some time i rebooted into twrp recovery
First just a helpful hint, Minimal ADB hasn't been updated in a long time but it still works great. Just go to Googles site, download the small ADB package and replace the ADB and Fastboot exe's from the download into Minimal and replace.
My phone for example won't work with the old files included with minimal.
Anyway, onto your issue. Don't know MIUI but get the jist of what you're doing. To me this appears that unless this was tailor made for your phone, it tried rewriting the boot partition, not enough space so it tried compressing. Rewrote the boot partition and failed.
So you don't have a boot image or it's corrupt. Again don't know MIUI but it's probably soft bricked and you'll need to reflash or restore a backup which I assume/hope you made since you have TWRP

Categories

Resources