You'll either need root or a custom recovery to do this, but as not everyone wants root.
1. Here's how you do it with TWRP, a USB cable, and a PC with ADB:
2. Root (easiest method)
Method 1
Boot your device into recovery
2. Mount your system by going to Mounts > Tick System
3. On your PC open a command line, somewhere like your desktop is useful
4. Type the following command:
HTML Code:
adb pull /system/build.prop
5. Open the build.prop file with your favourite editor, I recommend using Notepad++ on Windows
6. Find the "ro.build.type" line
7. Change the text after = to "userdebug" from "user"
8. Save the file in Notepad
9. Go back to the command line and enter the following command:
HTML Code:
adb push build.prop /system/
10. Now open a shell doing:
HTML Code:
adb shell
11. Now a adb shell will open, enter these commands:
HTML Code:
cd system
THEN
chmod 644 build.prop
12. Reboot the device as normal
13. When the device has booted, go to the developer options
14. Scroll down to the bottom of the "Drawing" category
15. Enable multi-window and have some fun!
METHOD 2 -Root
This is the easiest way
1. Go to google Play Store
2. Find BuildProp Editor by JRummy Apps and install
3. In the app, locate Ro.Build.type
4. Change "user" to "userdebug"
5. Then Reboot from the App (normal reboot)
6. Go to developer options, scroll down until you see enable multi window view
Good Luck
All credit to Quinny899
Can you provide a screenshot? I don't want to do anything that might possibly damage my device.
Can confirm that this works!
I have just tried it.
Related
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
Hi, i'm trying to access /system/app/ so i can put apps in there, since i couldt figure out how to install apk files form Eclipse. I'm running Eclipse with the SDK installed, any help or example would be awesome. Thanks
/system is typically read-only (is on every android I know of). On many (most?) devices, the partition containing /system is also write-locked in the eMMC firmware. User apps should be installed into the /data partition.
What do you mean by installing from eclipse? Eclipse uses adb to push the package to the device and launch the package installer.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
There are two ways that may be of help that I know of.
ADB Install:
1. In your Android SDK manager you should have a tool called ADB (Google how to add it to your system path to make life easier)
2. Navigate to your apk file you are trying to install and shift right click in the windows explorer windo and select Open Command line here.
3. then using command line (Console) type in:
Code:
adb install nameofapphere.apk
Note: If the app has spaces in the installer name either take out the spaces or add quotes to the command line as shown below.
Code:
adb install "name of app here.apk"
Second choice is gaining command line root and remounting the system directory with rw permissions.
1. Gain console root access.
2. in console type in:
Code:
adb shell
Note if you see $ you are not in root and # if you are in root.
3. (Please double check)
Code:
mount -o remount,rw /dev/null /system
This will remount your system drive so you have read/write access to it.
4. Push the file to /system/app
5. Set the permissions you want for the application
JavaChips said:
There are two ways that may be of help that I know of.
ADB Install:
1. In your Android SDK manager you should have a tool called ADB (Google how to add it to your system path to make life easier)
2. Navigate to your apk file you are trying to install and shift right click in the windows explorer windo and select Open Command line here.
3. then using command line (Console) type in:
Code:
adb install nameofapphere.apk
Note: If the app has spaces in the installer name either take out the spaces or add quotes to the command line as shown below.
Code:
adb install "name of app here.apk"
Second choice is gaining command line root and remounting the system directory with rw permissions.
1. Gain console root access.
2. in console type in:
Code:
adb shell
Note if you see $ you are not in root and # if you are in root.
3. (Please double check)
Code:
mount -o remount,rw /dev/null /system
This will remount your system drive so you have read/write access to it.
4. Push the file to /system/app
5. Set the permissions you want for the application
Click to expand...
Click to collapse
What i mean i'm writing an app in eclipse. And i have a listview with the apk's, i want when the user clicks on the items, it gets installed. Any ideas?
spxc said:
What i mean i'm writing an app in eclipse. And i have a listview with the apk's, i want when the user clicks on the items, it gets installed. Any ideas?
Click to expand...
Click to collapse
Why did this thread get moved. Took me forever to find it.
Anyway, it seems you want to programmatically install an APK from within an android app, is that correct? Just launch an intent with the package installer as a target:
Code:
Intent installIntent = new Intent(Intent.ACTION_VIEW);
installIntent.setDataAndType("/path/to/my/apk","application/vnd.android.package-archive");
startActivity(installIntent);
Moderator: this is definitely development related. Why was it moved to Q&A?
Gene Poole said:
Code:
Intent installIntent = new Intent(Intent.ACTION_VIEW);
installIntent.setDataAndType("/path/to/my/apk","application/vnd.android.package-archive");
startActivity(installIntent);
Moderator: this is definitely development related. Why was it moved to Q&A?
Click to expand...
Click to collapse
I'll agree, and secondly I think it was moved to Q&A because the original question was asked in a way that was not clear to it's intents.
So yeah, just pointing the apks to be run by the package installer via intent will launch the installer and install the app selected.
This method doesn't require purchasing any app. It does require the use of sqlite3 in /system/xbin/. As well as terminal emulator from the play store. This will work for both 4.3 and 4.4 roms.
First if you don't already have terminal emulator installed install it now.
https://play.google.com/store/apps/details?id=jackpal.androidterm
Open up the terminal emulator and type in sqlite3 if the prompt doesn't change to sqlite> then you need to install sqlite3.
To install sqlite3: install sqlite installer root from the play store.
https://play.google.com/store/apps/details?id=ptSoft.util.sqlite3forroot
Open the program, press install, and allow root permissions. Once the installation is complete go ahead and Uninstall the sqlite installer app.
Open terminal emulator back up and copy paste in the following:
su
Allow the permissions... copy in:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
Your prompt should change to sqlite>
At this point if you don't have any custom toggles in your rom you can just copy and paste the below into terminal emulator. If you're not sure or if you do then you can get your current value(see end of post) and add WiFiHotspot; to the end of it using the syntax below.
update system set value='Wifi;MobileData;Location;Bluetooth;AutoRotate;SilentMode;Sync;Ebook;AirplaneMode;DrivingMode;AllShareCast;MultiWindow;SmartStay;PowerSaving;SBeam;Nfc;AirView;AirGesture;SmartPause;SmartScroll;DormantMode;WiFiHotspot;' where name='notification_panel_active_app_list';
After you update the value exit sqlite using:
.quit
You should now be able to add the WiFiHotspot Toggle in settings under display> notification panel.
To query your current value use the following command:
select * from system where name='notification_panel_active_app_list';
You should see something like the below returned. (Long pressing and using select text will copy whatever text you select.)
4034|notification_panel_active_app_list|Wifi;MobileData;Location;Bluetooth;AutoRotate;SilentMode;Sync;WiFiHotspot;Ebook;AirplaneMode;AllShareCast;MultiWindow;SmartStay;PowerSaving;SBeam;Nfc;AirView;AirGesture;SmartPause;SmartScroll;DormantMode;DrivingMode;
You'll need to copy from after the | to the end and add WiFiHotspot; to the end for the update command shown above.
Thanks to jbeitel for the original guide here:
http://forum.xda-developers.com/showthread.php?t=2483258
Sent from my SM-N900V using Tapatalk
This guide will help you to get rid of Kaspersky and unlock your locked mobile phone in case you don’t remember your pin/unlock code. It describes how I've done this when forgotten unlock code. Everything wrote below is based on online search and experiments with my phone. You just need basic computer knowledge and follow steps below. It works great on my Samsung Galaxy S3 Mini (GT-I8190N) with Android 4.1.2 onboard. Good luck.
IMPORTANT !!!Search online how rooting may affect your mobile phone warranty and do not continue if warranty is more important for you then your data. Phone can be unrooted as well, search online…
Using this method WILL NOT delete any other of your data, apps, contacts, SMS, etc.
Getting root access
Steps listed below are based on this website (sorry, can't post links, please send me PM if you need them). There are also links to necessary software but my advice is to search online for latest version. You need SD Card to install software and for system backup (more GB card has more backups you can make).
Software needed
1. Download Samsung USB Drivers and install them on your computer
2. Download Android SDK and unpack to your hard drive
3. Download ClockworkMod ROM Manager
4. Download ODIN and unpack to your hard drive
5. Download SuperSu
Getting root access (it is more convenient to open phone for better access to battery)
6. Pull battery out and refit (or switch phone off)
7. Press and hold Volume Down + Home button + Power button for few seconds to enter software download mode
8. Press Volume Up button when you see warning message screen to continue
9. Connect USB cable to your phone and computer
10. Unzip (if necessary) ClockworkMod ROM Manager to have .md5 file
11. Run ODIN. Make sure Auto Reboot and F. Reset Time options are ticked. ODIN should show the message confirming connection to device (bottom left) and COM port ID (top left) if not repeat steps 6-9
12. Press PDA button and browse to unzipped .md5 file and then press Start button
13. Phone should reboot after software installation is complete
14. Copy SuperSu .zip file to SD Card, pull battery out and enter card into the phone. Refit battery
15. Press and hold Volume Up + Home button + Power button for few seconds to enter ROM Manager (ClockworkMod Recovery)
16. Select install zip from sdcard ==> choose zip from external sdcard ==> browse to SuperSu zip file and confirm installation when prompted
Backup and software modification (based on this website, sorry can't post links, please send me PM if you need them)
17. Repeat step 15 if needed to run ROM Manager than choose backup and restore ==> backup to external sdcard and wait till process is finished (this is copy of all your existing software, data, SMS, etc.)
18. Choose mounts and storage option then select mount /data (if you need go back option is always at the bottom of menu)
19. Press Win+R or Start-->Run… and type in cmd to run console
20. Browse to adb.exe file (it is located in SDK folder ex. C:\adt-bundle-windows-…..\sdk\platform-tools\) using cd folder name command ex. cd platform-tool
21. Type in adb shell and press ENTER
22. Navigate to /data/app folder using cd /data/app command
23. List files using ls –a –p command (press ENTER after each command used in console) and find kms file (I have com.kms.free-1.apk file)
24. Delete kms file using rm com.kms.free-1.apk command
25. Navigate to /data/data folder using cd /data/data command
26. Repeat step 23
27. Delete kms folder using rm –r com.kms.free command (make sure –r parameter is entered in command)
28. Navigate to /data/dalvik-cache folder using cd /data/dalvik-cache command
29. List files using ls –a –p command and find kms file (I have [email protected]@[email protected] file)
30. Delete kms class file using rm [email protected]@[email protected] command
31. Navigate to /data/system folder using cd /data/system command
32. List files using ls –a –p command and find locksettings.db files
33. Delete locksettings files using rm locksettings.* command
34. List files using ls –a –p command and find packages.list and packages.xml files
35. Run new console window (step 19) and navigate to adb.exe file (step 20)
36. Type in adb pull /data/system/packages.list and press ENTER (file will be copied form your phone to PC's hard drive into …\platform-tools\ folder, always where adb.exe file is located)
37. Type in adb pull /data/system/packages.xml and press ENTER (file will be copied to same folder as in step 36)
38. Open folder with packages files and edit them using any of text file editor (Notepad, TextPad, etc.)
39. Inside packages.list file search for kms and delete each row containing it. Save file when done
40. In packages.xml file search for kms and delete each row containing it. IMPORTANT!!! In this file you will find sections starting with <package> tag and ending with </package>. One section includes kms. Select and delete entire kms section including corresponding <package>…</package> tags. Save file when done
41. Switch to second windows console opened in step 35 and send files from PC into phone using adb push packages.xml /data/system and adb push packages.list /data/system commands
42. Press reboot system now in your ROM Manager or pull out and refit battery to switch phone off and then switch it on
Enjoy and NEVER GIVE UP!!!
If you have any questions please post them and I'll try to help as much as I can.
Hi, I have been using Rom toolbox Lite for a while now and never had a problem, untill I got the "not so great" idea to change the heapsize in build.prop - after reboot the tablet is stuck on Loading - screenshot http://imageshack.com/a/img924/2306/BJbCT1.png
I have tried to reset, reset to factory default, to push back an old build.prop by ADB from prompt, tried the same from QtADB(0.8.0(newer 32bit not availble) - seems I have full access to all folders), even tried modifying the build.prop as root and start QtADB as root then copy it back - nothing has helped.
I have a complete backup(rom dump) made with uberizer, but since I'm not using windows anymore but instead Peach OSI(heavily modified Xubuntu). I'm not really sure what to do now.
My Minami M-750 DualCore A20(allwinner) tablets info is uploaded at specdevice long time ago as I were trying to find others with the same tablet:
http://specdevice.com/showspec.php?id=e5ba-9ce5-0033-c58700000000
It doesn't have custom Rom or custom recovery, but do have an option in recovery to update from external storage(where I can access internal sdcard and external sd) - update from ADB - update from cache.
Anyone have any suggestions?
With kind regards
JBJ
EDIT: Thanks to this article below the problem is now solved.
Note: Step 1 . instead of Eclipse ADT download SDK command line tools https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
Follow this guide on how to install the SDK: https://androidonlinux.wordpress.com/2013/05/12/setting-up-adb-on-linux/
Step 3. Open a Terminal and shoot this command: —–Note: The “Android” in the command is the folder in which we extracted the SDK in.
cd ~/Android/sdk/platform-tools/
Edit build.prop using ADB
by Louis Matthijssen · July 26, 2014
There are many reasons why you may like to edit your build.prop file. I always edit it in order to lower my DPI, resulting in a bigger looking screen.
You can edit it on the device itself using a file manager or a build.prop editor but it may be more convenient to edit the file using a PC.
Please note that your device has to be rooted to edit the build.prop file.
Download and unzip the Eclipse ADT
Make sure your device has USB debugging enabled
Open a command prompt or terminal and cd to the platform-tools directory:
cd C:\adt-bundle-windows\sdk\platform-tools
Check if your device is recognized:
If it’s not you may install the Google USB driver and try again
adb devices
The device may ask you if the computer is trusted, choose yes
Restart ADB as root:
adb root
Remount /system as rw (read-write):
adb remount
Download build.prop to your pc:
adb pull /system/build.prop
Now you can edit build.prop using your favorite editor
Important: use a plain text editor! I recommend Notepad++ for Windows and Geany for Linux
Upload build.prop to your device:
adb push build.prop /system/build.prop
Fix permissions:
adb shell chmod 644 /system/build.prop
Reboot your device:
adb reboot