2.1 Hero Lock Screen - Hero CDMA Q&A, Help & Troubleshooting

Got I Question....
Why the Hero doen't show the 2.1 Lock 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"
}
And instead it shows the default one...
Any App or something?

you gotta remove htc's lock screen first.
adb shell
rm /system/app/HtcLockScreen.apk
reboot

justinisyoung said:
you gotta remove htc's lock screen first.
adb shell
rm /system/app/HtcLockScreen.apk
reboot
Click to expand...
Click to collapse
Then what?

I'm Lost becuase I'm a Newbie, and I'm running 2.1 Sprint Update if I could explain step by step, I would be very grateful.

go into a command prompt
Cd C:\AndroidSDK\tools
adb remount
adb shell
adb rm /whereEverTheHellThatLockScreenFileIsPostedAbove
exit
adb reboot
check out the lock screen...it may not be rotary style, it may be slide...
If it isn't rotary, there is an update zip somewhere around here....
Check int he closet...third self, fifth box back...
damn beer....getting to me postings again.

I just rooted my phone and did what you told me and it says Permission denied
C:\android-sdk-windows\tools>adb shell
$ adb rm /system/app/HtcLockScreen.apk
adb rm /system/app/HtcLockScreen.apk
adb: permission denied
$ rm /system/app/HtcLockScreen.apk
rm /system/app/HtcLockScreen.apk
rm failed for /system/app/HtcLockScreen.apk, Permission denied

Got it, remove the HTC Lock Screen but i am having this problem
How do I Resolve this?
I think here is the answer but i don;t know what to do or how to install http://geekfor.me/fixes/vanilla-lockscreen

rockypr said:
Got it, remove the HTC Lock Screen but i am having this problem
How do I Resolve this?
I think here is the answer but i don;t know what to do or how to install http://geekfor.me/fixes/vanilla-lockscreen
Click to expand...
Click to collapse
try
adb remount
then ALL your commands. should work.

Got it, remove the HTC Lock Screen but i am having this problem
How d
Click to expand...
Click to collapse
try
adb remount
then ALL your commands. should work.
Click to expand...
Click to collapse
I removed the default lockscreen, but I am getting the error that shows on the screenshot

riggsandroid said:
try
adb remount
then ALL your commands. should work.
Click to expand...
Click to collapse
What are all the commands? Sorry I'm a noob.

Related

Adb root showing, but not on phone?? - fyodor rom - help please

Hi,
i have rooted my phone and applied newest recovery following every instruction on this site to the letter.
also installed and using fyodor's excellent rom since it's first release.
when i use adb i always obtain root # and have done so since flashing and entering commands
but when i try to access root on my phone (root explorer for example) i am now unable to mount rw/ro?? and cannot browse files. i also use cachemate which appears to gain root access and do its job
any help much appreciated as to how to solve this issue and allow my phone to recognise root
thank you for any help
Hi huetson2:
Try to execute the command below(on PC):
Code:
adb shell ls -l /system/sbin/su
If you get this output, I think rootExplorer and others(e.g.: Autostarts, setCPU) will work properly.
Code:
-rwsr-sr-x root root 76232 2008-08-01 20:00 su
cn.fyodor said:
Hi huetson2:
Try to execute the command below(on PC):
Code:
adb shell ls -l /system/sbin/su
If you get this output, I think rootExplorer and others(e.g.: Autostarts, setCPU) will work properly.
Code:
-rwsr-sr-x root root 76232 2008-08-01 20:00 su
Click to expand...
Click to collapse
-rwsr-sr-x root root 76232 2008-08-01 13:00 su
but still no root on phone!, got an error message on handset telling me su cannot be found?
setcpu not working either,
I have a similar problem. I'll post a screenshot.
{
"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"
}
EDIT: adding some info... If I type "su" from terminal emulator, it says something like "access granted, courtesy of magicandroidapps.com.
Root explorer works ok...
Chackemate and SetCPU work...

[Q] Help editing hosts file

