[How to] Install apps from NC (Not by ADB install) - Nook Color Android Development

I didn't see a thread for this anywhere and it's not included in the rooting documentation so i figured I'd make one.
This will allow you to install apk files directly from the device, no need to adb them over. Just get the apk from the web or whatever source you want and install. Of course this is all assuming you have completed the current root process and have adb access already.
Thanks to godsfilth for finding these directions for the origninal nook.
1. Open a command prompt and navigate to your sdk tools folder
2. Run the following commands
Code:
C:\android-sdk-windows\tools>adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
C:\android-sdk-windows\tools>sqlite3 settings.db
sqlite> update secure set value=1 where name='install_non_market_apps';
sqlite> .q
C:\android-sdk-windows\tools>adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
3. Reboot
4. Install apps from NC without ADB.
You might have to restart your homescreen for the apps to show up, but i've had sucess with every app i've tried that is known working on the NC.
This was done on a Windows 7 x64 machine, although i'm sure it's the same or similiar for Linux and MUC OSx.
Also, sqlite3.exe was already in my sdk tools folder, if it's not for you then you can download from here.

Yep, and you can ADB install a file manager app, then just use the file manager to install anything else, from the SD card.

Bimboy said:
Yep, and you can ADB install a file manager app, then just use the file manager to install anything else, from the SD card.
Click to expand...
Click to collapse
So...the nook doesn't stop apps from deing installed if Iinstall them manger astro file Manger?

What is the command in sqllite to see if the db entry has been changed?
I copied & pasted your commands and after a reboot still get "Can't install downloaded apk"

I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?

sudermatt said:
So...the nook doesn't stop apps from deing installed if Iinstall them manger astro file Manger?
Click to expand...
Click to collapse
Once you enable this it will allow you to install the apps, it doesn't have anything to do with astro per se. You can just use astro to navigate to apks stored on your sd card. I use estrongs file manager myself and have installed apks from my sd card, dropbox and downloads from dolphin browser hd.

I'm getting the same error as everyone else.
I made the edits per your first post and pushed the file back to the NC. Then I rebooted. Placed an apk in the NC and tried to open it using Root Explorer. I try to install it and I get the "Installation of donwload apks is not supported" error.

barrosd12 said:
I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?
Click to expand...
Click to collapse
Slideme works perfect for me so you did something wrong. Not sure what though, I would just redo it.

lovelacer said:
What is the command in sqllite to see if the db entry has been changed?
I copied & pasted your commands and after a reboot still get "Can't install downloaded apk"
Click to expand...
Click to collapse
just use
Code:
sqlite3 settings.db ".dump"
and then scroll down and look for INSERT INTO "secure" VALUES(4,'install_non_market_apps','1'); you want a 1 there at the end.
barrosd12 said:
I did the same - even adapted the commands because the folder name wasn't the same, etc.
However, I'm trying to use SlideMe to install APKs and it keeps coming up with "Install Blocked" - any ideas?
Click to expand...
Click to collapse
look in your tools folder for the settings.db file and check the modified by time and make sure the change you are making is made.
To clarify if there's a misunderstanding the path info and text before the > in the commands is just what you would see in your command prompt. the actual commands are after the >. These are the actual commands.
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
sqlite3 settings.db
update secure set value=1 where name='install_non_market_apps';
.q
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
What command did you have to alter?
also, maybe try
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
to push... I didn't have any problem with the other command and both appear to work for me.

Oh none, your commands worked awesomely, I just had to yank the folder designations that were there, which you've now done for everyone, so thanks!
I think it might be a problem somewhere else, I'm re-doing everything right now, I'll let everyone know

Ran these commands again with the additional adb push and still no dice. I checked to see that the db entry had been updated and it correctly has the install non market apps set to 1. I'm using root explorer as well I'll try estrongs as you have. Thanks for the help.

lovelacer said:
Ran these commands again with the additional adb push and still no dice. I checked to see that the db entry had been updated and it correctly has the install non market apps set to 1. I'm using root explorer as well I'll try estrongs as you have. Thanks for the help.
Click to expand...
Click to collapse
Confirmed now that SlideMe is not the issue - the settings are all correct on the PC, I can't confirm these settings for the NC. I tried re-adb-pushing and still no cigar here either. I'm getting app rejections from any source, downloaded on the NC and the SD card. Any idea what could be wrong?

