Now that we have root access... - Desire General

Hello,
Now that we have root access it is possible to remove preinstalled apps like :
- Peep
- Stock
- Stock Widget
- Quick Office
- PDF Reader
- etc.
And how it is possible to do this?
Thanks a lot for the futur answers and have a nice day with your rooted HTC Desire!!!

http://forum.xda-developers.com/showthread.php?t=672352
This ROM has those applications removed. If you want to remove them yourself, you can just try mv'ing the APKs out of the way and see if the phone detects them, but I haven't tried this so advice is issued without warranty. If the apps are in /system you'll need to use the recovery + adb shell mount /system to modify it (try in the OS and the phone will just reboot), if they're not in /system or any other protected dirs, you should just be able to mv them straight.
I haven't rooted my phone yet, but I will later on so this is just ideas at this point.

Thanks for the ROM but I want to customize my phone myself^^
Is there a step by step guide that explain what you say because I'm just starting with android.
Thanks for the answer

Sebacestmoi said:
Is there a step by step guide that explain what you say because I'm just starting with android.
Click to expand...
Click to collapse
+1 on that!
I moved to Desire from a Touch HD, and while I never got into ROM cooking for WinMo, I wouldn't mind dabbling a bit with Android, mostly to remove some of the bloatware that comes with the stock ROM. Trouble is... I have no idea where/how to start Such a 'beginner's guide' would be great to get hold of, if anything exists!
EDIT - found these guides here on XDA:
http://forum.xda-developers.com/showthread.php?t=532719 - ADB, Fastboot and Nandroid for Noobs
http://forum.xda-developers.com/showthread.php?t=502010 - ADB for dummies
(I would have expected to see these in the Android section, not in a device-specific forum; oh well... )

And if we delete the .apk and .odex in the "system/app" folder from the "rootedupdate.zip" that Paul from MoDaCo has given to us before flashing?
Does the ROM will flash and work correctly but without these annoying apps?

Sebacestmoi said:
And if we delete the .apk and .odex in the "system/app" folder from the "rootedupdate.zip" that Paul from MoDaCo has given to us before flashing?
Does the ROM will flash and work correctly but without these annoying apps?
Click to expand...
Click to collapse
Try and find out
Personally I would just delete (rename) the odex + apks from your current installation by rebooting into recovering and using a variation of these commands:
Code:
adb shell
At your PC to get a root shell. Then
Code:
cd /system/app/
Code:
mv theapp.apk theapp.bye.apk
Code:
ls
You will need to use a variation of the above commands, "ls" is list files in this directory, "cd" is change directory, and "mv" is rename file.

All the .apk are readonly so I can't uninstall or rename them...
Waht can I do?

The phone has to be in recovery mode in order to get write permissions to the /system partition.
Pretty obvious, I know, but I missed this and I kept banging my head against the keyboard when getting 'read-only' errors (with the phone in USB Disk Drive + debugging)

So I turn on my phone with the "Sound Down" button and I go on the Recovery screen (with red triangle).
Then I connect my HTC Desire to my computer.
But after that I can't go to system partition...
What command are you writing in the shell to load the system partition and do some stuff on it?
I'm sorry I'm very good with Windows but I'm a total noob wit Linux

I have tried the adb shell command (don't know if it's useful for me...) and the computer return me :
- exec '/system/bin/sh' failed: No such file or directory (2) -
and adb remount return me :
remount failed: Invalid argument

Wait... you tried adb with the phone still showing the red triangle?
First you need to bring it to recovery (the screen with green text).
This is how I do it:
- boot off the .iso provided for rooting
- mount the cdrom as described in the guide, but skip ./step1.sh
- put phone in HBOOT (to get the screen with the red triangle) then connect it to the machine
- run 'sudo ./step2.sh' which will push the files needed for recovery to the device - then you'll get the green screen, just like when you flashed the ROM
- then, on the computer:
'sudo ./adb shell' - brings you to the shell prompt of adb
'mount /system' - mounts the protected partition, but you have write permissions
'cd /system/app/' and then delete whatever I want
when done, 'cd /' and 'umount /system' and 'exit'
Clear the cache so that you won't get dead links in the menus later...

Perfect thanks, I had it in recovery mode, but it couldn't locate the app folder under /system/
but after the mount /system it appeared

Tahnk you a hundred times cezarL.
Now I have cleaned my phone from everything I don't need.
For those who are interested by my work I've done the following commands from the recovery screen :
cd C:\AndroidSDK\tools
adb shell
mount /system
cd /system/app/
rm com.htc.NewsReaderWidget.apk
rm com.htc.NewsReaderWidget.odex
rm com.htc.StockWidget.apk
rm com.htc.StockWidget.odex
rm com.htc.TwitterWidget.apk
rm com.htc.TwitterWidget.odex
rm Facebook.apk
rm Facebook.odex
rm Flickr.apk
rm Flickr.odex
rm HtcFMRadio.apk
rm HtcFMRadio.odex
rm HtcFootprints.apk
rm HtcFootprints.odex
rm HtcFootprintsWidget.apk
rm HtcFootprintsWidget.odex
rm HtcRingtoneTrimmer.apk
rm HtcRingtoneTrimmer.odex
rm htcsearchwidgets.apk
rm htcsearchwidgets.odex
rm HtcSoundRecorder.apk
rm HtcSoundRecorder.odex
rm HtcSyncwidget.apk
rm HtcSyncwidget.odex
rm HtcTwitter.apk
rm HtcTwitter.odex
rm MagicSmokeWallpapers.apk
rm MagicSmokeWallpapers.odex
rm Mode10Wallpapers.apk
rm Mode10Wallpapers.odex
rm NewsReader.apk
rm NewsReader.odex
rm PDFViewer.apk
rm PDFViewer.odex
rm PicoTts.apk
rm PicoTts.odex
rm Quickoffice.apk
rm Quickoffice.odex
rm RSS.apk
rm RSS.odex
rm Stk.apk
rm Stk.odex
rm Stock.apk
rm Stock.odex
rm VpnServices.apk
rm VpnServices.odex
rm WidgetDownloadManager.apk
rm WidgetDownloadManager.odex
cd /
umount /system
exit
Then a reboot with a Clear Storage and every app listed above are gone an there is no bug at all with the phone.

