[N00B FRIENDLY] [FIX] [HOWTO] Lockscreen, Search button, Menu button not working. - Optimus One, P500, V General

This guide attempts to solve the following problems encountered while either updating CM7(afaik) without wiping data/system or while restoring the system settings using TB:
1. The menu and search buttons' keypresses are detected but the respective actions aren't executed.
2. The lockscreen doesn't get activated.
3. The power menu has only reboot and power off as options. The rest of the options like Airplane Mode and Profiles.
NOTE:
This guide is based on Ubuntu. The procedure in other OSes is the same. You just need to add an entry called device_provisioned" to /data/data/com.android.providers/databases/settings.db with a value 1. The problem was due to this entry being missing. Use a SQLite Database manager to add it. I'm just sharing what I had to do in order to solve the problem.
PREREQUISITES:
1. ADB
2. SQLITE3
FIX:
1. Install sqlite3 if it is not present already on your computer.
2. Copy /data/data/com.android.providers.settings/databases/settings.db from your device to a folder on your computer using ADB.
[Newbie friendly steps]
a. Navigate to where your sdk is installed in Terminal.
b. Then execute this command:
Code:
./adb pull /data/data/com.android.providers.settings/databases/settings.db ~/
3. In the terminal, navigate to the folder where you have copied the file and paste the following code.
Code:
sqlite3 settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
[Newbie friendly steps]
Type this in terminal.
Code:
cd ~
sqlite3 settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
4. Then put the modified settings.db back in its folder.
[Newbie friendly steps]
a. Navigate to where the SDK is installed in the Terminal on your computer.
b. Type this in the terminal
Code:
./adb remount
./adb push ~/settings.db /data/data/com.android.providers.settings/databases/settings.db
./adb reboot
5. Thank me and H:S from the CM forums. This guide is based on his post. ENJOY!
This method is surely better than doing a full wipe, reinstalling all the applications from the market and reconfiguring all the settings.
vlt96 said:
You just need to put provision.apk from the rom's zip, set permissions to rw-r--r-- and reboot...
Click to expand...
Click to collapse
Hope this helps

Reserved
--Reserved--

will this work on htc hero (gsm)?

rajathvsm said:
This guide attempts to solve the following problems encountered while either updating CM7(afaik) without wiping data/system or while restoring the system settings using TB:
1. The menu and search buttons' keypresses are detected but the respective actions aren't executed.
2. The lockscreen doesn't get activated.
3. The power menu has only reboot and power off as options. The rest of the options like Airplane Mode and Profiles.
NOTE:
This guide is based on Ubuntu. The procedure in other OSes is the same. You just need to add an entry called device_provisioned" to /data/data/com.android.providers/databases/settings.db with a value 1. The problem was due to this entry being missing. Use a SQLite Database manager to add it. I'm just sharing what I had to do in order to solve the problem.
PREREQUISITES:
1. ADB
2. SQLITE3
FIX:
1. Install sqlite3 if it is not present already on your computer.
2. Copy /data/data/com.android.providers.settings/databases/settings.db from your device to a folder on your computer using ADB.
[Newbie friendly steps]
a. Navigate to where your sdk is installed in Terminal.
b. Then execute this command:
Code:
./adb pull /data/data/com.android.providers.settings/databases/settings.db ~/
3. In the terminal, navigate to the folder where you have copied the file and paste the following code.
Code:
sqlite3 settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
[Newbie friendly steps]
Type this in terminal.
Code:
cd ~
sqlite3 settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
4. Then put the modified settings.db back in its folder.
[Newbie friendly steps]
a. Navigate to where the SDK is installed in the Terminal on your computer.
b. Type this in the terminal
Code:
./adb remount
./adb push ~/settings.db /data/data/com.android.providers.settings/databases/settings.db
./adb reboot
5. Thank me and H:S from the CM forums. This guide is based on his post. ENJOY!
This method is surely better than doing a full wipe, reinstalling all the applications from the market and reconfiguring all the settings.
I'm sure there might be easier ways of doing this but this method is what I got by googling and by my own experiments. I'm a n00b myself, so any help is appreciated. If you know a better, simpler way, let me know and I'll update this guide or link to your thread/post, with due credits of course.
Hope this helps
Click to expand...
Click to collapse
This has been my issue after restoring via Titanium backup, haven't been able to get this to work either though.