Ok, definitely isolated the problem now.
I pull the settings from the NC, modify them, and everything works great, then it refuses to push it back, but says it succeeds, or something to this effect, because whenever I pull the file back from the NC, it says value=0

barrosd12 said:
Confirmed now that SlideMe is not the issue - the settings are all correct on the PC, I can't confirm these settings for the NC. I tried re-adb-pushing and still no cigar here either. I'm getting app rejections from any source, downloaded on the NC and the SD card. Any idea what could be wrong?
Click to expand...
Click to collapse
Not sure, I've got it working using this method on 3 different NCs myself. The only thing i can think of is that i had already installed estrongs file manager and a few other games before doing it. Maybe try using adb to install estrongs or astro and see if it will let you then.
estrongs i'm using: www mediafire com ?sxw6adfzvyp250m
astro: www mediafire com ?05scsbrnx2wfw4v

Novaglarion said:
Not sure, I've got it working using this method on 3 different NCs myself. The only thing i can think of is that i had already installed estrongs file manager and a few other games before doing it. Maybe try using adb to install estrongs or astro and see if it will let you then.
estrongs i'm using: www mediafire com ?sxw6adfzvyp250m
astro: www mediafire com ?05scsbrnx2wfw4v
Click to expand...
Click to collapse
Thanks for the file links - I'll give them a try, I really think the problem though is that the NC keeps resetting the value I push back for the non-market apps. I have no idea why it's doing this...

barrosd12 said:
Thanks for the file links - I'll give them a try, I really think the problem though is that the NC keeps resetting the value I push back for the non-market apps. I have no idea why it's doing this...
Click to expand...
Click to collapse
try pulling it back right after pushing the modified one, before rebooting, and see if it's even pushing correctly at all. If it is then being reset on reboot i don't know what the issue is.

Novaglarion, I am not able to do it either.
When you say "reboot", is that the same as power off and on?

boret said:
Novaglarion, I am not able to do it either.
When you say "reboot", is that the same as power off and on?
Click to expand...
Click to collapse
yes, the same.

make sure you're pushing the modified db file to /data/data/com.android.providers.settings/databases not to /data/data/com.android.providers.settings
it needs to be in the databases folder so it overwrites the original

bular211 said:
make sure you're pushing the modified db file to /data/data/com.android.providers.settings/databases not to /data/data/com.android.providers.settings
it needs to be in the databases folder so it overwrites the original
Click to expand...
Click to collapse
DAMN YOU!!!! such a simple thing and i missed it! You are correct. I'll update the original commands. Thanks for the good catch there.

Related