Related

[THEME] NEW Hero skinning and theme AND Hero Cleanup

There was an older thread started by johnnylicious and I am going to be starting a new one that has the new files to skin/theme the lockscreen, phone, htccontacts, and Rosie. for the lockscreen the credits go to goldenarmz.
He created the batch file, I just edited the apk and the png files in there to make it work on the new roms.
BEFORE GOING ANY FARTHER, YOU NEED ADB OR YOU NEED TO KNOW HOW TO DROP INTO RECOVERY CONSOLE OR RUN COMMANDS IN TERMINAL. If you do not have it, stop, go to the stickies, get it going and then come back here. do not junk this up with questions that you can search for.
"what is adb" - part of the SDK. it is a huge help, check out the stickies to get it.
"how do i get adb" - go to the stickies
"can i run this without root" - no
"can i run this on cyanogen" - no, this is for hero roms
"will you make this for non-rooted phones" - no, not possible.
Before doing any modifications to anything on ANY rom do a switchrom save or a nandroid backup.
-INSTALL INSTRUCTIONS-
Transparent Rosie.apk with wallpapers
adb remount
adb shell rm -r /system/sd/app_s/Rosie.apk
adb push directory\Rosie.apk /system/sd/app_s/
Click to expand...
Click to collapse
Ophone Dialer.apk
adb remount
adb push directory\Phone.apk /system/sd/app_s/
Click to expand...
Click to collapse
HtcContacts.apk
adb remount
adb push directory\HtcContacts.apk /system/sd/app_s/
Click to expand...
Click to collapse
ANOTHER OPTION FOR OPHONE DIALER AND HTCCONTACTS
Launcher Themed to look like Hero
adb remount
adb push directory\Launcher.apk /system/sd/app_s/
Click to expand...
Click to collapse
you can either adb shell reboot after each file is pushed or you can wait after all three are pushed to shell reboot
adb shell reboot
Click to expand...
Click to collapse
transparent lockscreen
for the lockscreen- unzip and run the .bat file, follow the instructions.
-FOR THOSE NOT USING ADB FOLLOW THESE INSTRUCTIONS-
COURTESY OF NOLIMIT78​CHOOSE WHICH OPTION YOU ARE DOING, EITHER TERMINAL OR RECOVERY CONSOLE, AND THEN FOLLOW THE INSTRUCTIONS "FOR BOTH"​
This is to move the Rosie.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
This is for both
Code:
rm -r /system/sd/app_s/Rosie.apk #cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
This is to move the Phone.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
This is for both
Code:
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
This is to move the HtcContact.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
This is for both.
Code:
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
This is for Hero CleanUp
This is for terminal
Code:
su
This is for console
Code:
mount /system/sd
This is for both
Code:
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/HTCSetupWizard.apk <-dont remove this one until you set up your phone!
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/Launcher.apk <- only delete this if you dont use it! This is what the secondary program looks like on Hero, basically cupcake looks.
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
DISCLAIMER- I take no responsibility for what happens to your phone, as the screenshots show, it works for me but that does not mean it will work for you. I will be glad to help if you run into problems.
These files have been tested are on working on the newest jacxhero builds from 1.8 on up so far. they should work on most of the other roms as well since they are all using jacxski newest kernel. enjoy.
credits to go goldenarmz for the lockscreen .bat file. if you seek credits just ask, i will be glad to give credit where necessary
-Clean up Hero-
Before doing any modifications to anything on ANY rom do a switchrom save or a nandroid backup.
Since I started running hero roms, i have come to realize that most of the stuff is junk and is not needed. Thus, I have removed many widgets, and many extra .apks that i do not use such as quickoffice, pdfviewer, java, flash, photo album widget, weather widget, music widget, contacts widget, messages widget, mail widgets. I am going to post the commands you can run in ADB to remove these items and speed up hero a little bit. rather than just do a .bat file, i will post them here so the n00bs can just copy and paste into ADB.
TO COPY AND PASTE INTO ADB, HIGHLIGHT THE LINE OF THE ITEM YOU WANT TO REMOVE, PRESS CTRL+C, GO TO THE CMD WINDOW RUNNING ADB AND CLICK IN THE WINDOW AND NOW PRESS ALT+SPACE ADN NOW "E" "P" (WITHOUT THE QUOTES) AND THE LINE SHOULD PASTE OVER. NOW PRESS ENTER AND IT SHOULD RUN.
COMMANDS TO REMOVE FILES
THESE COMMANDS ARE CASE SENSITIVE
adb remount
adb shell rm -r /system/sd/app_s/BizCardReader.apk
adb shell rm -r /system/sd/app_s/com.htc.MusicWidget.apk
adb shell rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
adb shell rm -r /system/sd/app_s/FlashPlayer.apk
adb shell rm -r /system/sd/app_s/HtcClockWidget.apk
adb shell rm -r /system/sd/app_s/htccontactwidgets.apk
adb shell rm -r /system/sd/app_s/htcmailwidgets.apk
adb shell rm -r /system/sd/app_s/htcmsgwidgets.apk
adb shell rm -r /system/sd/app_s/HtcPhotoWidget.apk
adb shell rm -r /system/sd/app_s/HTCSetupWizard.apk <-dont remove this one until you set up your phone!
adb shell rm -r /system/sd/app_s/Jbed.apk
adb shell rm -r /system/sd/app_s/Launcher.apk <- only delete this if you dont use it! This is what the secondary program looks like on Hero, basically cupcake looks.
adb shell rm -r /system/sd/app_s/PDFViewer.apk
adb shell rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
adb shell rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
When removing widgets and some applications, the screen may flash and do the loading screen, this is normal.
Hope this helps you guys running hero roms get things going a little speedier, once again any questions, just let me know, I am working on removing other things here and there to pick up speed, if I find things that can be removed I will post them here.
here is a video of my g1 running my phone as is with all these edits
Console/terminal?
Is it possible to run commands from recovery/terminal? if so, could you please post them in this thread as well? Looks very nice, and i would love to give this a try!
Im gonna try using terminal when i get a minute. Im sure it should work.
Thanks palosjr
akycia said:
Is it possible to run commands from recovery/terminal? if so, could you please post them in this thread as well? Looks very nice, and i would love to give this a try!
Click to expand...
Click to collapse
I'm at work right now, I will post terminal commands when I get home.
Docavelli said:
Im gonna try using terminal when i get a minute. Im sure it should work.
Thanks palosjr
Click to expand...
Click to collapse
Sounds good. If you get to it before I do feel free to post the command here.i will then add them to the OP.
palosjr said:
Sounds good. If you get to it before I do feel free to post the command here.i will then add them to the OP.
Click to expand...
Click to collapse
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
nolimit78 said:
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
thanks for butting in. im home now. about to to add rosie and lock screen. i love the transparent look.
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
nolimit78 said:
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
Thanks for loading those commands on here! Ill add them to the OP and give you the credit! Also the lockscreen did come from goldenarmZ, credit has been given both at the beginning and the end of the OP. I will edit it and make more obvious.
What else would you guys like to see skinned/themed? I am going to work with market and peep. Anything else in particular?
palosjr said:
Thanks for loading those commands on here! Ill add them to the OP and give you the credit! Also the lockscreen did come from goldenarmZ, credit has been given both at the beginning and the end of the OP. I will edit it and make more obvious.
What else would you guys like to see skinned/themed? I am going to work with market and peep. Anything else in particular?
Click to expand...
Click to collapse
What a difficult question! Because cupcake wants to be hero.. but since we're on hero.. hmmmmmm
..for the lockscreen the credits go to goldenarmz.
Click to expand...
Click to collapse
well sir, thats just me not reading! lol
harpreet1988 said:
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
Click to expand...
Click to collapse
Did you get this to work on jacxheroski 2.1??
bigchi2000 said:
Did you get this to work on jacxheroski 2.1??
Click to expand...
Click to collapse
Gotten what to work? Phone.apk?
I've used 2.1 for a day, but then flashed back to 1.5.1. 1.5.1 is faster, at least in my experience it has been. But pushing Phone.apk to 1.5.1 ROM doesn't work.
Though pushing com.htc.resources.apk from Drizzy's 1.4r1 to 1.5.1 ROM got rid of the ARC in the lockscreen.
bigchi2000 said:
Did you get this to work on jacxheroski 2.1??
Click to expand...
Click to collapse
As far as I know it should work. The thing that was keeping these mods from working before was the kernel changes. I am going to keep up with these and when the kernels change i will edit the files accordingly. If you want to be safe, just do this
adb remount
adb pull /system/framework/com.htc.resources.apk
Click to expand...
Click to collapse
This will pull your stock lockscreen, now run the .bat file and let your phone reboot. If it reboots and you cant get past the htc screen do this
adb remount
Adb push (the com.htc.resources.apk file you pulled\com.htc.resources /system/sd/app_s/
Click to expand...
Click to collapse
This will get you back to where you were before. Hope this helps, but like i said it should work just fine.
harpreet1988 said:
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
Click to expand...
Click to collapse
I will make a different phone.apk and htccontacts.apk when i get home that will work with those builds. Its drizzys 1.5.1 right? Sorry im at work still and am trying to keep up with you guys on the fly. For a quicker response hit me up on gtalk - [email protected]
palosjr said:
I will make a different phone.apk and htccontacts.apk when i get home that will work with those builds. Its drizzys 1.5.1 right? Sorry im at work still and am trying to keep up with you guys on the fly. For a quicker response hit me up on gtalk - [email protected]
Click to expand...
Click to collapse
nope it's the MoDaCo 1.5.1 but Drizzy's 1.4
harpreet1988 said:
Gotten what to work? Phone.apk?
I've used 2.1 for a day, but then flashed back to 1.5.1. 1.5.1 is faster, at least in my experience it has been. But pushing Phone.apk to 1.5.1 ROM doesn't work.
Though pushing com.htc.resources.apk from Drizzy's 1.4r1 to 1.5.1 ROM got rid of the ARC in the lockscreen.
Click to expand...
Click to collapse
try this file for phone.apk ... i took the Phone.apk directly from that build and edited it. If it works i will do the HtcContacts.apk as well. follow same instructions as in the OP
1.5.1 Phone.apk
before pushing, rename the file to Phone.apk
ok guys so after messing with peep.apk i got it to be white and transparent, but for some reason, as soon as the app actually starts and shows the tweets, it goes back to normal, i know it has something to do with .9.png and thats fine, i can mess with them, its just going to take more time. so in the meantime, what else would you guys like to see?
palosjr said:
ok guys so after messing with peep.apk i got it to be white and transparent, but for some reason, as soon as the app actually starts and shows the tweets, it goes back to normal, i know it has something to do with .9.png and thats fine, i can mess with them, its just going to take more time. so in the meantime, what else would you guys like to see?
Click to expand...
Click to collapse
Just pushed the edits thru on jacxheroskiv2.1, everything but the lockscreen worked perfectly, did everything exactly as mentioned, don't know where I could've went wrong... the arc is still there, and when i personalize my phone it gives me the option of the transparent theme, i chose it and and my lockscreen is now a solid black picture with an arc over it...
pushed everything else first,
pulled my lockscreen to C:\
extracted zip to my sdcard, ran bat file...
files were copied and then i get the above mentioned.
Wassup palos? Nice to see you getting your hero theming on. Awesome work
bigchi2000 said:
Just pushed the edits thru on jacxheroskiv2.1, everything but the lockscreen worked perfectly, did everything exactly as mentioned, don't know where I could've went wrong... the arc is still there, and when i personalize my phone it gives me the option of the transparent theme, i chose it and and my lockscreen is now a solid black picture with an arc over it...
pushed everything else first,
pulled my lockscreen to C:\
extracted zip to my sdcard, ran bat file...
files were copied and then i get the above mentioned.
Click to expand...
Click to collapse
dont zip the files to the sdcard, just zip them to the directory you downloaded them from, and then run the .bat, i think maybe when you put it on your sd it isnt finding the new files. also, if you push everything and then pull the lockscreen, there arent going to be any new images there because you pulled them off the phone.
Wassup palos? Nice to see you getting your hero theming on. Awesome work
Click to expand...
Click to collapse
whats going on bro, yea its nice to be able to know enough to give back now

Uninstalling WaveSecure from Modaco ROM

I just installed the Modaco ROM on my Desire (It is awesome BTW) but i don't like the WaveSecure program and i can't seem to be able to find it in /system/app to remove it!
Is there a way to delete this program off the phone!?
I would like to learn how to do this also
Don't think you can unless you use the online kitchen (I don't like it so removed it from mine)
I believe:
adb remount
adb shell rm /system/app/com.wsandroid.apk
Click to expand...
Click to collapse
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
plasmafire said:
Doesn't seem to work mate.
Code:
C:\DevTools\android-sdk-windows\tools>adb remount
remount succeeded
C:\DevTools\android-sdk-windows\tools>adb shell
# rm /system/app/com.wsandroid.apk
rm /system/app/com.wsandroid.apk
rm: can't remove '/system/app/com.wsandroid.apk': Directory not empty
#
Click to expand...
Click to collapse
Running as admin?
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Insomnious said:
Same here. Running as admin - nevertheless "Directory not empty"
Edit: solved. Run SUBFS on phone and mounted /system RW. After that tried again in cmd - voila!
Click to expand...
Click to collapse
+1
For noobs like me: It's actually SUFBS, not SUBFS. Google for the apk, install the app, in the menu there's an option "mount /system RW". Activate and then run the adb commands above in a cmd window on your PC. Et voila!
(Just realised this is a Desire thread, this worked for me on my Nexus too)