sorry just needed one more post

I really wish this worked for me, but, alas, it doesn't and it drives me nuts.
I did as described on my local system and I double checked the change of contents of settings.db, making sure the respective entry has actually been changed. However, this had no effect Still no lockscreen, no home button and both calendar and clock stop after some time, just as other users described this, too.
I have now spent hours googling for a solution, but other than this posting I have found nothing.
Galaxy S3 with ReVolt 4.1.2 ROM

You just need to put provision.apk from the rom's zip, set permissions to rw-r--r-- and reboot... You complicated tooo much
Sent from my LG-P500

vlt96 said:
You just need to put provision.apk from the rom's zip, set permissions to rw-r--r-- and reboot... You complicated tooo much
Sent from my LG-P500
Click to expand...
Click to collapse
You might wipe system and re-install as well
A few people would like to know why they are doing whatever that is that they are told to do.

Thank you for the guide, but I'm having trouble with step 3. When I try to pull the file from my incredible I get a ton of text in the terminal but no file shows up on my computer in the specified location. Any idea what I could be doing wrong?

How hard is for you to backup data and avoid all of that with a clean flash?
Sent from my LG-P500 using xda app-developers app

Work flawlessly. Thnx

Don't know how to do this- please help!
Hi all,
I may be giving a whole new dimension to being a noob.... well I just have no idea about this command code stuff- I never used terminal until today and I damn sure hope I will not need to anymore in the future I have to say.
so basically I fail at following the "for noobs" instructions. Well I managed to download an install this ADB thing for Mac and was able to confirm in terminal that ADB works. I also have downloaded the SQLite3 on my Mac- not sure though this thing works on Macs.
Well, when following the procedure I get stuck at 2.a. "Navigate to where your sdk is installed in Terminal." what is an SDK and how do i navigate to it in Terminal?
I suppose I will get stuck at the other steps starting with "Navigate to.." as well.
It would be just great if someone could give me a step by step guide litterally saying what I need to do where to get rid of this darn bug that keeps me from using my phone (a sony ericsson arc).
Thanks for your help!
Cheers,
Bert

For more recent versions of CM, there is another key, user_setup_complete, that must also be set

Related