Root: Replacing system sound files

Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
have you tried with and without file extention?
Yes. Root explorer just won't let me move any files around in the phone memory. Do I have to do it using adb?
I have a feeling its Root Explorer not working properly in Hero.
I could do this easily on my magic, but I get the same thing - looks like its copied the file, but when I paste, nothing happens at all.
I did manage to delete the Stocks app. from the device (don't use it or need it) using root explorer but other attempts to copy and pasdte have failed.
I have however managed to successfully use Astro File Manager to copy a wallpaper file from the device memory and paste to the SDcard. Will explore Astro a little further and see if it can do more on the device.
Dayz
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
I think anything in app-private is a no go anyway as it contains copy protected apps. With regard to astro - it can copy from device in certain locations, and paste to sd to back up, but it can't delete from the device, and it can't copy or move files to the device.
Daisy xx
Dayzee said:
I think anything in app-private is a no go anyway as it contains copy protected apps.
Click to expand...
Click to collapse
Hmm, thanks Daisy. Will get on to the app's developer, as it was his advice to gain the ability to change location settings that I tried to follow.
Al
Shluggity said:
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
Click to expand...
Click to collapse
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
Unless you made other changes than rooting, the /system partition is mounted read-only by default. As far as I know, you'll have to follow one of the root guides to mount it read-write (like you probably did to get /system/bin/su in place) and then do whatever changes you'd like.
Personally, I got tired of the boot audio real fast, so I changed useAudio in /system/media/boot_animation.xml from "1" to "0". Ahh, blessed boot silence...
nrkabul said:
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Click to expand...
Click to collapse
And work it did for me also! Many thanks for your help - I really appreciate it.

[HowTo]Market 2.2.11 on Nookie Froyo [2/7/2011 NFv0.6.6]

New Market (2.2.11) on Nookie Froyo 0.6.6
Update 2/7/2011: Updated for Nooke Froyo 0.6.6. Please READ THE NOTES.
There are 2 methods: Pushing to existing system (just Market) and pushing to new system (all gapps, working Market & Youtube especially)
Notes:
You should exercise caution and make sure you match the case exactly as I have posted. For example, if you push vending.apk instead of Vending.apk, you'll still see the old one, etc. You may also be ignoring a failure message when you copy/paste a command. Report any failure messages.
There are now two sections: Updating and install of Market, and Fresh NookieFroyo/Fresh Market.
Method 1: You have an existing, older market, and you use SD Nookie Froyo. I will note that I started from a format of my SD card, and a fresh image. Report if you used an upgraded NF.
Steps to installing:
1. Download Vending_2_2_11.zip from below
2. Extract Vending_2_2_11.apk to somewhere on your computer. Note the location (eg C:\users\name\blabla\Vending_2_2_11.apk) as yours will be different.
3. Open up a command/termal
4. Use ADB as usual, and run the following commands:
Code:
adb shell
# mount –o remount,rw /dev/block/mmcblk1p2 /system
(should get a confirmation, it will say exactly what you entered)
# exit
adb push C:\users\name\blabla\Vending_2_2_11.apk /system/app/Vending.apk
5. Now, open Settings --> Applications --> Manage Applications --> All --> Market
6. Clear *cache*, and then Force stop
7. Press back
8. Select Google Services Framework
9. Clear *data*, and then Force Stop
10. Reboot
11. Open market
12. Insert credentials & accept agreement (if needed)
13. *Confirm new market. If you don't have it, stop here.
14. Download something
15. ??? Profit!
Method 2: You just installed Nookie Froyo, you use the SD card version, and you have no gapps.
***EXPERIMENTAL. Gnomes ahead!***
What I have done here is I have taken the nookie devs gapps zip, and changed out the market & youtube apks for known working apks.
1. Download nookie-froyo-gapps-20110207 from here:
(mirror 1 (likely dead) http://rapidshare.com/files/446788041/nookie-froyo-gapps-20110207.zip )
(mirror 2 http://rapidshare.com/files/446835767/nookie-froyo-gapps-20110207.zip )
(mirror 3 http://www.multiupload.com/RFP7W72EVS )
(mirror 4 http://www.multiupload.com/72F253U21B)
2. Unzip. Note the location (C:\Users\name\blabla\nookie-froyo-gapps-20110207)
3. Open up a command/terminal
Code:
adb shell
#mount -o remount,rw /dev/block/mmcblk1p2 /system
(should get a confirmation, it will say exactly what you entered)
# exit
adb push C:\users\name\PathToUnzippedGoogleApps\system system/
(should see each file push individually, followed by ## pushed successfully)
adb reboot
4. Open market
5. Enter credentials, accept eula
6. Download something, report success/failure of method 2.
7. ??? Profit? Thank me?
If it "freezes" at a loading screen, you may need to reboot.
Credit to the folks at XDA who have done this before on other devices. I just tried it and it worked. Also credit to http://aliwaqas.info/download-and-install-new-android-market-version-2-2-11-guide/ for the vending 2.2.11 apk
General Questions
How to get ADB or Nook Color ADB Drivers
http://nookdevs.com/NookColor_USB_ADB
I installed ADB & Drivers, but it isn't working!!!
Make sure that "USB Debugging" is enabled under Settings > Applications > Development > USB Debugging (check)
I can't see "x" app, or all apps
You need to change your build.prop
http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#Access_Protected_market_apps
Neither method worked! Can't download apps. (after trying a reboot)
Please answer the following:
What version of Nookie Froyo (v.#x.#y.#z)
What type of Nooke Froyo (SD card, eMMC)
Which method (one or two)
Post a log of the commands you typed, and the output. Screenshots or copy/paste work best.
I tried it using rootEx since my ADB wasn't installed on a different PC. It did not work once adding to system/app or installing with r/w.
Worked Using ADB
I tried it with ADB, and it worked. Now Need for Speed Shift shows up. I tried everything before, but could not get it to show.
mattphoner said:
I tried it using rootEx since my ADB wasn't installed on a different PC. It did not work once adding to system/app or installing with r/w.
Click to expand...
Click to collapse
So double checking here:
/system was mounted R/W
you copied it in as Vending.apk (NOT Vending_2_2_11.apk)
you rebooted
And you still have the old market (with the gray bar)?
Tried again over ADB, that worked!! Not sure if RootEx is the way to go or not.
Anyone know if this will work on regular (nootered) 2.1?
Installed via Root Explorer, and it worked for me. Here's what I did:
Renamed it to: Vending.apk
Mounted System as R/W
Copied Vending.apk to: /System/app/
Rebooted NC then installed Vending.apk from /System/app/
Tested and working.
I tried installing it before rebooting and it just said that it didn't install.
JESTERDEV: on Froyo or 2.1?
sent from my nook color using XDA App
JesterDev said:
Installed via Root Explorer, and it worked for me. Here's what I did:
Renamed it to: Vending.apk
Mounted System as R/W
Copied Vending.apk to: /System/app/
Rebooted NC then installed Vending.apk from /System/app/
Tested and working.
I tried installing it before rebooting and it just said that it didn't install.
Click to expand...
Click to collapse
Maybe this is where I went wrong. I tried installing it BEFORE rebooting, not after.
I am unable to install from either method, RootExplorer or ADB.
With ADB everything went fine, but after reboot I had no Market installed. I checked the system directory, and the apk file was there, but trying to do anything with it resulted in "Unable to Parse Package" errors.
I tried manually with RootExplorer as well, and received the same errors.
EDIT: I even loaded my backup from RomManager to see if that would allow me to try again, but I am still receiving the same errors. Once again the ADB push method works fine to get the file in as Vending.apk in RW mode to system, but then upon reboot there is no market installed anymore.
The apk file is in the system/app directory, but it's not installed for some reason. Any attempt to do so results in the parse errors.
Not working on 2.1.
I haven't been willing to root my nook because all of my school books are on there. Just been using Nookie on SD. I'll update the OP later with some updated directions based on additional feedback tonight. Plus, I need to write a "from stock" tutorial that would be nice to have on the wiki.
Especially curious to know about it working on 2.1. Keep the feedback on that coming please
cybertimber2007 said:
I haven't been willing to root my nook because all of my school books are on there. Just been using Nookie on SD. I'll update the OP later with some updated directions based on additional feedback tonight. Plus, I need to write a "from stock" tutorial that would be nice to have on the wiki.
Especially curious to know about it working on 2.1. Keep the feedback on that coming please
Click to expand...
Click to collapse
You can keep your school books when you root the device. Just sayin'
Sent from my Nooted friend...
Tried to download something from the Market this morning, and it will not let me. I don't remember the exact error, but I will post when I get home. It worked just fine yesterday.
@hetzbh, Froyo.
JesterDev said:
Tried to download something from the Market this morning, and it will not let me. I don't remember the exact error, but I will post when I get home. It worked just fine yesterday.
@hetzbh, Froyo.
Click to expand...
Click to collapse
Not having a problem here. Anyone else?
Obviously there is something I'm doing wrong... I tried installing the new market with ADB and nothing happened...
What options do I have to install this correctly?
I didn't get any errors in ADB while installing
hetzbh said:
JESTERDEV: on Froyo or 2.1?
sent from my nook color using XDA App
Click to expand...
Click to collapse
no the it doesnt work on 2.1... but the 2.2.7 market works on the 2.1 system
djkns said:
no the it doesnt work on 2.1... but the 2.2.7 market works on the 2.1 system
Click to expand...
Click to collapse
Heh, funny. 'Cause originally I was going to post 2.2.7, but the IRC chat informed me that 2.2.11 was available. Did you use the same directions, but with the 2.2.7 vending instead of 2.2.11? I wouldn't mind posting that up there for 2.1 users.
bassrebel said:
Obviously there is something I'm doing wrong... I tried installing the new market with ADB and nothing happened...
What options do I have to install this correctly?
I didn't get any errors in ADB while installing
Click to expand...
Click to collapse
What exactly did you do, what happened (I guess you still have a gray top-bar market), did you reboot, and are you on Nookie Froyo?
Note that unlike most apks, you don't "install" (adb install <file>). You just push the file (adb push /system/app/Vending.apk). Also, there is case sensitivity. vending.apk and Vending.apk are two different files in *nix.
cybertimber2007 said:
What exactly did you do, what happened (I guess you still have a gray top-bar market), did you reboot, and are you on Nookie Froyo?
Note that unlike most apks, you don't "install" (adb install <file>). You just push the file (adb push /system/app/Vending.apk). Also, there is case sensitivity. vending.apk and Vending.apk are two different files in *nix.
Click to expand...
Click to collapse
Well... i booted froyo... then i installed the adb on my computer, opened superuser and followed the instructions, i didnt see an error msg, but when i try to check i dont see qmny market in my apps

[Q] Looking for AT&T Hotspot app

Does anyone have the APK for the AT&T Hotspot App (WISPr46_Android22_signed.apk)? This is the one thing I miss most about the FR008 ROM - having the Aria automatically connect to AT&T hotspots. I know I can use the web form, but it's a pain in the rear.
Thanks in advance.
Brainded said:
Does anyone have the APK for the AT&T Hotspot App (WISPr46_Android22_signed.apk)? This is the one thing I miss most about the FR008 ROM - having the Aria automatically connect to AT&T hotspots. I know I can use the web form, but it's a pain in the rear.
Thanks in advance.
Click to expand...
Click to collapse
Go to this thread and download one of the rooted AT&T ROMs, unzip it and pull the apk out.
Found the APK in the most recent 2.2.2 ROM from Gene Poole. Pulled it out and copied it to the Aria. "Application not installed". Oh well. Thanks though!
Brainded said:
Found the APK in the most recent 2.2.2 ROM from Gene Poole. Pulled it out and copied it to the Aria. "Application not installed". Oh well. Thanks though!
Click to expand...
Click to collapse
How did you copy it to the phone? If you boot into recovery and mount /system as Read/Write, then you should be able to type "adb push [name of hotspot].apk /system/app.
I just ran Astro to browse to the APK, then let its app manager do its thing. Being a novice, I appreciate the more detailed instructions. I'll give that a try if I can follow that.
tpbklake said:
How did you copy it to the phone? If you boot into recovery and mount /system as Read/Write, then you should be able to type "adb push [name of hotspot].apk /system/app.
Click to expand...
Click to collapse
Brainded said:
I just ran Astro to browse to the APK, then let its app manager do its thing. Being a novice, I appreciate the more detailed instructions. I'll give that a try if I can follow that.
Click to expand...
Click to collapse
Assuming you have the adb tools installed on your PC (you probably do if you have rooted your phone):
1. Reboot the phone into ClockworkMod recovery. Make sure you do not have the USB cable connected at this point.
2. Select the "mounts and storage" option.
3. Select the "mount /system" option.
4. On your PC open a command window and set your working directory to your "adb\tools" directory.
5. Plug your phone into the USB cable.
6. In the command window type "adb devices". It should respond to with your device name.
7. Copy the WISPr46_Android22_signed.apk to the adb\tools directory.
8. In the command window type: adb push WISPr46_Android22_signed.apk /system/app
9. On the phone select "unmount /system"
10. Unplug the phone.
11. Reboot the phone.
I needed to install the tools, but after that everything went smoothly. However, I don't see the process running, and the icon does not exist. There is an .ODEX file for this package as well; do I need to do anything with that? Or do anything special after the phone rebooted?
Brainded said:
I needed to install the tools, but after that everything went smoothly. However, I don't see the process running, and the icon does not exist. There is an .ODEX file for this package as well; do I need to do anything with that? Or do anything special after the phone rebooted?
Click to expand...
Click to collapse
Yes you need to push the ODEX file too. That is probably why you got "Application not installed" the first time when you tried it through Astro.
Still no love. I pushed both files over, followed the instructions, and it does not appear to be there. Also tried using Astro again just for good measure (with the ODEX file in the same location as the APK), same message. I guess this package just will not install on this ROM.
I appreciate the help - if nothing else I've learned a lot about how the system works!
I'm looking at potentially flashing Gene Poole's 2.2.2 ROM over FR008 anyway, which should put this app back in place in the process, so we'll see.
Thanks again!
Update to this thread:
After upgrading my phone to the latest 2.2.2 ROM from Gene Poole (hoxnet 005b) I was able to successfully install this app using the method described above. The 005b ROM does not include the APK anymore though, so if you want this you'll need to snag it from an older ROM.

[Q] problem when rooting nook tablet

my NT is not working, if you can please click here to help me
anyway, before that - when it was working, i tried to root it by using this method:
http://forum.xda-developers.com/showthread.php?t=1354487
at debloat menu, i chose "extreme" because i want to delete all of B&N content. i just want a normal android tablet, i know i can still read books by using the NOOK app for android.
so i chose extreme mode. and the command prompt window closed right after that.
so my NT was rooted, but not successfully, it was even worse than it was before i rooted.
i open the batch file (NookandZergy.bat) to see what the command lines are to find the reason why it didn't work. and i saw this:
adb shell rm -r /system/app/Accessories.apk
Click to expand...
Click to collapse
i opened command prompt, and typed this. and i got something like "failed because the file is not exist." -> i knew the batch script was wrong in some ways. i was going to unroot and root again with the option "full debloat" (not extreme), but before i do that, i was trying to remove netflix, i wanted to type this to the command line to see what will happen.
adb shell rm -r /system/app/netflix.apk
Click to expand...
Click to collapse
but i accidentally type adb shell rm -r /system/app/, and then it removed everything in /system/app/
i got the error in the nook tablet's screen, i don't remember what the error is, but when i pressed "force close", it kept showing me that error, i tried about 20 times but still not work.
i turned off my NT, and when i boot it, it stuck at "read forever",
that's why i created this thread.
my question is: how do i do "extreme debloat"? i want to remove everything from B&N. can you please give me the correct "command lines" to do this? and how to use that "command lines"?
prepare a sdcard to boot into ClockworkMod (CWM) which is a custom recovery (replaces stock recovery). And from there flash this ROM, for extreme-debloat is easy you can modify the script just to debloat or i can make it for you. First focus in restore your system.
As i said in my last post in your other thread read my FAQ and you will find your what you need there, if you have any question me or any other user will try to help.
PS: here is post i made for a user about how to re-bloat but the thing is that i post the list of all the B&N apps for reference to you so it might be helpfull.
~ Veronica
i have a little knowledge about batch file, so i think i can edit the script
(just edit the wrong file name -> make it become correct file name)
but i don't know what files are inside the folder /system/app/
for example: the file Accessories.apk is not exist, so how should i edit the script
nooktablet said:
i have a little knowledge about batch file, so i think i can edit the script
(just edit the wrong file name -> make it become correct file name)
but i don't know what files are inside the folder /system/app/
for example: the file Accessories.apk is not exist, so how should i edit the script
Click to expand...
Click to collapse
Well you got the error probably 'cause when you ran the script it removed that file so when you typed the same command again it won't remove it because is already gone.
In the link i provided is the list of all the B&N applications that are removed in the extreme debloat option. So you basically have keep that part of the code plus the intro to get in adb shell.
In that post you will also find a link to the complete system/app folder just in case you by "playing around" with adb remove any important system app, so you can push it back.
~ Veronica
lavero.burgos said:
Well you got the error probably 'cause when you ran the script it removed that file so when you typed the same command again it won't remove it because is already gone.
In the link i provided is the list of all the B&N applications that are removed in the extreme debloat option. So you basically have keep that part of the code plus the intro to get in adb shell.
In that post you will also find a link to the complete system/app folder just in case you by "playing around" with adb remove any important system app, so you can push it back.
Click to expand...
Click to collapse
no, when i chose extreme debloat, it closed the command prompt window, before it closed, i saw something "failed...". when i typed the command again it showed "failed...", i'm sure it's exactly what it said before,
and i know after debloat, it should go back and do other command like "thank you for using" (i read the batch file). i also saw B&N apps were still on my NT, debloat didn't work because of the missing file -> the script stopped.
btw, you said i can use adb to push the apps back. so that means i can also use adb to remove apps? can i not debloat when rooting, and after root, i use adb to remove apps later? will adb work at that time?
and can i use adb to explore what files are in the /system/app/ folder? or any other program?
nooktablet said:
no, when i chose extreme debloat, it closed the command prompt window, before it closed, i saw something "failed...". when i typed the command again it showed "failed...", i'm sure it's exactly what it said before,
and i know after debloat, it should go back and do other command like "thank you for using" (i read the batch file). i also saw B&N apps were still on my NT, debloat didn't work because of the missing file -> the script stopped.
btw, you said i can use adb to push the apps back. so that means i can also use adb to remove apps? can i not debloat when rooting, and after root, i use adb to remove apps later? will adb work at that time?
and can i use adb to explore what files are in the /system/app/ folder? or any other program?
Click to expand...
Click to collapse
Yes adb works at anytime even in dockworkers (CWM) .
To know how to use adb go to my FAQ (link below in my signature) and look in the how-to's made by me section for the how to use and install adb.
"adb shell rm -r" is one of the adb commands and is used for remove files.
adb shell = is to get superuser permissions (root/su)to run advanced commands.
rm = remove
-r = recursive
~ Veronica
Sent from my Nook Tablet using xda premium

[GUIDE] Get 48 GB Free promotional Dropbox space

I saw a post in this thread about getting the promotional space on AT&T S4 without flashing TMobile roms. I gave it a try, and it worked just fine. So I thought of sharing the files with you. I pulled them out of a deodexed TMobile rom.
Download the attached file. You need to push Dropbox.apk and DropboxOOBE.apk into system/app and fix permission. Then you need to push com.dropboxpartner into system/framework and again fix permission.
Then, you need to modify the build.prop using a root explorer. Find the following lines and modify them as follow:
ro.product.model=SGH-M919
ro.product.name=jfltetmo
ro.product.device=jfltetmo
Reboot your device, open the Dropbox app, and log in with your existing account, or create a new account. You will receive an email, and after fulfilling 5 of the 7 tasks, you will receive the 48 GB promotional space. After fulfilling the tasks, you can restore your build.prop to its original state.
Attached Files:
http://d-h.st/fZJ
smnfriend said:
I saw a post in this thread about getting the promotional space on AT&T S4 without flashing TMobile roms. I gave it a try, and it worked just fine. So I thought of sharing the files with you. I pulled them out of a deodexed TMobile rom.
Download the attached file. You need to push Dropbox.apk and DropboxOOBE.apk into system/app and fix permission. Then you need to push com.dropboxpartner into system/framework and again fix permission.
Then, you need to modify the build.prop using a root explorer. Find the following lines and modify them as follow:
ro.product.model=SGH-M919
ro.product.name=jfltetmo
ro.product.device=jfltetmo
Reboot your device, open the Dropbox app, and log in with your existing account, or create a new account. You will receive an email, and after fulfilling 5 of the 7 tasks, you will receive the 48 GB promotional space. After fulfilling the tasks, you can restore your build.prop to its original state.
Attached Files:
http://d-h.st/fZJ
Click to expand...
Click to collapse
Worked great for me, thanks! I already had 12GB and had completed the 5 Getting Started steps long ago. When I signed into the DropBox app and got it setup, I suddenly had 60GB for 24months and an email from DropBox.
Here's the instructions I followed:
Cleared cache of, cleared data of, and uninstalled the DropBox app I already had.
Reminder: backup your build.prop
I ended up using this build.prop Editor. When you open it, use the menu key to make a backup before touching anything. Then scroll through and make the changes prescribed in the OP.
Downloaded the file attached in OP.
Extracted files using my computer to my internal sdcard. Possible to do this with apps on your phone (various file explorers or unzip programs), but I found it easier to just do it over USB/MTP.
Fired up ADB Shell - could also use a terminal emulator from the device, but do not use the "stop" command below if you are using an emulator on the device.
Performed the following commands (after running "adb shell" from a command line on the computer):
Code:
$ su
# mount -o rw,remount /system
# stop
# cp /sdcard/Dropbox.apk /system/app
# cp /sdcard/DropboxOOBE.apk /system/app
# cp /sdcard/com.dropboxpartner.jar /system/framework
# reboot recovery
Device rebooted into TWRP, where I used the Advanced menu to Fix Permissions.
Rebooted back into the System like normal.
Opened the DropBox app and signed in. Setup the camera sync again of course (awesome feature).
Checked my mail - Woot.
Used the build.prop editor to restore my build.prop
Closed the build.prop editor and re-opened. For some reason after restoring the backup, the restored changes were not reflected until I restarted the editor. Whatever, but it worked.
Worked for me:thumbup: Thanks! Now what to do after the two year promo period ends...
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
I'm already up to 50GB on doing something like this before. I'm not sure if it'll work again but I'll give it a whirl sometime today. Will report back if I find myself up to 98GB.
Perfectly working.
Followed general instructions (used FX root explorer instead of Android Terminal for dropping apks in designated locations) and this worked just fine without a hitch. I appreciate the straightforward and simple instructions.
All I did was flash Wicked (T-Mobile ROM) then KTOONSEZ touchjizz kernel. After getting my free dropbox space, I flashed back.
Sent from my SGH-I337 using xda premium
lol same here with GOLD3N3Y3 rom; any non-ATT rom works if you DL and activate it. i have my own server so im letting everyone in my family use it for our stuff.
Slade8525 said:
lol same here with GOLD3N3Y3 rom; any non-ATT rom works if you DL and activate it. i have my own server so im letting everyone in my family use it for our stuff.
Click to expand...
Click to collapse
i can confirm that this works on vzw.
Thanks, worked great on my VZW S4.
Aou said:
Worked great for me, thanks! I already had 12GB and had completed the 5 Getting Started steps long ago. When I signed into the DropBox app and got it setup, I suddenly had 60GB for 24months and an email from DropBox.
Here's the instructions I followed:
Cleared cache of, cleared data of, and uninstalled the DropBox app I already had.
Reminder: backup your build.prop
I ended up using this build.prop Editor. When you open it, use the menu key to make a backup before touching anything. Then scroll through and make the changes prescribed in the OP.
Downloaded the file attached in OP.
Extracted files using my computer to my internal sdcard. Possible to do this with apps on your phone (various file explorers or unzip programs), but I found it easier to just do it over USB/MTP.
Fired up ADB Shell - could also use a terminal emulator from the device...
Performed the following commands:
Code:
$ su
# mount -o rw,remount /system
# stop
# cp /sdcard/Dropbox.apk /system/app
# cp /sdcard/DropboxOOBE.apk /system/app
# cp /sdcard/com.dropboxpartner.jar /system/framework
# reboot recovery
Device rebooted into TWRP, where I used the Advanced menu to Fix Permissions.
Rebooted back into the System like normal.
Opened the DropBox app and signed in. Setup the camera sync again of course (awesome feature).
Checked my mail - Woot.
Used the build.prop editor to restore my build.prop
Closed the build.prop editor and re-opened. For some reason after restoring the backup, the restored changes were not reflected until I restarted the editor. Whatever, but it worked.
Click to expand...
Click to collapse
Using terminal emulator, after using #stop, device screen goes black... what do I do, just wait?
Cinosinu said:
Using terminal emulator, after using #stop, device screen goes black... what do I do, just wait?
Click to expand...
Click to collapse
You need to do it from your computer terminal/shell using adb shell command through the USB, not using a terminal emulator on the device. Stop does exactly what it says, it stops the device from running I think , or maybe just pauses.
You should be able to copy the files without stop though, it's probably riskier, and then you need to use reboot. You just need to copy the files into the right locations and then fix the permissions.
Cinosinu said:
Using terminal emulator, after using #stop, device screen goes black... what do I do, just wait?
Click to expand...
Click to collapse
These are linux commands. Stop, stops your device, and you cannot use it unless you reboot it. You can punch in the commands through your computer (this way, you need to install android sdk. Then, open the installed folder, and go to sdk\platform-tools. Here, you should hold shift, right click and select "open command window here", and punch the commands). Also, you can simply use a root explorer, and manually move the files to their folders and fix permissions
Just pull the battery and reboot. It happened to me also.
Sent from my SGH-M919 using xda premium
smnfriend said:
Also, you can simply use a root explorer, and manually move the files to their folders and fix permissions
Click to expand...
Click to collapse
What does this mean? I have ES fie explorer, trying to move the files I get a rewrite error. Do i need to fix the permissions first? What is the adb command?
thanks
I got it!!! :victory:
Why didn't someone tell me you must use the command 'ADB Shell' to start?
I'm no expert with ADB obviously. Knew it was something trivial. Hope someone else finds my comment helpful. :highfive:
Thank you OP and all! XDA rocks!
Thanks for pointing these things out. Yes, "stop" should only be used if doing this from an ADB shell. I've updated my instructions a tad bit to reflect this.
How can i do this for multiple accounts? I logged out and in and no luck.
Sent from my SGH-M919 using xda premium
kalparker said:
How can i do this for multiple accounts? I logged out and in and no luck.
Sent from my SGH-M919 using xda premium
Click to expand...
Click to collapse
did you do a factory reset, re-install of your ROM, then the steps again? that may help by giving you a different device ID (you may have had this warning before in TiBU), which i'm guessing DB is looking for to limit 1 upgrade per device ID.
-rf
xrabbitfootx said:
did you do a factory reset, re-install of your ROM, then the steps again? that may help by giving you a different device ID (you may have had this warning before in TiBU), which i'm guessing DB is looking for to limit 1 upgrade per device ID.
-rf
Click to expand...
Click to collapse
That might work. In TiBu, I have the option to create a new, random device ID - might be a Pro feature only. Check your menu key, and near the bottom you can Manager your Device ID...
I would advise a nandroid backup first - this may screw up some of your other accounts, including Google. I've personally never tried it, but I would imagine it could cause some amount of chaos.
thanks!

Categories

Resources