Helppp removing .apks with sdk method

i try this on the comment prompt while phone running.
cd\sdk
cd android-sdk-windows
cd tools
adb devices
adb shell
#mount /dev/block/mtdblock4 /system
cd /system/app
ls
i get all the apk. files
i try removing an apk.file
typing this syntax:
rm -f thenameoftheapp.apk
and it'll say:
rm failed for -f, read only file system
it wont let me write on the system im guessing.
Now i tried doing the same thing but phone mode is on recovery.
I have the nand protection unlocked so when i get to recovery mode
i have already the custom recovery setup showing, i don't run the recovery-windows.bat.
now when i type this on the comment prompt
cd\sdk
cd android-sdk-windows
cd tools
adb devices
adb shell
#mount /dev/block/mtdblock4 /system
cd /system/app
ls
i get all the apk. files
i try removing an apk.file
typing this syntax:
rm -f thenameoftheapp.apk
after i hit enter it shows me
#
so im assuming the apk. has been removed
after i exit the comment prompt and i wipe the dalvik-cache
i reboot the phone and all the apps i removed are still there and running still.
help please

Need Settings.apk and Settings.odex

I did a search on the forums and google and can't find a solution. While removing bloat ware on my phone I some how removed my settings apk and odex.
I'm not sure how or why I did this but I think it was because I was using the "up" button in the cmd prompt so I wouldn't have to retype file names when changing apk to odex and some how or another deleted Settings.apk/odex on some fluke (a copy and paste of the commands I typed in below).
Does anyone know where I can get these two files back (Settings.apk and Settings.odex), and what the commands are to put them back in the proper directory.
Thank you for any help.
Code:
/system/app # rm Sprint_NASCAR.apk
rm Sprint_NASCAR.apk
/system/app # rm Sprint_NFL.apk
rm Sprint_NFL.apk
/system/app # rm Settings.odex
rm Settings.odex
/system/app # rm Settings.apk
rm Settings.apk
/system/app # rm com.htc.StockWidget.odex
rm com.htc.StockWidget.odex
/system/app # rm com.htc.StockWidget.apk
rm com.htc.StockWidget.apk
edit: did a advanced nanroid restore of my system and all is good. sorry for the obvious problem and fix, I am a bit new.