[GUIDE] ROOT | xRecovery | TIPS&TWEAKS to install custom Rom`s

IMPORTANT NOTE: Because people do not have respect for the work of other people or to the point of thanking all the links to the alternatives are "down" until further notice. Over 200 downloads and not a thank you?!
Thanks.
After receiving several PM `s trying to get my help in the installation of Froyo ROM` s i decided to create this little "How to" for the avoidance of doubt.
This is a guide based on the Windows XP System.
This guide is ONLY for Xperia X10.
This guide was based on information gathered and based on my own experience and presents, in my opinion, the best way to get what you want. Whenever possible I will present alternatives.
This guide has a starting point of the original ROM SE (no root) if you already have root access please go to step 2.
---------------------------------------
---------------------------------------
What you`ll need before proceeding:
- Download SDK from google (need help for this? go HERE)
- Make sure you`ve just one partition on your sdcard and on FAT32. More info HERE
- Before each and every step make sure you have USB Debugging checked (settings>applications>Development)
---------------------------------------
---------------------------------------
I WILL NOT BE RESPONSIBLE IF ANYTHING GOES WRONG​
1. Getting Root Access
1st mode
- Download file rootme.tar.bz2 HERE and follow the instructions or use as an alternative SuperOneClickv1.5.5-ShortFuse;
- Reboot.
2nd mode
You can alternatively use THIS pre-rooted and with xRecovery allready instaled rom. Saying this, if you choose to install this rom can proceed to step 3
Use THIS tool if you have any trouble with Bin4ry one.
Bin4ry realease a new tool you can try it HERE.
2. Installing xRecovery
1st mode
- Download xRecovery HERE and do the installation by following the instructions.
2nd mode
For the case of having problems installing the xRecovery do the following:
- Download THIS version of xRecovery;
- unzip it and copy the content (3 files) to the root of your sdcard;
- Open cmd prompt (start>run and type cmd) - From now on i will call this adb shell. I also recomend that you create a shortcut to this on your desktop, since you will use this many times;
- Now go to tools folder where you install your SDK. In my case (C:\Program Files\Android\android-sdk-windows\tools>);
Now type:
HTML:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/busybox of=/system/bin/busybox
dd if=/sdcard/chargemon of=/system/bin/chargemon
dd if=/sdcard/xrecovery.tar of=/system/bin/xrecovery.tar
reboot
Check your screen and give permition
- Reboot
- Press several times after "sonyericsson" appear on back button to confirm if xRecovery it`s installed. If it`s corrected installed you wil see your screen as the images bellow.
Although this guide is described for the installation of zhizu rom`s the process is exactly identical to the TripNRaVeRs and jerpelea rom`s
3. Installing Rom`s
This guide is for every rom that supports xRecovery process. I will not answer questions from other method.
- Choose the rom you want.
ZHIZU / TripNRaVers v2.1 / TripNRaVers vMIUI / jerpelea
3.1.
zhizu rom:
- Download-FreeX10 beta1.zip;
- Download gapps_latest_FreeX10.zip;
- Download FreeX10-beta1-hotfix4a.zip (at this point this is the last version, if a newer version exist please download that one. The process is identical);
- Create a folder at the root of the sdcard named ROMS;
- Create a folder inside ROMS called zhizu, TripNRaVers or jerpelea (dependind witch rom you`ll use);
- Copy the downloaded files to that folder;
- Reboot;
- Enter on xRecovery and:
3.1.1.
- Install custom zip;
- Choose custom zip from sdcard;
- ROMS (folder you created earlier);
- zhizu;
- Run the FreeX10-beta1.zip;
- Run the FreeX10-beta1-hotfix4a.zip;
- Reboot;
---------------------------------------
---------------------------------------
NOTES:
After that, probably you won`t have network and screen is crazy... do this:
Open adb shel again and type:
HTML:
adb shell
killall servicemanager
Your phone will reboot.
HAVE REAL ISSUES REGARDING "killall: not found"? type this instead (thks to NeoInc):
HTML:
adb shell
busybox killall servicemanager
If you`ve installed the TripNRaVers rom and if you have issues with wireless run this command on adb shell (thks to rodak ):
HTML:
adb shell
setprop net.dns1 192.168.1.1
If you having problems with su permission type (thks to AzureNightwalker ):
HTML:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 4755 /system/bin/su
---------------------------------------
---------------------------------------
(back on topic)
- After reboot enter on xRecovery again and go where you put your files again but this time you will run the gapps_latest_FreeX10.zip
- DONNE
If after instaling gapps_latest_FreeX10.zip you still don`t have google apps, please install THIS and then gapps_latest_FreeX10.zip
4.
If you want to install new market, please do this:
- Enter AT LEAST once in the old one;
- Copy THIS to the folder you`ve created earlier and run it from xRecovery.
---------------------------------------
---------------------------------------
CREDITS:
None of this would have been possible without the incredible work of our devs.
All the credit should be directed to them. Not for me. Just tried with this guide to help young (or not) to get phones rooted, install xRecovery and for installation of these incredible ROM `s.
Thanks to (in alphabetical order): (sorry if i forgot someone)
Bin4ry;
CLShortFuse;
jerpelea;
MarylandCookie;
rodak
th4r;
TripNRaVeRs;
XperiaX10iUser;
ZHIZU;
and all XDA users
|tips & tweaks|
some commands that you may require at some point
Copy to/from sdcard
HTML:
adb push /mnt/sdcard/<filename> - to copy the file to SD
adb pull /mnt/sdcard/<filename> - to copy the file from SD
Fix Facebook Sync (at the present TripNRaVeRs Rom may need it)
Please make back up first
Install to your Android using push command
HTML:
adb push ContactsProvider.apk /system/app/ContactsProvider.apk
adb reboot
Download ContactsProvider from HERE (thks XperiaX10iUser )
This will fix the Facebook sync, you might need to remove and add the Facebook account again.
If you loose root access for some reason, please open ADB shell and issue this command:
HTML:
chmod 4755 /system/bin/su
--------------------------------------------
--------------------------------------------
some tips & tweaks to play with
Let`s play with build.prop shall we?
CAUTION WITH THIS!!! ALL CHANGES MUST BE DONNE AT THE END OF THE DOCUMENT!!!
What will you get with this...
Well. In my opinion and only that, i think this way i can preform a much stable version of 2.2 Froyo released by zhizu.
After all apps installed (more or less 35) i get a very stable and fast rom (more or less 1500 on quadrant) and rarely had a FC.
So...like i said...that`s my 2cents.
1st mode - root explorer
You can make changes directly through RE by going on \system and then:
- Press and hold on build.prop file;
- Check all Permitions on the drop down menu;
- Press and hold on build.prop file (again);
- Choose open in text editor;
- After changes were made save and exit;
- Reboot.
2nd mode - Through Text Editor
To edit this one you must do this on a UNIX system base. You can use THIS to do that.
- Copy your build.prop to your sdcard and then to your pc;
- Open build.prop through NOTEPAD++;
- Now check all permitions for build.prop in \system folder
- After you made the changes proceed in reverse way and check all permitions again;
- Reboot.
This is your build.prop of your phone. Here we can do some tweaks in it.
Look carefully some already exist somo you have to add.
ro.sf.lcd_density=XXX (here you can put any value between 180/240) - This will affect the way you see your screen;
wifi.supplicant_scan_interval=XXX - This is how often your phone search for wi-fi spots and obviously will afect your battery life. Choose whatever you want in seconds. For instance, i have 360. Witch means my phone will search for wi-fi every 360 seconds.
dalvik.vm.heapsize=XXX (here you can put any value between 12/40) - This is how Android lead with apps. Lower value faster phone but big apps will crash. Higher value slower phone on small apps but faster on big ones). I have this to 40.
windowsmgr.max_events_per_sec=XXX (here you can put any value between 30/300) - This affect screen responseness of screen. You may try this if you have any problems with lag. I have this to 200.
mot.proximity.delay=XXX (here you can put any value between 0/300) - This will affect the time your screen goes off when receive a call. I have this to 150.
--------------------------------------------
--------------------------------------------
| Rom`s | Themes |
THIS ONLY WORK AFTER RIGHT INSTALATION OF THE ABOVE ROM´s
What is the joke of having rooted phone if we do not install anything to envy to our friends. Right?!
SEMPITERNAL THEME
XperiaX10iUser
wesvista
Whats wrong with my guide?
http://forum.xda-developers.com/showthread.php?t=908791
rodak said:
Whats wrong with my guide?
http://forum.xda-developers.com/showthread.php?t=908791
Click to expand...
Click to collapse
nothings wrong with it. if you read it goes further. root/xrecovery/rom`s and since so many people has sent me pm`s to explain them...
don`t get offensive
rendeiro2005 said:
nothings wrong with it. if you read it goes further. root/xrecovery/rom`s and since so many people has sent me pm`s to explain them...
don`t get offensive
Click to expand...
Click to collapse
From my guide:
"Feel free to help me improve this guide, just post here and I will update this post with all good tips!"
But hey, let´s have a lot of guides spread all around this forum just to get some credit
Hmm. Sorry. Got a question here.
Step 1 and 1a, is it the same? Or i need to do step 1 and then do step 1a?
And partition on my sdcard is already on Fat32, do I need to reformat it again to Fat32?
wanmeow said:
Hmm. Sorry. Got a question here.
Step 1 and 1a, is it the same? Or i need to do step 1 and then do step 1a?
And partition on my sdcard is already on Fat32, do I need to reformat it again to Fat32?
Click to expand...
Click to collapse
Hi,
1st. Like i said "alternatively". 1 is one way and 1a is another way. The diference between the two is the fisrt one you have to root after install and the second one came pre-rooted.
2nd. Since you`ve sdcard on FAT32 don`t have to do it again. Just be sure there`s ONLY ONE partition.
Hope it helps
Oh. sorry. I miss the "alternatively".
Which one is the best? 1 or 1a?
wanmeow said:
Oh. sorry. I miss the "alternatively".
Which one is the best? 1 or 1a?
Click to expand...
Click to collapse
depends on what you want. root or not rooted.
for the installation of above Rom `s you need to have root access.
Oh, ok. Thank you. I go download the files and try it first.
wanmeow said:
Oh, ok. Thank you. I go download the files and try it first.
Click to expand...
Click to collapse
you`re wellcome
tell me how it goes
nice guide.
tnx
Tehouster said:
nice guide.
tnx
Click to expand...
Click to collapse
wellcome
no need to thk me just click thks
Im stuck at SE white logo. If im not pressing back button, it will boot normally. Im thinking like giving up. >.<
wanmeow said:
Im stuck at SE white logo. If im not pressing back button, it will boot normally. Im thinking like giving up. >.<
Click to expand...
Click to collapse
Wicth process you follow?
From stock ir zhizu rom?
If you start from stock witch process you usr to install xrecovery?
As you know i've two possibilities on eatch one if you dont tell all things youve donne i cant help you
sent from my ****up X10 running amazing zhizu rom