I'm running one-click root, unleash the beast, circle battery and ext2 lag fix. Unleash the beast updated my hosts file to block ads but unfortunately also blocks the Audiogalaxy servers which I'd like to use for their new streaming app.
Trying to edit the hosts file I did an adp pull to my PC, edited the file and saved. But I can't push it back to /system/etc/hosts as I get a "permission denied" error.
After some reading it seems this means my root directory doesn't mounted with write permissions. I tried "adb root" but it gives me error "cannot run as root in production builds" and tried "adb remount" but that gives me error "remount failed: No such file or directory". I'm stuck at this point.
Any ideas? Could this be because I'm running the ext2 lag fix?
phishie said:
I'm running one-click root, unleash the beast, circle battery and ext2 lag fix. Unleash the beast updated my hosts file to block ads but unfortunately also blocks the Audiogalaxy servers which I'd like to use for their new streaming app.
Trying to edit the hosts file I did an adp pull to my PC, edited the file and saved. But I can't push it back to /system/etc/hosts as I get a "permission denied" error.
After some reading it seems this means my root directory doesn't mounted with write permissions. I tried "adb root" but it gives me error "cannot run as root in production builds" and tried "adb remount" but that gives me error "remount failed: No such file or directory". I'm stuck at this point.
Any ideas? Could this be because I'm running the ext2 lag fix?
Click to expand...
Click to collapse
did you type in su before using pushing the file?
Edit: it would be like this
su (press enter)
adb push blah*
tytdfn said:
did you type in su before using pushing the file?
Edit: it would be like this
su (press enter)
adb push blah*
Click to expand...
Click to collapse
Yea I had tried that. "su" by itself is not a recognized command. "adb su" just prints the adb help text (lists commands).
{
"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"
}
Ok maybe I need to simplify my question:
Does anyone know how to get the root directory to mount to USB with write permissions?
This is what I use to put things in and out of /system/. Haven't a clue what most of the commands mean, but it works for me all the time.
(You have to be root'd)
Code:
First, put the file on your desktop.
adb push %userprofile%\desktop\<filename> /sdcard
adb shell
su
mount -o rw,remount /system
rm /system/.../<filename>
busybox mv /sdcard/<filename> /system/...
Hope that helps.
MikeyMike01 said:
This is what I use to put things in and out of /system/. Haven't a clue what most of the commands mean, but it works for me all the time.
(You have to be root'd)
Code:
First, put the file on your desktop.
adb push %userprofile%\desktop\<filename> /sdcard
adb shell
su
mount -o rw,remount /system
rm /system/media/<filename>
busybox mv /sdcard/<filename> /system/media
Hope that helps.
Click to expand...
Click to collapse
Cool I'll try that, are you running any lag fixes by chance?
phishie said:
Cool I'll try that, are you running any lag fixes by chance?
Click to expand...
Click to collapse
Yeah, the one that come in the old SuperRooter.
MikeyMike01 said:
This is what I use to put things in and out of /system/. Haven't a clue what most of the commands mean, but it works for me all the time.
(You have to be root'd)
Code:
First, put the file on your desktop.
adb push %userprofile%\desktop\<filename> /sdcard
adb shell
su
mount -o rw,remount /system
rm /system/.../<filename>
busybox mv /sdcard/<filename> /system/...
Hope that helps.
Click to expand...
Click to collapse
Permission denied when trying to push to /sdcard.
MikeyMike01 said:
This is what I use to put things in and out of /system/. Haven't a clue what most of the commands mean, but it works for me all the time.
(You have to be root'd)
Code:
First, put the file on your desktop.
adb push %userprofile%\desktop\<filename> /sdcard
adb shell
su
mount -o rw,remount /system
rm /system/.../<filename>
busybox mv /sdcard/<filename> /system/...
Hope that helps.
Click to expand...
Click to collapse
By the way this worked perfectly once I realized I needed to physically approve the "su" request on the phone. Thanks again.

[Tutorial] Turn on WiFi via adb! Locked out of phone with wifi off?

Hello all, i just want to make this little "tutorial" since this happend to my brother
{
"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"
}
As you see the phone is locked out with no wifi.
And to get into the phone with your google account you need a data connection (ofc).
1: You need to have USB debugging on or else this guide is nothing for you.
2: Get adb and install your phones drivers.
3: Open up cmd and navigate to the adb folder.
Code:
cd c:\user\folder(s)\
4: Make sure adb recognises your phone by typing
Code:
adb devices
5: Type this one by one
Code:
adb shell
su
svc wifi enable
6: Wait for wifi to connect and log in to your google account as you would do normally.
And don't forget to hit that thanks button if it worked, Thank you.​
Tried it but I get a "Killed" response after the svc wifi enable command. I'm using a stock ROM from Cherry Mobile, which is a Karbonn A21. Thanks for your help.
Permission denied error
tried but when i ente "su" command it gives me an error . Permission Denied what shoul i do ?
When I type "su" it says "/system/bin/sh: su: not found"
albourcin said:
When I type "su" it says "/system/bin/sh: su: not found"
Click to expand...
Click to collapse
What are you trying to do mate??
Same issue as the OP??
SU is for super user
the
cd c:\user\folder(s)\
is an example, are you pointing to your ADB folder?
So i have mine on the root of C:
So mines:
C:\ADB
Then once in, i would type the commands.
You would need USB Debugging to be on for this to work and SU? I would have imagined that you would have to be rooted? Superuser?
Never used this command without root so not sure.
Try this instead of the command above.
Again via ADB, via CMD or powershell whilst the path is your adb folder, eg: C:\ADB
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
update secure set value=1 where name='wifi_on';
OR, if you have TWRP installed, then try this.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
Hey
YAORA NA
i discover this, this very day ...
5: Type this one by one (NO ROOT NEEDED)
To enable/disable the Wi-Fi,
please use the following adb commands:
5/1. To launch the Wifi option on Settings
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
5/2. To disable or enable the wifi mode,
following command will toggle the button to opposite mode.
adb shell input keyevent 19 & adb shell input keyevent 19 & adb shell input keyevent 23
ET VOILA
Happy New Year
There is also this...
Set up wifi to never turn off
Android 12 Developer options adb "Wireless debugging" option keeps turning off
The Android 12's new features for 'Developer options' 'Wireless debugging' is fantastic because you never need a USB cable anymore to connect between the PC and the Android phone using adb (e.g., when using Vysor or scrcpy). However, I am...
forum.xda-developers.com
adb shell settings put global cw_disable_wifimediator 1
Turn wifi on and off
How to turn on and off the WiFi through ADB (no root)?
I found I can use these ADB commands to turn on and of the WiFi of a rooted phone: adb shell su -c 'svc wifi enable' adb shell su -c 'svc wifi disable' However, I'm interested in doing it without having to root the phone for an automatic...
forum.xda-developers.com

[App][4.0+] CM App Installer

CM App Installer will pull the latest versions of the apps available that CyanogenMod exclusively develop, and give you the option to install them to your system either rooted or non-rooted. I cannot guarantee success with this, I don't develop the application, my job is simply to make it easier for you guys to get your favourite CyanogenMod apps on your own ROMs!
Use carefully! As ever, I do not take responsibilty for any damage done to your device as a result of this! The root features use the code specified in "code" in the options menu, or it's listed below. If you're paranoid, please give it a read
I have to emphasise, please try the non-root method first!. The root method is designed as a last ditch attempt to get it working, it does backup and restore your old versions but errors do happen, expect this as a possibility if you're rooted!
The list of apps available in the application are:
Apollo
Calculator
CM File Manager
Torch
Messaging
DSP Manager
Voice+
News and Weather Widget
Trebuchet Launcher
cLock Widget
Movie Studio
CM Wallpapers
Let me know if you have any more suggestions to add!
Code
This information is also available from within the application.
There are a number of commands that this application uses, it executes certain processes through the code to copy apps to the system directory.
These commands are ran as if they were ran inside the terminal emulator, and always consist of
process, remount to read-write, transfer/copy/rename, remount to read-only, close. (In this order).
I use a Process to get a SU Runtime instance
Code:
Process p = Runtime.getRuntime().exec("su");
And then I use a PrintStream to issue the commands listed below to it.
Remount the system partition as read-write
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Rename an app (use move command to move with a different extension - Creating backups)
Code:
mv /system/app/AppOfChoice.apk /system/app/AppOfChoice.bak
Copy an app from SD card to System directory
Code:
cat /sdcard/CMApps/AppOfChoice.apk > /system/app/AppOfChoice.apk
Remove an app from system partition
Code:
rm -r /system/app/AppOfChoice.apk
For permissions, I use chmod
Code:
chmod 644 /system/app/AppOfChoice.apk
Remount the system partition as read-only
Code:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
And that is it. The process commands get pushed over the course of about two seconds, and should work. Again, I can't promise everything.
Credit also goes to the Reddit member /u/wchill, his code helped with the system code (shown in the Code section above)
Similarly, I do not take any responsibility if this app causes your phone to be bricked, corrupted, broken, or to encounter an unfortunate case of spontaneous combustion. Use at your own risk.
In the mean time, enjoy!
{
"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"
}
Source:
See this xda thread

[GUIDE] Not registered on network fix - EFS failed to mount - NO IMEI or Zero IMEI

Today i got an issue for my N960F after flashing a custom ROM. I'm not sure till now what've gone wrong, but after rebooting my device i faced an issue that my SIM card can not register on network.
Cellular network signal is full, but can not make any calls and can not connect to data.
Tried to restore through TWRP with a nand backup, but always fails as EFS partition can not be mounted. Eventually I managed to restore my EFS partition after following the hereunder steps.
I'll just leave it here if anyone faced the same in the future.
Disclaimer: You are doing this at your own risk. I shall not be held liable for any losses or bricked devices ( They already are )
Pre requisites:
- ADB on your PC, latest SDK is preferred.
- Custom recovery ( with ADB enabled )
- Better to have a previous EFS backup
Steps:
- Reboot into recovery and enable ADB ( in TWRP, ADB is enabled by default )
- Attach your device to your PC. and open your terminal or command prompt as an admin.
- Type the following commands:
- Navigate to your ADB folder ( in my case it is C:/ADB )
cd C:/ADB
- Ensure that your phone is readable in ADB mode
c:\ADB>adb devices[ATTACH type="full"]5610649[/ATTACH]
c:\ADB>adb shell
Your terminal handle should change into root ~ #
~ # cd /dev/block
/dev/block # ls
you should get an output 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"
}
/dev/block # cd by-name
/dev/block/by-name # ls -la
you should see device partitions listed as this .. EFS partition is highlighted in yellow and is on sda3 as below
/dev/block/by-name # mke2fs /dev/block/sda3
and you should be prompted by a message to proceed or not. Press y then enter
Finally,
/dev/block/by-name # mount -w -t ext4 /dev/block/sda3
We successfully formatted and mounted EFS partition and now either to restore your old EFS backup or flash stock firmware through ODIN.
Resources:

Categories

Resources