[NST]Manual Rooting, ADB, Gapps (1.1), etc

Please, dont post on this thread, continue to use [NST]MinimalTouch 1.1beta5
Recomendation, Paste the commands one by one.
I am not responsible for any damage your nook suffers.
Index
Automatic Method:
[NST]MinimalTouch 1.1beta5
[NST]Touch-Formatter
Manual Tutos:
Skip registration (OOBE)
Making the manual process LESS PAINFULL
Setting up adb manually on the nook touch
Setting up root access on NST through adb and installing busybox
Improve battery life(testing)
Backup bookmarks and annotations(testing)
Enable non market app installs
Installing XorZone's B&N button modifier
Change the powered off screen image
Blocking OTA updates
Installing new fonts for your nook (testing)
Installing Gapps (+launcher, etc)
Totally uninstall Gapps (my repack), unrooting, erasing and restoring
Interesting or useful specific apps or hacks for Nook Simple Touch
nook 1.1 update
Thanks to:
GabrialDestruir for his hard work, making easy to root the NST creating the Touchnooter (http://forum.xda-developers.com/showthread.php?t=1343143) (http://forum.xda-developers.com/showthread.php?t=1132693)
ros87 for the update on uramdisk and the how to modify boot/charging images and usb drivers. (http://forum.xda-developers.com/showthread.php?t=1337653) (http://forum.xda-developers.com/showpost.php?p=17882146&postcount=11) (http://forum.xda-developers.com/showpost.php?p=19342931&postcount=12)
XorZone for NookTouchTools and his jars, book button menu and the orientation Switch (http://forum.xda-developers.com/showthread.php?t=1289894)
nookdevs for noogie and making all this possible (http://nookdevs.com/NookColor_Rooting)
mali100 for the update on framework. (http://forum.xda-developers.com/showpost.php?p=19201466&postcount=352)
xboxexpert for the working market. (http://forum.xda-developers.com/showpost.php?p=15084704&postcount=51)
Kralik for his findings. (http://www.mobileread.com/forums/showthread.php?t=156539)
bonzer2u for OTA blocking. (http://forum.xda-developers.com/showpost.php?p=10973887&postcount=1)
traycold for his images (http://forum.xda-developers.com/showpost.php?p=17822468&postcount=9)
jerryfan2000 for Button savior (http://forum.xda-developers.com/showthread.php?t=865525)
OMGWTF_BBQ for the Button Savior eink friendly mod (http://forum.xda-developers.com/showthread.php?t=1250278)
TJay99 for the Simplistic Countdown Timer (http://forum.xda-developers.com/showthread.php?t=1290900)
mdall for tweaking the screen refresh (http://forum.xda-developers.com/showthread.php?t=1241419)
dark_hawk for adding the last step on the Gaps method + Fonts (method 1) (http://forum.xda-developers.com/showpost.php?p=19441352&postcount=33)
met67 for usb drivers http://forum.xda-developers.com/showpost.php?p=19339163&postcount=11
LastSilmaril for the bookmarks and annotations info (http://forum.xda-developers.com/showpost.php?p=19483661&postcount=67)
met67 for the permissions and ownership on Gapps (http://forum.xda-developers.com/showpost.php?p=19658259&postcount=109)
mali100 for portin CWM to NST (http://forum.xda-developers.com/showthread.php?t=1360994)
salsichad2 for pointing out that the X files where corrupt and his adw theme config (http://forum.xda-developers.com/showpost.php?p=19720053&postcount=139)
kneeldug for sugesting extra steps on the automatic tuto.
bisbal for helping me beta testing.
dobbing for the copy of the 1.1 update.
Setting up adb manually on the nook touch:
If you want to restore, wipe data, or reset your nook, FIRST read how to backup your anotations and then search on this post for: Totally uninstall Gapps (my repack), unrooting, erasing and restoring.
Download noogie, and burn it into an SD-card (http://www.multiupload.com/OFI609MP8V) use Win32DiskImage.exe.
Shut down the Nook Touch completely your NST http://www.multiupload.com/CJ981FWPJG
Insert the SD-card into your Nook, connect it to the pc and turn it on.
When the nook ends booting (you should see a rooted forever splash screen on it) wait 20 seconds, you should see a new drive named boot, if not, go to MiniTool Partition Wizard Home Edition look for a partition named boot and assign it a letter.
Open boot, and replace the uramdisk, with one of these (http://forum.xda-developers.com/showthread.php?t=1337653).
This tuto is all made for the Wifi-uramdisk, if you want to use the usb change all the "adb connect yourNSTip" into "adb devices".
If you finally want to use adb over usb, follow this to make the nook recognizable by adb http://forum.xda-developers.com/showpost.php?p=19342931&postcount=12 or install this http://forum.xda-developers.com/showpost.php?p=19339163&postcount=11.
Eject the nook from the pc and reboot the NST without the noogie SD-card.
Setting up root access on NST through adb and installing busybox:
Download java JKD http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download the android sdk (I recommend zipped) and extract it on C so that it looks like C:/android-sdk-windows
Open the SDK manager and update it, install for example the 2.1 platform, etc, it will automatically create /platform-tools
Download Superuser (http://nookdevs.com/images/a/a9/Superuser.zip), su (http://nookdevs.com/images/e/e0/Su.zip), and busybox (http://bit.ly/s1s7FZ or http://benno.id.au/android/busybox), extract them on C:/android-sdk-windows/platform-tools
Connect your NST to your home Wi-Fi, and check its ip.
Open cmd and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb install Superuser.apk
adb push su /data/local/
adb shell
cd /system/bin
mount -o remount,rw /dev/block/mmcblk0p5 /system
cat /data/local/su > su
chmod 6755 su
reboot
Now we will install buysbox.
Close cmd and reopen it, When your nook reboots type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
exit
adb push busybox /data/local
adb shell
su
cd /system
mkdir /system/xbin
cd /data/local
chmod 755 busybox
/data/local/busybox cp /data/local/busybox /system/xbin/busybox
cd /system/xbin
chmod 755 busybox
./busybox --install -s /system/xbin
rm /data/local/busybox
reboot
Improve battery life (testing)
As the Nook Touch hasn't got a overclocking kernel, and isn't near, as it isn't convenient to change or modify the cpu governor (it works in an unusual way), as I don't like too many apks bloating my nook, there is something that seems to be working for me, underclocking it manually of course .
The Nook has 3 stock frequencys, 300, 600, 800, and a deepsleep state.
As this small monster is just an ereader, and the refresh rates of eink are painfully slow I didn't find the need for it going all the way to 800mhz I did this small trick:
Make a backup up clrbootcount.sh.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb pull /system/bin/clrbootcount.sh
Now lets modify it:
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
echo "echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" >> /system/bin/clrbootcount.sh
adb reboot
Check to see if the process was succesfull by typing this on cmd:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
To return back to stock file, restore the file you backed up by pushing it back or use:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
sed -i '/echo/d' /system/bin/clrbootcount.sh
reboot
Click to expand...
Click to collapse
If the output is 300000, then it worked and now your nook won't go all the way to 800mhz, if you want to limit it to 600mhz, just change 300000 to 600000.
Backup bookmarks and annotations (Haven't tried it yet)
Bookmarks and annotations are saved in /data/data/com.bn.nook.reader.activities/databases/
To backup them open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb pull /data/data/com.bn.nook.reader.activities/databases/ /bookmarks
To restore them after a reset open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb push /bookmarks /data/data/com.bn.nook.reader.activities/databases/
Enable non market app installs:
Download sqlite3 (http://www.sqlite.org/sqlite-shell-win32-x86-3070900.zip) and extract it on C:/android-sdk-windows/platform-tools
Open cmd and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
exit
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';"
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Installing XorZone's B&N button modifier (Jars for 1.1, for other system versions check thread)(as I call it)
Download the jars (http://forum.xda-developers.com/attachment.php?attachmentid=781948&d=1321243370) and NookTouchTools (http://forum.xda-developers.com/attachment.php?attachmentid=750222&d=1318646585) and extract the zips on C:/android-sdk-windows/platform-tools. (Thread: http://forum.xda-developers.com/showthread.php?t=1289894)
Then backup the original jars onto the SD-card.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
cp -p /system/framework/android.policy.jar /sdcard
cp -p /system/framework/services.jar /sdcard
exit
Then let’s push the new ones in place and install NookTouchTools:
Code:
adb push android.policy.jar /system/framework/
adb push services.jar /system/framework/
adb install NookTouchTools-1.0b2.apk
This can also be done by Nooktouchtools, but this is a manual thread, so now we will delete calvick-cache and fix permissions:
Code:
adb shell
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
chown root.root /system/framework/*
chmod 644 /system/framework/*
rm -R /data/dalvik-cache/*
reboot
Now open NookTouchTools and modify settings as you wish.
Change the powered off screen image
First, let’s make a copy of the original apk.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb pull /system/framework/framework-res.apk
You will find this file on C:/android-sdk-windows/platform-tools.
Make a copy of the file and open it with 7zip (download it if you don’t have it http://www.7-zip.org/).
Look for and open res\drawable-mdpi\
Search for cold_boot_screen.png and replace it for whatever 800x600 image you want.
Search for cold_battery_low_boot_screen.png and again replace it for whatever 800x600 image you want.
Save the modified apk on C:/android-sdk-windows/platform-tools
Then we have to push the new file and fix permissions.
Code:
adb shell
mount -o remount,rw -t ext2 /dev/block/mmcblk0p5 /system
exit
adb push framework-res.apk /system/framework/
adb shell
chown root.root /system/framework/*
chmod 644 /system/framework/*
rm -R /data/dalvik-cache/*
reboot
If you have problems pushing the framework-res.apk because the NST reboots, or hangs, use this zip (http://nooter.googlecode.com/files/RestoreFramework.zip) in conjunction with CWM (http://forum.xda-developers.com/attachment.php?attachmentid=806435&d=1323121399). (Keep reading)
You must:
Open the zip and drop your original or modifyed framework-res.apk in /system/framework, inside the zip.
Copy it to the SD card where you have burnt CWM and flash it through it.
If you see any strange behavior restore your backed up copy.
On this post, there are some nice pictures to use, http://forum.xda-developers.com/showpost.php?p=17822468&postcount=9, I modified them a bit, making them 16 bit grayscale and 800x600, see attachments..
Blocking OTA updates:
To prevent future automatic updating and unrooting you can block OTA updates.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb pull /data/data/com.bn.devicemanager/databases/devicemanager.db devicemanager.db
sqlite3 devicemanager.db
sqlite> update registry set value='manual' where name='com.bn.device.fota.mode';
sqlite> .q
adb push devicemanager.db /data/data/com.bn.devicemanager/databases/devicemanager.db
adb reboot
Installing new fonts for your nook
This first method works for Opera mini, for example, not for normal apps.
The second one for changing the official interface Font (testing)
The third one for changing the Fonts on the official reader app (testing)
1º method
First open CMD and make a copy of your fonts:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
adb pull /system/fonts
exit
Then add the new fonts.
Code:
adb push thenewfont /system/fonts
adb shell
su
chmod 4755 /system/fonts/*
2º method
3º method
Installing Gapps (+launcher, etc)
Market FULLY functional, My apps tab working and updating correctly, proof: http://forum.xda-developers.com/showpost.php?p=19602755&postcount=76
PC android market webpage working, proof:
{
"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"
}
dark_hawk's exprience.
My experience.
New packages, deleted all the unneeded, apks, not needed libraries, jars, etc.
You have four options:
Minimal Touch (Core Gapps (http://bit.ly/rQ3YNn))
Minimal Touch + NookColorTools (http://bit.ly/vUwXeb)
Minimal Touch + Extras (Core Gapps + Launcher + theme + Button savior + NookColorTools(http://bit.ly/skgHhe))
Everything is functional, Gmail, Gtalk, Market.
Instructions:
For this process to work, you will need to install busybox, so search for Setting up root access on NST through adb and installing busybox and go directly to installing busybox if you come from another method of installing Gapps.
Download Minimal Touch + Extras if you haven't got a launcher installed, and extract it on the C:/android-sdk-windows/platform-tools (root)
Download Minimal Touch if you already have a launcher installed, and extract it on the C:/android-sdk-windows/platform-tools (root)
First, make a backup of the files we will modify:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
adb pull /system/framework/framework.jar
adb pull /data/system/packages.xml
adb pull /system/build.prop
exit
exit
Second, lets start with the install process.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
exit
adb push data /data
adb push system /system
If the NST reboots before finishing the process, it may happen, start again where you left it.
Now lets fix permissions and ownership.
Code:
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
chown system.system /data/app/*
chmod 644 /data/app/*
chmod 644 /system/app/*
chmod 644 /system/etc/permissions/*
chmod 644 /system/framework/*
chmod 644 /system/lib/*.so
reboot
When the NST reboots select adw launcher as your predefined launcher (If you haven't already), log in on YouTube (click settings, my channel) and log in the Gmail account you used on YouTube, both accounts must be the same.
It will fail to sync and force close.
Open Cmd and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
sed -i '/uid.system/,/perms/{/uid.system/b;/perms/b;d}' /data/system/packages.xml
reboot
Gmail should already work and sync.
Open Cmd and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
echo "ro.config.nocheckin=no" >> /system/build.prop
reboot
Let android fully load.
Open Market, it will try to connect, if it can't retry until it does (it will), if it doesn’t, you haven’t got the Wi-Fi on .
Market should be fully functional now.
After this, manually by deleting it and its data, or through your launcher, or through Nook Color Tools, you can unistall YouTube.apk, it is no longer needed, and autostarts everytime wasting resources.
Now lets make protected apps show in market
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
sed -i 's/^.*ro.build.fingerprint.*$/ro\.build\.fingerprint=verizon\/voles\/sholes\/sholes:2\.1-update1\/ESE81\/29593:user\/release-keys/' /system/build.prop
reboot
Protected apps wont appear inmediatly, the market must check your new fingerprint and that happens at midnight, so you can wait 1 day or:
Check you have correctly changed the fingerprint, change the time to 23:50 on your Nook Touch and wait till "midnight" wait a bit more, and protected apps should appear.
Totally uninstall Gapps (my repack), unrooting, erasing and restoringTesting
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p5 /system
adb push /system/framework/framework.jar
adb push /data/system/packages.xml
adb push /system/build.prop
rm /data/app/YouTube.apk
rm -R /data/data/com.google.android.youtube
rm /system/lib/libgtalk_jni.so
rm /system/lib/libinterstitial.so
rm /system/framwork/com.google.android.gtalkservice.jar
rm /system/etc/permissions/com.google.android.datamessaging.xml
rm /system/etc/permissions/com.google.android.gtalkservice.xml
rm /system/app/Gmail.apk
rm -R /data/data/com.google.android.gm
rm /system/app/GmailProvider.apk
rm -R /data/data/com.google.android.providers.gmail
rm /system/app/GoogleApps.apk
rm -R /data/data/com.google.android.googleapps
rm /system/app/GoogleCheckin.apk
rm -R /data/data/com.google.android.server.checkin
rm /system/app/GoogleSubscribedFeedsProvider.apk
rm -R /data/data/com.google.android.providers.subscribedfeeds
rm /sytem/app/gtalkservice.apk
rm -R /data/data/com.google.android.apps.gtalkservice
rm /system/app/Talk.apk
rm -R /data/data/com.google.android.talk
rm /sytem/app/TalkProvider.apk
rm -R /data/data/com.google.android.providers.talk
rm /sytem/app/Vending.apk
rm -R /data/data/com.android.vending
reboot
Unrooting:
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
rm -R /sytem/app/Superuser.apk
rm -R /data/app/Superuser.apk
rm -R /sytem/bin/su
rm -R /sytem/xbin
reboot
Erasing and restoring:
After this, if what you want is to have a clean nook and you didnt make a backup before rooting you have to:
Use nookRestore to restore /system (http://forum.xda-developers.com/showthread.php?t=1289233), or using adb do:
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
echo -n -e "\x08\x00\x00\x00" > /rom/devconf/BootCnt
reboot
Use on settings, device, Erase and Deregistered to wipe /data
(If it doesn’t let you, force it shutting down your nook, then starting it up, and when the screen flickers press right and left bottom buttons, hold for 5+ seconds).
Update to 1.1 (http://www.barnesandnoble.com/u/Software-Updates-NOOK-Simple-Touch/379003175/)
Interesting or useful specific apps or hacks for Nook Simple Touch
Calendar Pad (https://market.android.com/details?id=jp.ne.gate.calpad)
Book button menu (http://forum.xda-developers.com/showthread.php?t=1280509)
Button Savior (http://forum.xda-developers.com/showpost.php?p=9669486&postcount=1)
Button Savior eink friendly mod (http://forum.xda-developers.com/showthread.php?t=1250278)
Simplistic countdown timer (http://forum.xda-developers.com/showthread.php?t=1290900)
Tweaking the screen refresh (http://forum.xda-developers.com/showthread.php?t=1241419)
Orientation Switch [Recommended, use in conjunction with XorZone's B&N button modifier] (http://forum.xda-developers.com/showthread.php?t=1283176)
ADW launcher + Minimalist_Black - ADW Theme, nice launcher + awesome theme pack with awesome icons for eink (https://market.android.com/details?id=org.adw.launcher + https://market.android.com/details?...iwiY29tLmRhdmlkMTE3MS5taW5pbWFsaXN0YmxhY2siXQ..)
Minimalistic text, it’s a really nice free widget app, from which you can make things like this http://attachments.xda-developers.com/attachment.php?attachmentid=781918&d=1321239931, you will need version 2.6.2 or 2.6.3 here you have the 2.6.2 (http://www.megaupload.com/?d=UO7PD9BU) and the market link for the latest (https://market.android.com/details?id=de.devmil.minimaltext)
AdbWireless widget, to control when you want adb over Wi-Fi on and off with the Wi-Fi uramdisc, or to add the possibility to the usb uramdisc (https://market.android.com/details?id=siir.es.adbWireless)
Making the manual process LESS PAINFULL
To not have to open each time CMD, and go typing cd C/.... and connect yourNSTip make a small batch file like this:
Open notepad type:
Code:
@echo off
cd C:/android-sdk-windows/platform-tools
adb kill-server
adb connect yourNSTip
cmd
Save the file as .bat, or change the extension when saved.
Now each time you reboot in the proces, instead of opening CMD and typing cd ..... and adb connect.... just open this file and star copying command right away
eded333 said:
Change the powered off screen image
First, let’s make a copy of the original apk.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb pull /system/framework/framework-res.apk
You will find this file on C:/android-sdk-windows/platform-tools.
Make a copy of the file and open it with 7zip (download it if you don’t have it http://www.7-zip.org/).
Look for and open res\drawable-mdpi\
Search for cold_boot_screen.png and replace it for whatever 800x600 image you want.
Search for cold_battery_low_boot_screen.png and again replace it for whatever 800x600 image you want.
Save the modified apk on C:/android-sdk-windows/platform-tools
Then we have to push the new file.
Code:
adb shell
mount -o remount,rw -t ext2 /dev/block/mmcblk0p5 /system
exit
adb push framework-res.apk /system/framework/
adb reboot
If you see any strange behavior restore your backed up copy.
On this post, there are some nice pictures to use, http://forum.xda-developers.com/showpost.php?p=17822468&postcount=9, I modified them a bit, making them smaller in size, 16 bit grayscale and 800x600 here is the link http://www.megaupload.com/?d=PD94ZJK9.
Click to expand...
Click to collapse
So, I did all that, but I'm stuck at the loading screen (the one with 5 dots doing stuff).
Any ideas?
I've also tried to restore the orig framework-res.apk, but nothing.
Also changed permissions back to 644.
ace7196 said:
So, I did all that, but I'm stuck at the loading screen (the one with 5 dots doing stuff).
Any ideas?
I've also tried to restore the orig framework-res.apk, but nothing.
Also changed permissions back to 644.
Click to expand...
Click to collapse
I hate you..... (not really )
Read the first page:
"Please, dont post on this thread, continue to use [NST]MinimalTouch 1.1beta5"
Anyway
It works, I've modded it myself, try to fix the the permissions:
chmod 644 /system/framework/*
What images did you use?
Please lets continue this conversation on: http://forum.xda-developers.com/showthread.php?t=1346748
Or through PM, id like to use this thread only to add more tutos, or correct the ones I allready have.
----------------------------------------------------------------------------
Edit,
didnt read you allready did that.
So after restoring the original file, you still have problems?
Try to force shut it down, and start it again, or try to erase dalvik cache, and reboot (if you can acces adb, if not I'll make you an CWM zip)
rm -rf /data/dalvik-cache/*
Skip OOBE:
On the first screen that appears on the NST without tapping any button.
1.Hold the right top button and move your finger from left to right on the top of the screen.
2.The factory button will appear at the bottom right of the screen, tap it.
3.Hold again the right top button and tap the right bottom part of the screen, where the factory button appeared
4.A button labeled skip oobe will appear, tap it, your done
Redid Gapps packages and updated links.
eded333 said:
Improve battery life (testing)
As the Nook Touch hasn't got a overclocking kernel, and isn't near, as it isn't convenient to change or modify the cpu governor (it works in an unusual way), as I don't like too many apks bloating my nook, there is something that seems to be working for me, underclocking it manually of course .
The Nook has 3 stock frequencys, 300, 600, 800, and a deepsleep state.
As this small monster is just an ereader, and the refresh rates of eink are painfully slow I didn't find the need for it going all the way to 800mhz I did this small trick:
Make a backup up clrbootcount.sh.
Open CMD and type:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb pull /system/bin/clrbootcount.sh
Now lets modify it:
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
echo "echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" >> /system/bin/clrbootcount.sh
adb reboot
Check to see if the process was succesfull by typing this on cmd:
Code:
cd C:/android-sdk-windows/platform-tools
adb connect yourNSTip
adb shell
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
To return back to stock file, restore the file you backed up by pushing it back or use:
If the output is 300000, then it worked and now your nook won't go all the way to 800mhz, if you want to limit it to 600mhz, just change 300000 to 600000.
Click to expand...
Click to collapse
Have you done any actual benchmarkings on this? Usually trickery like this actually make degrades battery performance because the slower the computations is done the less time is spent in deep sleep. Most of the time the device should be in deep sleep but whenever something need to be done, it should be done as quickly as is possible.
Anyway I like your guides. I just got everything up and running exactly as I want without a bunch of crappy useless apps installed. Market as well. Something the automated methods doesn't handle at all well
Fulkerson said:
Have you done any actual benchmarkings on this? Usually trickery like this actually make degrades battery performance because the slower the computations is done the less time is spent in deep sleep. Most of the time the device should be in deep sleep but whenever something need to be done, it should be done as quickly as is possible.
Anyway I like your guides. I just got everything up and running exactly as I want without a bunch of crappy useless apps installed. Market as well. Something the automated methods doesn't handle at all well
Click to expand...
Click to collapse
¬¬ please dont reply on this thread.... do it on the thread which I point out on the first post.
I did some testing, and it did last longer when being used, it lasted the same on sleep, I never turn it off, but didnt really do any real benchmarking so its just my impression.
I'm glad this manual tutos are still being used and found usefull ^^

Categories

Resources