For Noobs: Titanium Backup with Temp Root on Evo 3D

***Note: this is a "for noobs by noobs" post: meant to guide people step-by step. The only needed info I don't cover is BASIC dos commands like "cd" (the only one you really need for this). I didn't post this in development b/c I've added basically nothing except more thorough instructions for noobs like me. Hope this helps!!!***
If Temp Root was worth messing with at all, IMO it was worth messing with in order to do a titanium backup. That's what I was able to successfully with the method below.
I haven't seen this thread's equal here in the 3D forums, so I figured I would repost. All credit where credit is due! Teamwin and then Joel.bourquard for this write-up/slight modification to teamwin's solution.
SO: basically follow the write-up below exactly. I downloaded Titanium Backup and Superuser directly from the market before beginning. Also, after you've finished his steps you can simply click to open Titanium Backup (no need to fool with Superuser) and it'll recognize root, find all your programs(including system data/programs), etc etc. Works like a charm!
NOTE for NOOBS: Download the attached zip --I've included the needed ADB files as well. Attach your EVO 3D using a USB cord and make sure USB debugging is turned ON (check in Settings-->Applications-->Development) and also make sure you aren't letting your PC access your SD card (go to Settings-->Connect to PC and change default to "Charge Only")
Once you've downloaded and unzipped them, open a command prompt (start menu, type "cmd" and type enter). Once in the command prompt, navigate to wherever you downloaded/extracted the zip. FROM THERE, type in each command in the writeup below EXACTLY AS WRITTEN (with quotation marks and everything). Once you've done the last ste (adb shell "/data/bin/root.sh") you can grab your device and open Titanium Backup and VOILA!
----
THE WRITE-UP
Type these commands AS WRITTEN into your cmd prompt after you've (1) downloaded superuser and Titanium Backup from the market (2) downloaded and extracted the zip and (3) navigated your command prompt to the location where you extracted those files.
adb push fre3vo /data/local/tmp/
adb shell "cd /data/local/tmp ; chmod 755 fre3vo ; ./fre3vo"
adb shell "mkdir /data/bin ; mv /data/local/tmp/fre3vo /data/bin/"
adb push su /data/bin/
adb push root.sh /data/bin/
adb shell "chmod 4555 /data/bin/su ; chmod 755 /data/bin/root.sh"
adb shell "/data/bin/root.sh"
BINGO! Now open Titanium Backup and you're good to go!
For more info, PLEASE see the sources!
http://forum.xda-developers.com/showthread.php?t=1151735
http://therootofallevo.com/forums/viewtopic.php?f=8&t=76
sweet havent gotten it to work for me but ill keep on trying haha guess im a hardcore noob
No worries, me too! As long as you can change directories is dos you should be fine
Sent from my PG86100 using XDA App
panamaniac said:
***Note: this is a "for noobs by noobs" post: meant to guide people step-by step. The only needed info I don't cover is BASIC dos commands like "cd" (the only one you really need for this). I didn't post this in development b/c I've added basically nothing except more thorough instructions for noobs like me. Hope this helps!!!***
If Temp Root was worth messing with at all, IMO it was worth messing with in order to do a titanium backup. That's what I was able to successfully with the method below.
I haven't seen this thread's equal here in the 3D forums, so I figured I would repost. All credit where credit is due! Teamwin and then Joel.bourquard for this write-up/slight modification to teamwin's solution.
SO: basically follow the write-up below exactly. I downloaded Titanium Backup and Superuser directly from the market before beginning. Also, after you've finished his steps you can simply click to open Titanium Backup (no need to fool with Superuser) and it'll recognize root, find all your programs(including system data/programs), etc etc. Works like a charm!
NOTE for NOOBS: Download the attached zip --I've included the needed ADB files as well. Attach your EVO 3D using a USB cord and make sure USB debugging is turned ON (check in Settings-->Applications-->Development) and also make sure you aren't letting your PC access your SD card (go to Settings-->Connect to PC and change default to "Charge Only")
Once you've downloaded and unzipped them, open a command prompt (start menu, type "cmd" and type enter). Once in the command prompt, navigate to wherever you downloaded/extracted the zip. FROM THERE, type in each command in the writeup below EXACTLY AS WRITTEN (with quotation marks and everything). Once you've done the last ste (adb shell "/data/bin/root.sh") you can grab your device and open Titanium Backup and VOILA!
----
THE WRITE-UP
Type these commands AS WRITTEN into your cmd prompt after you've (1) downloaded superuser and Titanium Backup from the market (2) downloaded and extracted the zip and (3) navigated your command prompt to the location where you extracted those files.
adb push fre3vo /data/local/tmp/
adb shell "cd /data/local/tmp ; chmod 755 fre3vo ; ./fre3vo"
adb shell "mkdir /data/bin ; mv /data/local/tmp/fre3vo /data/bin/"
Click to expand...
Click to collapse
Looks great, yet i have a question..... In your instructions.....you make a command which I believe means to create a new folder.... You use "mkdir"........ I have a lot of
Or school DOS commands in my head and it reminds me of the MD make directory command... Is mkdir correct ?
mkdir is the long version of md, IIRC....
at first i wasn't gonna bother with temp root, but one of the things i did need was titanium backup to restore a bunch of data.
this worked absolutely perfect!
thanks for the great write up

