[Solved] Force Move to SD In Stock Rom - Optimus One, P500, V General

First U need to Have installed ADB, And drivers Properly installed
Go to cmd
>>type adb
>>then type adb devices
>>then type adb shell
>>then the symbol changes to $
>>then type pm setInstallLocation 2
>>then exit
Done Now Now on your phone go to Settings->>Applications->>Manage Applications
Under the USB Storage Tab now u can move apps forcably
If u Want Set the location As before just type setInstallLocation 0

Related

remove icon

is there a way to remove icons from the start menu? i have a custom rom (modaco and there are a few apps i cant remove i was wondering if i can just remove ther icon? thanks!
I presume you are trying to remove apps that are installed on the system partition. (ie. most of the standard HTC apps).
If so, you can do so from your PC, but follow these instructions in case you remove something you shouldn't (!)
1. Take a Nandroid Backup before starting
2. Connect phone to your PC and set up ADB from the SDK if not already done.
3. Run command
Code:
adb remount
4. Type
Code:
adb shell
5. Type
Code:
su
6. Type
Code:
cd /system/app
7. Type
Code:
ls
8. Now have a look through the list for what you want to remove. Be aware that low-level things like the dialer are listed here, so be careful
9. When you find the app you want to uninstall, type the commands
Code:
exit
adb pull com.name.of.apk.file.apk C:\HTCHeroBackupApps
to copy the apk file to your PC in case you want to put it back
10. Then type
Code:
adb shell
cd /system/app
rm com.name.of.apk.file.apk
11. Application removed. Repeat for other apps you want rid of. Reboot phone when done.
(11.) If you need to restore an app in future for any reason, use the following command:
Code:
adb remount
adb push C:\HTCHeroBackupApps\com.name.of.apk.file.apk /system/app
and reboot the phone.
HTH, and don't go deleting things if you don't know what they are

[Q] Root HCL me U1

Hi friends. I have bought a HCL me U1 tab : 7" display, 512 mb ram, running android 4.0.3 ICS on it. But it does not supports Google play on it and I am pretty upset. Tried to root it with z4root, gingerbreak but nothing works.. Please help.
yup, Im stuck with this tab too, its good tab though.
IT lacks gapps and has few bugs, I hope we get a way to root it soon, or a custom rom will be much better
somebody ..help us
Have you tried SuperOneClick and/or Unlock Root? Both tools are capable of rooting a vast number of devices, so it's worth a shot.
One click ==> yes, will try another one soon. One click doesnt seem to work though. Any help here would be much appreciated
---------- Post added at 01:58 PM ---------- Previous post was at 01:31 PM ----------
ok unlock root gets stuck on 'try to get shell root permissions'. It recognizes the device and all, but gets stuck here
This tablet can be rooted.
Follow this link
http://crazyfreakgamers.com/hclme/viewtopic.php?f=2&t=60
follow below steps to root your HCL Tab U!
********* i am not responsible for any mess with your device do this on your own risk *****************
-Install android SDK and set up under program files (the path will be like C:\Program files/android/android-sdk/platform-tools/adb
-open SDK manager (under android-SDK Folder)
-WHen the list appear, scroll down and download Google USB driver and install it. Then scroll above and download Android 4.0.3 repositories
__-Now turn USB debugging ON in settings
-Download Superuser file from "downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip" then extract the zip file to desktop and you will see 2 folder as "System" and "Meta-INF"
-Connect your Tab via USB
-Open CMD with administrator rights (search CMD then right click on it and select run as administrator)
-Type the following line of code
>cd..
>cd..
>cd..
>cd program files
>cd android
>cd android-sdk
>cd platform-tools
>adb
-While tab is connected to PC, Restart tablet into recovery mode by pressing start and vol+ button at the same time
>adb devices
>adb shell
>adb root (you will see a message "adb is already running as a root")
-Restart the tablet
-Wait till system opens till its home screen appears
>adb devices (you should see your device number)
>adb shell getprop ro.secure (output should be 0)
>adb shell mount -oremount,rw /dev/block/system /system
>adb push c:\users/"username"/desktop/system/bin/su /system/bin/
>adb push c:\users/"username"/desktop/system/bin/su /system/_install/bin/
>adb shell chmod 4777 /system/bin/su
>adb shell mount -oremount,ro /dev/block/system /system
-Download superuser app from market or anyother site and install it. Just open it once
-Download Yaffs explorer from market or anyother site and install it.
-Open the app and Click the drag down button on top and select "/".
-open the 2nd option which will be bin> /system/_install/bin
-Scroll down to and search for SU and you should be able to see that
-Click and hold and it will open up a pop up menu so in that select execute, then tick "As root" option and click Go button
-Superuser dialog box will open adn you have to accept it and you will be permitted to root level access.
-Now download any app which require root permission and use it and you will get a dialog box telleing you "this app requires Superuser permission" then click Yes. Now you should have definatly been granted SU permission.
Enjoy
originally by
Milen Balchandra
Superb_user said:
********* i am not responsible for any mess with your device do this on your own risk *****************
-Install android SDK and set up under program files (the path will be like C:\Program files/android/android-sdk/platform-tools/adb
-open SDK manager (under android-SDK Folder)
-WHen the list appear, scroll down and download Google USB driver and install it. Then scroll above and download Android 4.0.3 repositories
__-Now turn USB debugging ON in settings
-Download Superuser file from "downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip" then extract the zip file to desktop and you will see 2 folder as "System" and "Meta-INF"
-Connect your Tab via USB
-Open CMD with administrator rights (search CMD then right click on it and select run as administrator)
-Type the following line of code
>cd..
>cd..
>cd..
>cd program files
>cd android
>cd android-sdk
>cd platform-tools
>adb
-While tab is connected to PC, Restart tablet into recovery mode by pressing start and vol+ button at the same time
>adb devices
>adb shell
>adb root (you will see a message "adb is already running as a root")
-Restart the tablet
-Wait till system opens till its home screen appears
>adb devices (you should see your device number)
>adb shell getprop ro.secure (output should be 0)
>adb shell mount -oremount,rw /dev/block/system /system
>adb push c:\users/"username"/desktop/system/bin/su /system/bin/
>adb push c:\users/"username"/desktop/system/bin/su /system/_install/bin/
>adb shell chmod 4777 /system/bin/su
>adb shell mount -oremount,ro /dev/block/system /system
-Download superuser app from market or anyother site and install it. Just open it once
-Download Yaffs explorer from market or anyother site and install it.
-Open the app and Click the drag down button on top and select "/".
-open the 2nd option which will be bin> /system/_install/bin
-Scroll down to and search for SU and you should be able to see that
-Click and hold and it will open up a pop up menu so in that select execute, then tick "As root" option and click Go button
-Superuser dialog box will open adn you have to accept it and you will be permitted to root level access.
-Now download any app which require root permission and use it and you will get a dialog box telleing you "this app requires Superuser permission" then click Yes. Now you should have definatly been granted SU permission.
Enjoy
originally by
Milen Balchandra
Click to expand...
Click to collapse
after doing the whole process
when i try to execute su as root (YAFFS EXPLORER)
Super user not asks to allow root access
Nothing happens when i select to run su as root pls help
Can any make cwmflashable zip for dhis tab??? Pleeeesssssee
Sent from my GT-S5360 using xda premium
HCL U1 Help
Anybody having the stock rom of HCL u1 .ftf file???? I desperately need the original stock files...please...atleast gimme the link for it...
Can't find superuser and yaffs explorer
Superb_user said:
********* i am not responsible for any mess with your device do this on your own risk *****************
-Install android SDK and set up under program files (the path will be like C:\Program files/android/android-sdk/platform-tools/adb
-open SDK manager (under android-SDK Folder)
-WHen the list appear, scroll down and download Google USB driver and install it. Then scroll above and download Android 4.0.3 repositories
__-Now turn USB debugging ON in settings
-Download Superuser file from "downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip" then extract the zip file to desktop and you will see 2 folder as "System" and "Meta-INF"
-Connect your Tab via USB
-Open CMD with administrator rights (search CMD then right click on it and select run as administrator)
-Type the following line of code
>cd..
>cd..
>cd..
>cd program files
>cd android
>cd android-sdk
>cd platform-tools
>adb
-While tab is connected to PC, Restart tablet into recovery mode by pressing start and vol+ button at the same time
>adb devices
>adb shell
>adb root (you will see a message "adb is already running as a root")
-Restart the tablet
-Wait till system opens till its home screen appears
>adb devices (you should see your device number)
>adb shell getprop ro.secure (output should be 0)
>adb shell mount -oremount,rw /dev/block/system /system
>adb push c:\users/"username"/desktop/system/bin/su /system/bin/
>adb push c:\users/"username"/desktop/system/bin/su /system/_install/bin/
>adb shell chmod 4777 /system/bin/su
>adb shell mount -oremount,ro /dev/block/system /system
-Download superuser app from market or anyother site and install it. Just open it once
-Download Yaffs explorer from market or anyother site and install it.
-Open the app and Click the drag down button on top and select "/".
-open the 2nd option which will be bin> /system/_install/bin
-Scroll down to and search for SU and you should be able to see that
-Click and hold and it will open up a pop up menu so in that select execute, then tick "As root" option and click Go button
-Superuser dialog box will open adn you have to accept it and you will be permitted to root level access.
-Now download any app which require root permission and use it and you will get a dialog box telleing you "this app requires Superuser permission" then click Yes. Now you should have definatly been granted SU permission.
Enjoy
originally by
Milen Balchandra
Click to expand...
Click to collapse
Where do I download the Superuser app from? Do I have to download it in my PC and then somehow install it into my U1? Or Do I download and install it directly into my U1??
I'm stuck at the superuser app part... And couldn't find yaffs explorer in the HCL ME market... There's no other Market in my tablet yet!
I'm pretty new to such things, It would be great if you help me out!
Thanks!
Rooted HCL ME U1
KingTodi said:
Where do I download the Superuser app from? Do I have to download it in my PC and then somehow install it into my U1? Or Do I download and install it directly into my U1??
I'm stuck at the superuser app part... And couldn't find yaffs explorer in the HCL ME market... There's no other Market in my tablet yet!
I'm pretty new to such things, It would be great if you help me out!
Thanks!
Click to expand...
Click to collapse
This guide is successfully tested by me.
1. You need a 32 bit OS. (I have used 7 Pro x86).
2. Turn USB debugging ‘ON’ in settings of the tablet.
3. Download Superuser hear
Then extract the zip file to desktop:\ & you will see 2 folders as
“System” and “Meta-INF”.
4. Download the drivers. Then connect the tablet & install the drivers
using device manager.
5. Download SuperOneClick!. Extract the archive, go to the folder
named ADB. Open an elevated command prompt download that first
6. CONTINUE WITH THE FOLLOWING COMMANDS.
>adb root (you will see a message “adb is already running as a root”)
>adb devices (you should see your device number)
>adb shell (adb shell will run and daemon tool will also run if this message is not see then close elevated command prompt and restart tablet and continue with following commands)
7. NOW RESTART THE TABLET AND WAIT TILL THE HOME SCREEN APPEARS.NOW
CONTINUE WITH FOLLOWING COMMANDS.
>adb shell getprop ro.secure (output should be 0)
>adb shell mount -oremount,rw /dev/block/system /system
>adb push c:\users/”username”/desktop/system/bin/su /system/bin/
>adb push c:\users/”username”/desktop/system/bin/su /system/_install/bin/
>adb shell chmod 4777 /system/bin/su
>adb shell mount -oremount,ro /dev/block/system /system
8. install busybox first and then check root status with root checker
superuser app,Yaffs explorer,Root Checker can be downloaded from any other site.
Custom Rom HCL ME U1 Tablet
Try this link to Install CWM recovery on HCl ME U1 and also Root The HCl ME U1 tablet
Link: http://tabletkinghcl007.blogspot.in/
jjv007 said:
This guide is successfully tested by me.
1. You need a 32 bit OS. (I have used 7 Pro x86).
2. Turn USB debugging ‘ON’ in settings of the tablet.
3. Download Superuser hear
Then extract the zip file to desktop:\ & you will see 2 folders as
“System” and “Meta-INF”.
4. Download the drivers. Then connect the tablet & install the drivers
using device manager.
5. Download SuperOneClick!. Extract the archive, go to the folder
named ADB. Open an elevated command prompt download that first
6. CONTINUE WITH THE FOLLOWING COMMANDS.
>adb root (you will see a message “adb is already running as a root”)
>adb devices (you should see your device number)
>adb shell (adb shell will run and daemon tool will also run if this message is not see then close elevated command prompt and restart tablet and continue with following commands)
7. NOW RESTART THE TABLET AND WAIT TILL THE HOME SCREEN APPEARS.NOW
CONTINUE WITH FOLLOWING COMMANDS.
>adb shell getprop ro.secure (output should be 0)
>adb shell mount -oremount,rw /dev/block/system /system
>adb push c:\users/”username”/desktop/system/bin/su /system/bin/
>adb push c:\users/”username”/desktop/system/bin/su /system/_install/bin/
>adb shell chmod 4777 /system/bin/su
>adb shell mount -oremount,ro /dev/block/system /system
8. install busybox first and then check root status with root checker
superuser app,Yaffs explorer,Root Checker can be downloaded from any other site.
Click to expand...
Click to collapse
hey can i use 64 bit os?? any other method for 64 bit os??

Need help writing script

Greetings,
I have these commands I run from cmd :
Code:
adb shell settings put secure qs_tile_row 2
adb shell settings put secure qs_tile_column 5
adb shell settings put secure sysui_qqs_count 5
The thing is, that these do not survive a reboot, so I wanted to create a script that would run the shell commands on boot.
I created a file in init.d but I can't get a hold of the syntax to put these exact 3 commands.
Any help is appreciated.

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:
Code:
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 testing I'm doing. Do you guys know if this is possible?
I found this project which allows me to connect to a WiFi through ADB commands not being a root user. I was wondering if anyone knows how to disconnect also from ADB and not being a root user.
UPDATE:
I've been recently trying:
Code:
C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
and
Code:
C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
I also found doing this type of command:
Code:
adb shell input keyevent 20 & adb shell input keyevent 23
I can navigate and click. The problem seems to be that I always finish in a different state so the next time I input the command
Code:
adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
I start in a different place and start clicking elsewhere. I've tried returning home, but that doesn't fix the issue. Is there any way to start always from the same point inside the WiFi settings?
Thanks!
natiya said:
I found I can use these ADB commands to turn on and of the WiFi of a rooted phone:
Code:
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 testing I'm doing. Do you guys know if this is possible?
Click to expand...
Click to collapse
Turn WiFi off
Code:
adb shell settings put global airplane_mode_on 1
adb shell settings put global wifi_on 0
adb shell settings put global wifi_scan_always_enabled 0
Afterwards you've to re-boot the device.
Turn WiFi on
Code:
adb shell settings put global airplane_mode 0
adb shell settings put global wifi_on 1
adb shell settings put global wifi_scan_always_enabled 1
jwoegerbauer said:
Turn WiFi off
Code:
adb shell settings put global airplane_mode_on 1
adb shell settings put global wifi_on 0
adb shell settings put global wifi_scan_always_enabled 0
Afterwards you've to re-boot the device.
Turn WiFi on
Code:
adb shell settings put global airplane_mode 0
adb shell settings put global wifi_on 1
adb shell settings put global wifi_scan_always_enabled 1
Click to expand...
Click to collapse
Thank you, but those don't produce any change on my device. Actually, if I put the first two commands without doing "adb kill-server" in between, I get this message:
error: more than one device/emulator
Click to expand...
Click to collapse
But the output when they work is:
adb server is out of date. killing...
* daemon started successfully *
Click to expand...
Click to collapse
and nothing happens.
I've been recently trying:
Code:
C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
and
Code:
C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
This opens the screen where you can turn on and off the WiFi but it doesn't do it...not sure if I'm missing something!
Just to be shure, make shure your using the latest version of ADB offered by google here:
https://developer.android.com/studio/releases/platform-tools
You could use adb wifi
After activating when using usb it and connecting through the same wifi:
svc wifi enable
works without root
I'm a little late to this thread, but if it still helps the OP, non-rooted Android 10 and below allowed wireless adb connections AFTER a USB connection was first established (adb start-server && adb tcpip 5555 && adb connect [IP]:5555), but that changed (for the better) in Android 11 and above with the new new Developer options Wireless debugging random port assignments (adb connect [IP]:[PORT] or adb pair [IP]:[PORT] [PIN]) such that the adb wireless connection never needs USB cable ever again.
Given Android 11 allows Developer options Wireless debugging via a random port, and Android 12 new Developer options Wireless debugging allows that to be accessed even easier with a new Developer options Wireless debugging tile, the only thing missing is a way to turn the non-rooted Android Wi-Fi on or off via adb (which was the OP's original question after all).
Maybe this will work if we can figure out how to tap the buttons?
adb shell "am start -a android.settings.WIFI_SETTINGS"
Click to expand...
Click to collapse
For swiping on the phone from adb this works...
C:\> adb shell input swipe 500 1000 500 100
This will instantly swipe from center to the top of the screen.
You can add a time period, e.g., take 3 seconds to swipe that.
C:\> adb shell input swipe 500 1000 500 100 3000
Click to expand...
Click to collapse
But you want to tap the buttons, right?
If we can figure out the positions, maybe this would work?
C:\> adb shell am start -n com.google.android.gms/.ads.settings.AdsSettingsActivity
That should pop up an Android "Reset Advertising ID" settings page.
C:\> adb shell input tap 500 400
If run after the command above, that will tap the button to
asking to "Opt out of Ads Personalization" in that Activity
if that button is like mine, at the X=500 & Y=400 location.
On my phone, this is the "Reset advertising ID" button location:
adb shell input tap 500 200
On my phone, this is the "OK" button on that GUI above.
adb shell input tap 700 1000
C:\> adb shell am force-stop com.google.android.gms
If run after bringing up the advertising-id reset Activity,
it will close the activity without doing anything else.
Click to expand...
Click to collapse
Here is a somewhat related post...
[adb,scrcpy,vysor] What ports does Android 12 randomly set when Wi-Fi connecting via Wireless debugging adb "pair" or "connect" commands?
Type adb tcpip 5555 in the command line or Terminal and press Enter.
Find your phone's IP address in Settings > About Phone > Status > IP Address.
Back in the command line or Terminal, type adb connect [your Android's IP address].
Finally, press Enter again.
Regards,
J Wick

Debloat/Disable System Apps

So you got your new shiny realme device but you hate bloatware or want to disable system apps so you can use 3rd party apps instead?
Follow the steps below:
THIS DOES NOT REQUIRE ROOT HOWEVER MAKE SURE NOT TO DISABLE IMPORTANT SYSTEM APPS. WIPE DATA/FORMATTING RE-ENABLES ALL SYSTEM APPS. THIS DOES NOT MESS WITH OTAs.
WHAT YOU NEED:-
ADB/Fastboot Drivers
Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Linux: https://dl.google.com/android/repository/platform-tools-latest-linux.zip
DEBLOAT:-
1. Enable developer options by tapping on the build number 7 times and enable USB Debugging.
2. Plug in your phone.
3. Goto the folder where ADB is installed, hold shift and right click, and click on open command window here(windows).
4. Type
in CMD
Code:
adb devices
in Powershell
Code:
./adb devices
.
5. This should return the ID of your device and show if its authorised. Enable debugging Promt on your Phone if it shows unauthorised (allow this computer).
6. Type
in cmd
Code:
adb shell
in Powershell
Code:
./adb shell
.
7. This should display a prompt, something like RMXxxxx:/ $
8. To uninstall type
Code:
pm uninstall -k --user 0 <name of the package>
To disable type
Code:
pm disable-user --user 0 <name of the package>
eg: pm uninstall -k --user 0 com.heytap.browser / pm disable-user --user 0 com.heytap.browser
9. Done!
To reinstall uninstalled apps type
Code:
pm install-existing <name of the package>
To enable disabled apps type
Code:
pm enable <name of the package>
Some apps do not uninstall such as market and gamecenter, disabling is the only option.
here is a way you can delete system without pc without root

Categories

Resources