Note: The Method used in this Guide requires ROOT ACCESS!!!
If you do not know what root is, first root your device and then proceed. I will not be responsible for any damage caused to your device because you did not follow my instructions correctly.
Ain't working on Lollipop and Marshmallow ROMs!
Hello Guys!!
I am creating this thread for those who are fed up by the low internal storage of Moto E. This guide works both on Windows and Mac computers. Yeah, hurray and all. :cyclops: This method requires coding. If you dunno what that is, please proceed no further. I have tested this myself on XT-1022 and my 32GB memory card is still alive and intact, working smoothly.Testing would be appreciated as my phone is in the fridge due to my exams..(ROFL) :laugh:
Requirements:
1. A computer, fast enough to play Counter Strike. LOL!!
2. Your rooted device (of course).
3. Minimal ADB and Fastboot.
4. A USB cord/Data Cable.
5. Brain.
Method:
1.Enable “USB debugging Mode” in your android device. To do this, go to Settings -> Applications -> Development and enable ‘USB debugging’
2. Connect your device to your computer in “charge only” or similar modes but NOT in ‘USB Storage’ mode.
3. Open the folder Minimal ADB and Fastboot, and open the cmd.
4. Mac users: right-click ‘platform-tools and choose [New Terminal At Folder]
5. Now, in the command prompt window, Windows users:
type: adb devices
Mac users:
type: ./adb devices
and press enter. You will see the name of the device connected at the moment.
6. Then windows users type:
adb shell
Mac users type:
./adb shell
and press enter
7. Next, type:
pm setInstallLocation 2
and press enter. (If this command fails, use this: pm set-install-location 2)
8. Done!
9. To verify, type:
pm getInstallLocation
and press enter. If you see an output ” 2 [external] ” means that the process is successful.
If you don't have Minimal ADB and fastboot, jump on to my next post for the download link!!
Hit Thanks if I Helped!!!!!!!!!!!!!!
Regards,
PoseidonKing.
Credits:
@shimp208 for minimal adb and fastboot
@PoseidonKing
@Trafalgar Square for inspiring me to make helpful contributions to XDA.
@Andy1911 for introducing me to the world of Android Development.
Download Link for Minimal ADB and Fastboot:
Minimal ADB and Fastboot
In case of doubts pm me.
You did it on stock rooted ROM?
Enviado de meu XT1572 usando Tapatalk
---------- Post added at 10:49 PM ---------- Previous post was at 10:48 PM ----------
Would it work with 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"
}
Enviado de meu XT1572 usando Tapatalk
Give proper credits dude.
Plus this method used to work on older androids, are you sure this gonna work on lollipop and newer androids?
I've seen on some forums that this method isn't working on lollipop.
EDIT : Not working. Tried on Temasek LP.
I'm getting the following error....
C:\Android\android-sdk\platform-tools>adb shell
←7←[r←[999;999H←[[email protected]_umtsds:/ $ pm set-install-location 2
Error: java.lang.SecurityException: Package android does not belong to 2000
1|[email protected]_umtsds:/ $
-z3r0- said:
Give proper credits dude.
Plus this method used to work on older androids, are you sure this gonna work on lollipop and newer androids?
I've seen on some forums that this method isn't working on lollipop.
EDIT : Not working. Tried on Temasek LP.
Click to expand...
Click to collapse
What do u mean by "Proper Credits"?
Also, I only tried the method on XT-1022 cm11, before exams. My phone is not with me, it's in the locker. So, I dunno if it works on lp or mm ROMs. That's why I've mentioned in the OP that testing appreciated. Anyways, thanks for informing that it's not working on LP. I'll try another method soon and create another thread possibly, after my exams. And henceforth in all my threads, I'm gonna need testing. So, the ones who are interested can pm me.
And yeah, Thanks @z3r0 for testing on LP ROM. :laugh:
Regards,
PoseidonKing.
Proper credits means you should've linked down to the page where you found this guide.
not working
Hi, i have a moto e xt1022, and i have tried this method, but i got this error:
"WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix"
Any help?
Related
I have been diving further and further into PowerShell, so I challenged myself to create an Android Developers Bridge (ADB) and Fastboot Tool built on PowerShell.
{
"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"
}
It's simple, but easy to use. Simply extract and run the PoshADB.exe (right click - Run as Administrator if UAC is enabled)
Requires: PowerShell (included with Windows 7 and newer)
Code:
[B]Current Features:
[I]ADB[/I]
[/B]Push/Pull from Device
Install APK
Reboot / Bootloader / Recovery
[B][I]Fastboot[/I][/B]
Flash update, boot or recovery images
Unlock/Lock Bootloader
Reboot / Reboot Bootloader
Code:
[B]Changelog:[/B]
7/17/2013 - Added WiFi ADB
4/25/2013 - Added source code to the ZIP file under _source directory
4/24/2013 - Added Fastboot!!!
4/24/2013 - Initial Release
DOWNLOAD HERE
Let me know what you think, or if you have any issues.
Download and try!!!
Working great for me Win7 and Win8. (note on Win8 you need to install .Net 3.5)
Awesome tool is awesome!!!!
REQUEST: Merge fastboot into this as well and most of my typing would be gone!!!
slimdizzy said:
Working great for me Win7 and Win8. (note on Win8 you need to install .Net 3.5)
Awesome tool is awesome!!!!
REQUEST: Merge fastboot into this as well and most of my typing would be gone!!!
Click to expand...
Click to collapse
Will do! That was part of my future plans
J33per said:
Will do! That was part of my future plans
Click to expand...
Click to collapse
Added Fastboot abilities! Let me know if there are any other features/commands you would like to see!
Minor "update" (if you can consider it that). I have added the source code to the Zip file under the _source directory in case anyone wants to play around with the "guts". Feel free to modify it as you see fit, just remember to give credit if you distribute it
J33per said:
Added Fastboot abilities! Let me know if there are any other features/commands you would like to see!
Click to expand...
Click to collapse
I will update my install today and let you know how the app works for me.
Sent from my Nexus 7 using XDA Premium HD app
Bump!
some suggestions
hey i like your app some things i would like added are:
1. i use adb over wifi can you please add an option to run "adb connect x.x.x.x" at the start.
2. with both push and pull the source/destination being able to select a folder from the computer as adb supports whole folder push/pull of contents.
3. some way to ls the directory tree of the android device.
nonato said:
hey i like your app some things i would like added are:
1. i use adb over wifi can you please add an option to run "adb connect x.x.x.x" at the start.
2. with both push and pull the source/destination being able to select a folder from the computer as adb supports whole folder push/pull of contents.
3. some way to ls the directory tree of the android device.
Click to expand...
Click to collapse
Thanks for the suggestions! I have added ADB WiFi (please test it) and also, if you select a file inside a directory, then edit the path, removing the file, it will push the directory.
Enjoy!
TechJeeper
I get a sig verify error when trying to flash boot
---------- Post added at 11:00 PM ---------- Previous post was at 10:35 PM ----------
also i noticed under ADB there are no devices shown.....there are under fastboot though?
saeker said:
also i noticed under ADB there are no devices shown.....there are under fastboot though?
Click to expand...
Click to collapse
Then that means your in your bootloader - where there is only Fastboot....
The download link on first post is still active
My Norton 2014 says its suspicious,
Mods certainly need to check this upload for threats.
ghpk said:
My Norton 2014 says its suspicious,
Mods certainly need to check this upload for threats.
Click to expand...
Click to collapse
it's just a false positive detection..
Can't flash system.
How to use it!
Can you please illustrate the steps.
POSHADB not responding
J33per said:
I have been diving further and further into PowerShell, so I challenged myself to create an Android Developers Bridge (ADB) and Fastboot Tool built on PowerShell.
It's simple, but easy to use. Simply extract and run the PoshADB.exe (right click - Run as Administrator if UAC is enabled)
Requires: PowerShell (included with Windows 7 and newer)
Code:
[B]Current Features:
[I]ADB[/I]
[/B]Push/Pull from Device
Install APK
Reboot / Bootloader / Recovery
[B][I]Fastboot[/I][/B]
Flash update, boot or recovery images
Unlock/Lock Bootloader
Reboot / Reboot Bootloader
Code:
[B]Changelog:[/B]
7/17/2013 - Added WiFi ADB
4/25/2013 - Added source code to the ZIP file under _source directory
4/24/2013 - Added Fastboot!!!
4/24/2013 - Initial Release
DOWNLOAD HERE
Let me know what you think, or if you have any issues.
Click to expand...
Click to collapse
POSHADB not responding
good tool
della96 said:
Download and try!!!
Click to expand...
Click to collapse
Hi thanks but the link is not working for me ?
Parrynormal said:
Hi thanks but the link is not working for me ?
Click to expand...
Click to collapse
It works with a download manager like 1DM, tested personally
Hello Everyone and Welcome to the ADB Multi-Tool thread by me
Why i created this??
I believe we are all tired of typing into cmd to launch adb commands
So i created this tool to simplify our daily live and time typing and sometimes, making eror while typing
Basically its just simple having to press numbers to sideload files then typing the whole sentence in cmd
Features of this ADB Multi-Tool
Has nearly all you need
ADB Install
ADB Push
ADB Sideload
ADB Pull
ADB Reboot and reboot recovery
*new ADB Logcat
*new ADB new file selector
Addon : Able to change promt font color
Coming features
Targeted for xperia devices with the ADB fastboot feature ( In progress testing )
Lots more unimaginable features comingggg
Screenies :
{
"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"
}
Downloads
ADB Multi-Tool v2
Thanks - Credits
To Google for providing info on bat commands and their adb.exe
Windows for their command promt
Think I left you out or this is a copy of your work? PM me
Tutorials?
Tutorial on how to use
Extract the folder in zip to anywhere
Open it up and start ADB Multi-Tool.bat
Firstly add your files into the root of the folder
You can either select the file by entering option 5
( For ADB pull only in next release ) Type the file name exactly when asked for instance nFc.apk ( Case sensitive and file extension .zip .apk or .xxx needed )
Hey press what u want to do with that file
Bravo it should says done
What is needed?
Your device drivers of course
Some brains
Changelog and FAQ
Code:
[U] Version 1 [/U]
Initial release
[U]Version 2[/U]
UI redesign
File selection made easier alot
Added logcat
F.A.Q
Q : Hey it says cant find 'x' to install but i was sure i typed the file name correct
A : Make sure the file is in the root directory and make sure u added the file extension behind x.apk
Q : Hey eror: device not found
A : Make sure your device adb debugging mode is enabled in your developer options and your phone is connected
Q : It says what xxxxx permission denied?
A : Well make sure ADB permission is enabled in developer option or your su app, allow unknown install in security too
Q : Promt fc when I try to install or push the file, well i was sure i selected the file before doing so
A : Yes you did, but i am sure the file u selected contains spaces eg google camera.apk
Rename it to googlecamera.apk and I am sure it wont fc
Q : Hey I launch ADB logcat and i pressed any key, why nothing comes out? How do I stop it?
A : Well logcat is running, unless it says waiting-for-device, then you have to check your drivers properly. To stop logcat just press ctrl+c
Find your logcat.txt in the folder
Well many more are coming soon, so stay tuned
If you wanted to unlock bootloader or somehow wanted to run ADB but the PC is unable to install the ADB Driver, This might work
This is the right solution if you see this in your device manager.
{
"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"
}
1. Right Click on the triangle and select "update driver software."
2. Click on "Browse My Computer"
3. Click on "Let Me Pick"
4. Select something similar to this. Most Probably you'll find this
5. Now select ShenQi and Next (You can use any ADB driver you find, all work)
6. You should end up something similar to this. Now ADB Devices shows up your device and you're ready to go.
Hit Thanks if this helped. :good:
Post any other fixes if you know.
i keep banging my head against the wall, i cant get it to recognize
i had issues with fast boot adb was all good . i had to delete all drivera then installed the 1.0.5 drivers that came with the phone and updated adb and fast boot to the latest sdk and it workes
@ahh988
How did you get latest sdk? Any link or something? I tried it downloading from sdk site and it was 1.9 gb big file... I didn't download then.
And moreover I don't know how to use that qualcomm drivers zip.. Please guide as I am also stuck in the same situation as discussed in OP.
Sent from my Redmi Note 4 using Tapatalk
shivg86 said:
@ahh988
How did you get latest sdk? Any link or something? I tried it downloading from sdk site and it was 1.9 gb big file... I didn't download then.
And moreover I don't know how to use that qualcomm drivers zip.. Please guide as I am also stuck in the same situation as discussed in OP.
Click to expand...
Click to collapse
i did a google search and found a download named platform tools small download don't remember where but worked for me . will try to get you a link
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
shivg86 said:
@ahh988
How did you get latest sdk? Any link or something? I tried it downloading from sdk site and it was 1.9 gb big file... I didn't download then.
And moreover I don't know how to use that qualcomm drivers zip.. Please guide as I am also stuck in the same situation as discussed in OP.
Click to expand...
Click to collapse
try this
https://mega.nz/#!EdIGQBJZ!MiyDiYg0BLe_2eJQznAoU42jyZKFUblRzNjtwk4ZwLQ
in windows 10 you have to enable the installation of unsigned drivers, and there just install the drivers.
Hi everyone,
I can not update kernel of my Zuk Z2 because I have otg slot not working (usb cable works only as a recharge, it is not a driver problem unfortunately). Is there a way to upgrade to the kernel from 3.18 to 4.4? I've already tried this (https://forum.xda-developers.com/lenovo-zuk-z2/how-to/flashing-roms-4-4-x-kernel-qpst-t3866215) but in step 4 you are asked to unlocking the bootlooder and can not be done without the adb commands that require otg. Thanks to those who will help me
luigioottoo said:
Hi everyone,
I can not update kernel of my Zuk Z2 because I have otg slot not working (usb cable works only as a recharge, it is not a driver problem unfortunately). Is there a way to upgrade to the kernel from 3.18 to 4.4? I've already tried this (https://forum.xda-developers.com/lenovo-zuk-z2/how-to/flashing-roms-4-4-x-kernel-qpst-t3866215) but in step 4 you are asked to unlocking the bootlooder and can not be done without the adb commands that require otg. Thanks to those who will help me
Click to expand...
Click to collapse
It does not require otg. It's data cable in
JV Spartacus said:
It does not require otg. It's data cable in
Click to expand...
Click to collapse
But my cable does not transmit data and only allows recharging
Warning: I will not be responsible for any wrong doings that might occur with following this guide, this is my first Guide here, expect some errors. Any damage to any device that might happen by following then steps is responsiblility of particular user not mine. I recommend that you don't do anything you don't understand.
Disclaimer: I do not personally own a RedMi Note 5A device, I helped a friend to clean up some space on their device, as a part of which, I uninstalled some of the OEM apps that were not used by them.
If you use any of the apps, you should not uninstall them.
Difficultly level: Easy to medium.
Experience required: You should be familiar with ADB, Windows BatchScript (optional), Android file system.
As superuser access is not used in this process, root is not required, you can try this on Non-Rooted devices
Tested on : Redmi Note 5A, Android-8.x, MiUi v10.x
Should work on all device prior to Android 9.
Requirements: ADB installed on PC, supposedly windows. A proper USB cable, an Android Phone.
I'll assume you have already setup ADB via Android-SDK or minimalistic ADB tools, and not go into that.
1. Enable developer mode, USB debugging on phone,
2. Connect device to PC (in a USB 2.0 port, preferably).
3. start adb, "adb start-server"
4. Make sure device is available.
Now there is batch file in attachment for uninstalling and a text file with the list of apps I uninstalled. You can either replace the package name with those you want to remove or you can copy the command, make it a single line command and replace the package name directly into the prompt as I did
{
"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"
}
Additional details are given in the attachment zip files, see below. You replace the package name with the app you want to uninstall and run the script/command in command line.
Same thing can in theory be achieved if "pm" command is readable by a third party terminal emulator apps like Termux, note that, on new devices, "/" is not readable, "/system/bin/pm" might be readable depending on ROM, thus ADB way should always work, but calling "pm" from on device apps is also possible.
Expected results: single word "success" on a new line.
If it says "device offline", restart adb with "adb kill-server" followed by "adb start-server" , if that doesn't work restart the smartphone, if that doesn't work check that USB port is v2.0( search on Google how to determine ), if that doesn't work, your cable would be faulty or some connection error.
Reserved.
UPDATE (26/4/2020): I resolved my issues below. My problem with getting remote access to the Nexus 10 was a mixture of a bad USB cable and/or USB port. I also had to activate "Developer mode" on Ubuntu Touch: Settings > About Tablet > Developer Mode. Once I got a connection the command: adb reboot-bootloader worked.
I installed the stock Manta image (as below). I had to remove the -w from the flash-all.sh and then the image installed. I've got a shiny Nexus 10 to use again. Thanks for the help.
OP...
Hello, I have a Nexus 10 that I put Ubuntu Touch on back in 2014/15. Now I would like to restore Android to it.
Any advice about the process of getting Android back onto my Nexus 10 and which version of Android to restore with is really appreciated.
BACKGROUND/RESTORE PROCESS?
I can get into the Ubuntu Touch recovery mode, version: (CWM -based) Recovery v6.0.4.6, on the Nexus 10, using the key combination: hold down both up and down volume buttons and then press power button.
I have followed the following post but I’m stuck at the command: adb reboot-bootloader - How to restore Android.
I think the problem is that I can’t install the phablet tools, using the commands below, suggested here.
Code:
apt-repository ppa:phablet-team/tools
sudo apt-get update && sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
I get the error message that the packages dependencies are not available. I’m running Ubuntu 18.04 on my laptop and, as I understand it, Ubuntu 18.04 is not supported!
I think the above commands should work on Ubuntu 16.06, if the repos still exist! Is my best option to get a copy of Ubuntu 16.04 and install phablet tools and try the restore process?
WHICH ANDROID?
Regarding which version of Android to restore onto the Nexus, I have downloaded a copy of stock Manta from here, which includes the flash-all.sh[ script.
Reading around though, it seems that LineageOS 13.0 for Manta might be the best version of Android to put on the Nexus 10 and I have downloaded a copy of LineageOS 13.0, after following the helpful comments on this XDA thread.
If I can get the above, or other recommenced, restore process working can I rename and replace the stock Manta zip file with the LineageOS 13.0 zip file (for Manta)? Or does the flash-all.sh script require the stock zip image? Or am I not understanding all this at all?
Any help with this is really appreciated.
I'd say just load the stock version on as is then once established, go with the Lineage if you want. My Nexus is still running the last stock version. Hardware is getting long in the tooth, software can only do so much. I am rooted and twrp'd.
Hi guys please help....!!!
I want to go back to stock on my Nexus 10. Because I need cam to work for my project. I am not found the Stock image from the above shared links. Can you please help me out.
Presently I am on Lineage 14.1v & TWRP 3.2.3-0v.
If you have time please reply. It will be very much appreciated. [emoji4] Thanks in advance.
{
"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"
}
Sent from my MI 9T using Tapatalk
amitroutray said:
Hi guys please help....!!!
I want to go back to stock on my Nexus 10. Because I need cam to work for my project. I am not found the Stock image from the above shared links. Can you please help me out.
Presently I am on Lineage 14.1v & TWRP 3.2.3-0v.
If you have time please reply. It will be very much appreciated. [emoji4] Thanks in advance.
View attachment 5056113View attachment 5056115
Sent from my MI 9T using Tapatalk
Click to expand...
Click to collapse
Easiest Way to go back to stock is to flash a FACTORY image. Google still provides these for whatever reason and they have had these up and still have these up for the old Nexus S. Anyway, check this link out: https://developers.google.com/android/images#mantaray
Just boot into your bootloader, and it will handle everything when you do the "flash all" script on Windows or Linux. (Maybe mac, but idk) It will flash the stock everything. Stock bootloader, recovery, system, etc. Just remember to lock the bootloader if you want true stock again!