[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

Edited build.prop; phone now hangs during boot

Well I've had my first issue with my shiny new handset! I rooted it this afternoon and decided to modify the build.prop to change the dalvik heap size as recommended by various people. However on rebooting, the phone's now hanging on the splash screen.
I can get into download and recovery ok - any ideas on how to fix this? Is build.prop editable in either of these modes?
If you have adb, boot in to CWM, adb pull /system/build.prop
Edit the file, please note that if you're on windows, DO NOT USE WORD or anything similar, it'll mess up your line endings (Newline Format), I suspect this is what happened in the first place.
In any case, if you need to edit the file in plain notepad, download "ToFroDos" and run todos on the file before editing,
then edit, then run fromdos on the file, then adb push it back on to the device.
Note on Re-uploading: you may need to execute adb remount rw in order to upload the file.
In any case, short form:
1. Boot to recovery
2. adb pull /system/build.prop
3. Edit locally (Making sure to keep the proper newline format (\n))
3.5 adb remount rw
4. adb push ./build.prop /system/build.prop
As said extract the original one from the rom and push it manually via adb push command
Sent from my GT-I9300 using Tapatalk 2
Oddly enough I used the build.prop editor app from the Play store. Seems that the issue was that it didn't put an 'm' at the end of the line specifying the size - so it read as '128'. Anyway, I've done what you suggested, and it worked - excellent stuff, thanks!
Next time, just use Jota Text Editor on your phone
I have use it many times to edit my build.prop file and never have issue
I tried adb pull /system/build.prop, but the build.prop file doesn't appear anywhere on my PC, so I can't edit it. My device appears in adb devices, and the command line responds with "718 KB/s (2943 bytes in 0.004s)" when I enter "adb pull /system/build.prop", but I can't find it
guitarplayer365 said:
I tried adb pull /system/build.prop, but the build.prop file doesn't appear anywhere on my PC, so I can't edit it. My device appears in adb devices, and the command line responds with "718 KB/s (2943 bytes in 0.004s)" when I enter "adb pull /system/build.prop", but I can't find it
Click to expand...
Click to collapse
Make sure you're not in a readonly directory on the host,
a default cmd in windows will start in the dir of %ComSpec% (Usually C:\windows\system32).
Abd will try to put files wherever you're located in you filesystem, unless you tell it otherwise. (adb pull {source} [destination])
Sent from my GT-I9300 using XDA
T0yK4T said:
If you have adb, boot in to CWM, adb pull /system/build.prop
Edit the file, please note that if you're on windows, DO NOT USE WORD or anything similar, it'll mess up your line endings (Newline Format), I suspect this is what happened in the first place.
In any case, if you need to edit the file in plain notepad, download "ToFroDos" and run todos on the file before editing,
then edit, then run fromdos on the file, then adb push it back on to the device.
Note on Re-uploading: you may need to execute adb remount rw in order to upload the file.
In any case, short form:
1. Boot to recovery
2. adb pull /system/build.prop
3. Edit locally (Making sure to keep the proper newline format (\n))
3.5 adb remount rw
4. adb push ./build.prop /system/build.prop
Click to expand...
Click to collapse
How do I do ADB pull/push if I can only get to the stock recovery screen? (The one with Mr. Android on his back with the ! above him)
BTW, I'm on a Note 3
Check the permissions!!!!!
The build.prop file should have 644 permissions.
Check if it fits, else change them using adb.
See other thread
http://forum.xda-developers.com/showthread.php?t=1927198

[HELP] Accidentally Deleted DefaultContainerService.apk

Hello XDA members! i need some help from the experts.
I recently played with my phone and modify the system/apps, I was trying to delete bloatwares and useless applications, and I deleted DefaultContainerService.apk. Since my phone needs a "refreshment", I factory reset it. So Yeah... I have no root explorer or any file explorer to move the default container service to the system/apps again, all I have is the Default System Apps: Camera, gallery, phone, Messaging, play Store, Browser, etc.
I CAN'T INSTALL ANY APPS, AND I'M STUCK LIKE THIS FOR 4 DAYS NOW. PLEASE GET ME IMMEDIATE HELP!
{SOLVED!!!}
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
DataUnit said:
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
Click to expand...
Click to collapse
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Pegasus195 said:
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Click to expand...
Click to collapse
If when you go to use ADB it doesn't show any connected devices (First make sure your device is plugged in to your computer, and USB debugging is enabled in developer options) make sure you have installed the proper USB drivers for your device. ADB will not see the device if the devices USB drivers are not installed.
Sent from my Nexus 10 using xda premium
shimp208 said:
If when you go to use ADB it doesn't show any connected devices (First make sure your device is plugged in to your computer, and USB debugging is enabled in developer options) make sure you have installed the proper USB drivers for your device. ADB will not see the device if the devices USB drivers are not installed.
Sent from my Nexus 10 using xda premium
Click to expand...
Click to collapse
before I typed in "adb shell", i tried "adb devices", and it appears, but after I write adb shell, it disappears.
Pegasus195 said:
Hey, I've tried it, but when I command to copy the file, it doesn't show any connected devices, is it because of the driver?
Click to expand...
Click to collapse
I don't know! it should worked, i have same problems but i always use this way to copy files to my /system partition.
If you are on windows and you have the original Google's ADB Driver installed, go to "Device Manager" and see if you have any devices under "Unknown devices" section.
* If there was any devices, you should select it and right click on it.
* Select "Update Driver".
* In the opened window, choose "Let me choose my driver".
* Select show all devices.
* Select "Google" in left section and "Android Adb interface" in right section.
* Update the driver using this method.
* Now, it should works.
Pegasus195 said:
before I typed in "adb shell", i tried "adb devices", and it appears, but after I write adb shell, it disappears.
Click to expand...
Click to collapse
When you type adb shell are you given a shell prompt? Either a new command line beginning with "$" or "#"? Once you type adb shell if you get a shell prompt that's normal and the adb devices command will no longer work until you exit the shell. Also, if you are given a shell prompt when you type adb shell your device is connected.
Sent from my SCH-I535 using xda premium
I've finally Restored My Phone! Thank You Guys for helping me! I've thanked all of you, you have saved my phone!
Hi everyone...
I need some help.... I m on suvi v6 Jupiter rom n I accidently deleted my defaultcontainerservice. Apk from root directory to solve installation problem of some Apk... But after deleting this Apk I m unable to install any of the Apk.....
So how can I get back defaultcontainerservice.apk if someone have it for mmx a110 can u Plz upload defaultcontainerservice.apk for me I m in serious need of some software to be installed.... Thanks for the help in advance......
Sent from my Micromax A110 using xda premium
ONE LOVE said:
Hi everyone...
I need some help.... I m on suvi v6 Jupiter rom n I accidently deleted my defaultcontainerservice. Apk from root directory to solve installation problem of some Apk... But after deleting this Apk I m unable to install any of the Apk.....
So how can I get back defaultcontainerservice.apk if someone have it for mmx a110 can u Plz upload defaultcontainerservice.apk for me I m in serious need of some software to be installed.... Thanks for the help in advance......
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Here's the APK: http://d-h.st/PXm
Thanks bro.......
Sent from my Micromax A110 using xda premium
DataUnit said:
You had to ask your question in "forum.xda-developers.com/forumdisplay.php?f=1236" Q&A, Help and Troubleshooting,
But i will help you.
You MUST have ROOT permission and BUSYBOX to remount your /system/ partition.
Step 1: Go to "Settings > Developer Settings" and Enable "USB Debugging".
Step 2: Download Android SDK and Install "Android Platform Tools" on your PC.
Step 3: Connect your device with USB to your PC.
Step 4: Copy your "DefaultContainerService.apk" into somewhere in your PC.
Step 5: Open ADB Shell using:
Code:
adb shell
Step 6: Run these commands:
Code:
su
busybox mount -o remount,rw /system
chmod 777 /system/app/
NOTE: After running the "su" command, you should unlock your phone and if you see Superuser prompt, allow access to it. and if you are using the CM10.1, you should set the root access to "Apps and ADB" in the "Developer Settings" or the same for Koushikdutta's Superuser app.
Step 7: Push the DefaultContainerService.apk to your /system/app/ using:
Code:
adb push DefaultContainerService.apk /system/app/
Step 8: Restart your phone.
Step 9: Finished! But if it didn't work, you can push a file manager to /system/app/ with this tutorial and copy the file with it, or you can push a terminal emulator.
Please after this, post your threads at the right section.
Click to expand...
Click to collapse
I have same problem here. How to install busybox because I cannot install anything T_T
WORKS ONLY with ROOTED Devices.
If your device is not rooted, email me (address on the bottom of the message).
Download ES File Explorer (.APK) from Google and out it somewhere reachable on your PC.
Download Defaultcontainerservice(.APK) and put it on your SD Card.
Plug your device to your PC using the USB DEBUGGING MODE.
Download Android Commander from Google, run it, and from there, you should see your device files.
From left panel, go to your ES File Explorer (.APK) and install it to /system/app to the right.
Once installed, unplug your phone, ES File Explorer should be installed on your device; then, run it.
Click on the blue device icon from top left, swipe down and go check ON on Root Explorer (by clicking the ON button) and then click on Root Explorer (The name itself).
From there go to SD card and copy your Defaultcontainerservice(.APK) and then go to DEVICE /system/app/ and copy it there.
Restart your phone and you should be just fine.
If you encounter any issues, email me at [email protected].
Hope this helped. Bye.
I am Brazilian and I'm having the same problem
I deleted DefaultContainerService.apk and now I'm having trouble downloading anything and other problems , please help me...

Categories

Resources