Widgets disappearing on reboot - Nexus One Q&A, Help & Troubleshooting

My Weather & Toggle widget and addon disappears from the home screen upon rebooting? It still shows on the SD card but won't install, I have to uninstall and re-download from the market again and all is well.
Anyone have any ideas?

i had this problem and just set the install location back to 1 and then installed these so they were on the phone and then they stayed after reboots. seems some apps arent compatible with the froyo apps2sd method yet.

seraphax said:
i had this problem and just set the install location back to 1 and then installed these so they were on the phone and then they stayed after reboots. seems some apps arent compatible with the froyo apps2sd method yet.
Click to expand...
Click to collapse
Didn't think of that...I'll move them to phone instead of SD card, reboot and report. Should do the same thing as opposed to adb shell.
EDIT: tried moving it from SD to internal phone and it immediately deleted the widgets off the home screens. I then rebooted and they are still gone, so I had to re-install again. If I uninstall it, change the location to 1 and reinstall it, will it move everything off the SD card or just the Weather & Toggle widget?
EDIT #2: Solved the problem of the Weather & Toggle Widget disappearing from the home screen. Just delete the W&T widget, enable debugging, open a command prompt, go to sdk\tools folder and type-
adb devices (then enter, to make sure you're connected)
adb shell (then enter)
pm setInstallLocation 0 (then enter)
exit (then enter)
re-install the W&T widget and reboot. Now go back to the adb shell and set location to 2 to open up the apps 2 SD card on Froyo for future downloads! Works like a charm

Related

need to remove & re-install "Browser"

anyone know if I can?
really don't fancy re-installing all my apps and setting them all up again (by doing a format/wipe and starting again)
I get a force close every time I open Browser
any ideas?
thanks
I am using the latest Cyanogen ROM
mmace said:
anyone know if I can?
really don't fancy re-installing all my apps and setting them all up again (by doing a format/wipe and starting again)
I get a force close every time I open Browser
any ideas?
thanks
I am using the latest Cyanogen ROM
Click to expand...
Click to collapse
To get it right you'll probably have to wipe but you might be able to adb pull the current Browser out and the adb push a new 1 in. I doubt that that will work though.
I would redl cm zip incase it has corrept browser in urs somehow. The on comp type in cmd:
Adb remount
Adb push "location of new browser.apk" /system/app (no ")
Adb sh reboot
In term on phone:
Su (allow)
Rwsystem
Cp /sdcard/"location of browser.apk" /system/app
Rosystem
Reboot
Have you tied going to app settings and clearing the data for the browser? This usually fixes browser force close.

Help with apps2sd

Im running damagecontrol and wanted to know how to make sure apps2sd is working.... I am getting a "phone storage space is getting low" notification. Is there somthing i need to do to get the apps to download on the sdcard? Thank you in advance
taken from the main a2sd thread http://forum.xda-developers.com/showthread.php?t=670087
How to tell if it is working:
1. On your computer in the Android SDK Tools directory, type adb shell
2. In the adb shell, type /system/bin/a2sd check
3. Read the report. It will tell you if all is well. If you see anything with [X], type a2sd repair
If you want to move the apps to the SD card (when the program doesn't do it for you or you have moved the apps to the internal storage in the past):
1. Enter the ADB Shell by typing adb shell
2. In the ADB shell, type /system/bin/a2sd install
To prevent A2SD from running, type /system/bin/a2sd remove
If you have any issues, you can PM me for assistance, send e-mail to rtkirton at gmail dot com, or look me up on gtalk.
That works with the Darktremor A2SD/Apps2SD. Those procedures have unpredictable results in DamageControl (although it is based on an earlier version of Darktremor, it has been heavily modified and some of the commands aren't working the way they were originally designed). DamageControl uses a GUI interface for its settings (and I'm not sure it has any output checks in it...I would imagine it does).
cbarth3 said:
taken from the main a2sd thread http://forum.xda-developers.com/showthread.php?t=670087
How to tell if it is working:
1. On your computer in the Android SDK Tools directory, type adb shell
2. In the adb shell, type /system/bin/a2sd check
3. Read the report. It will tell you if all is well. If you see anything with [X], type a2sd repair
If you want to move the apps to the SD card (when the program doesn't do it for you or you have moved the apps to the internal storage in the past):
1. Enter the ADB Shell by typing adb shell
2. In the ADB shell, type /system/bin/a2sd install
To prevent A2SD from running, type /system/bin/a2sd remove
If you have any issues, you can PM me for assistance, send e-mail to rtkirton at gmail dot com, or look me up on gtalk.
Click to expand...
Click to collapse
digital3721 said:
Im running damagecontrol and wanted to know how to make sure apps2sd is working.... I am getting a "phone storage space is getting low" notification. Is there somthing i need to do to get the apps to download on the sdcard? Thank you in advance
Click to expand...
Click to collapse
Normally, you could use a2sd check, but that works for Darktremor Apps2SD.
But, if you go into an adb shell, type the following:
cd /data/app
pwd
If the pwd command returns /data/app, then Apps2SD isn't setup. If it returns /system/sd/app, then you are using the SD card for storage.
Now, I think DamageControl has a setting in the GUI that will allow you to use the SD for dalvik-cache. If so and that is checked, you can check where dalvik-cache is being stored by typing the following commands:
cd /data/dalvik-cache
pwd
Again, if pwd returns /data/dalvik-cache, you are storing dalvik-cache on the SD card. If it shows /system/sd/dalvik-cache, you are storing dalvik-cache on the SD card.
Dalvik-cache takes up a lot of space on the data partition, so if you are running low on space, you could move that cache to the SD card.
Just go with regawmod . Damage control's over the air update is useless now since he left us for the dead...
I use a2sd check for regaw, works perfectly. Everything on regaw is perfect. I think I may begin to develop something for regaw soon. An over the air updater... that way us hero people can enjoy it since regaw plans to ditch us too.
Sent from my HERO200 using XDA App

(25/3)Best and most stable rom ever[ext2][daily-use]

Simply it's the best rom combination to be the most stable rom i have ever used and now am using it daily with no problems :-
(you may find it difficult but i swear u will be very happy with the results just give it a try)
Download rom:-
http://www.multiupload.com/T589I4WUX9
__________________________________________
Installation ...
1- Create (ext2) partation on your card ...
like in this video....
http://www.neopeek.com/viewtopic.php?f=16&t=146
2- Copy contents from the rar file to SD card ...
3- Open folder npkinstall and run install.exe
4- After restart open haret.exe normaly ...
5- download better keyboard from attachements and put it in ur androidapps folder in sd card
__________________________________________
you must do this to make ur button work and to be able to restart it by one press
open terminal emulator then type the following :-(press enter when u write the letters in each line)
Code:
su
mkdir /data/opt
cp /sdcard/autostart.sh /data/opt
chmod 755 /data/opt/autostart.sh
Then install autostart.apk (found in the rom source folder)
When your buttons stop functioning, you have to run a script from GScript that reinstalls the modules so they work once more. Perform these steps:
Install GScript.apk
Open GScript Lite and press <menu> button, then <add script>
Press the <Load file> button.
The script you need is located autmatically and is called "XPEROID Gscript Button restarter script.sh"
Select it and then in the new screen press <Save>
You can now return to your homescreen and add a shortcut to the script so you can reset your buttons easily. To do this do the following:
Press <menu> and then <add> to add widgets.
Select <shortcut> from the list and then locate and select <GScript Lite>
Then select the "XPEROID Gscript Button restarter script" and you now have a shortcut on your homescreen to reset your buttons.
_________________________________________________
thanks to "needo" for pure froyo rom main topic address
http://forum.xda-developers.com/showthread.php?t=941059
thanks to Duckly for the "keyboard as a module kernel" main topic address
http://forum.xda-developers.com/showthread.php?t=978309
thanks to tiad8 for the 3d files main topic address
http://forum.xda-developers.com/showthread.php?t=852937
note guys it's just a collective topic to make it easy for the noobs and am one of them don't be angry coz i got ur work and edited it a lil bit,,,
__________________________________________________
u can find the apps needed for keyboard restarting in androidapps folder
__________________________________________________
this allows u to get :-
Battery Life ( woooooooow so nice)
Bluetooth ( u can accept items efficiently i havent tried to send)
Wifi (nice but not so fast)
Baclight Control
Landscape Support
Phone ( WHEN u accept a call and u find no sound from the ear speaker just press the speaker button two times after u answer ur call)
Browser ( nice )
3D (playing angry birds lite so smoooooooooth)
working 3.5mm jack
SMS
_________________________________________________
Keyboard not working
Hi
I formated the SD-Card, went trough the installation as described, but when it comes to add my Googleaccount I have no way to enter any data since there seams no Softkeyboard installed and also the Hardwarekeyboard does not work.
Any information, how I can proceed?
Regards
agadir9866
unfortunately the buttons dont work after installing
semiran said:
unfortunately the buttons dont work after installing
Click to expand...
Click to collapse
read first post!!!
It seems like you forgot to say that some keyboard application should be downloaded and placed on SD card before taping a script code that you have posted in Emulator, because at the time of first run there is no possibility to tape anything at all (HW keyboard doesn't work without running the script, but the script itself cannot be run without it) Anyway it is useless because there is no way to run Edit command within Gscript, because... HW keys don't work!
Please, correct your first post keeping in mind that HW keys don't work without some doing.
Anyway, it could be a really good thing, it runs so smooth!
so i should copy
Better KB.apk
Ginger KB.apk
Smart KB.apk
SwiftKey KB.apk
to the root of the sd card first before i run haret is that correct?
Here is the guide wich allows you to wake keyboard with 1 click instead of rebooting the device. Guide is for freshly installed android (so no just updating the kernel).
1. Move autostart.sh from the included Folder and place it to your SD card
2. Install android like normal.
Until step 8, keys won't work, except for camera and power button. If you screw up, press camera button to return to the home screen.
3. Launch "Terminal Emulator". Soft keyboard should pop up.
4. Type "su" (everything without quotes from now on). Press enter. Symbol on the left should change to #.
5. Type "mkdir /data/opt" and press Enter.
6. Type "mv /sdcard/autostart.sh /data/opt" and press Enter.
7. Type "chmod 777 /data/opt/autostart.sh" and press Enter.
8. Type "sh /data/opt/autostart.sh" and press Enter. Software keyboard should disappear now and keys should be working.
9.Install application "autostart.apk"
From here, your android is working. If you wish to add 1-click keypad fix, then continue reading ...
10. Install application "GScript Lite".
11. Open GScript Lite.
12. Press left softkey (menu) and select "Add Script".
13. Load (XPEROID Gscript Button restarter script.sh)
14. Press save.
15. Return to the homescreen
16. Hold your thumb to get "Add to home screen" menu.
17. Select Shortcuts --> GScript Lite --> Script that you just created.
And now, each time your keyboard or front keys stops working, simply press camera key and tap on that icon you've just created
P.S.: this is not my work, i have just adapted what users seandean and yaana created. All credits go to them.
ON screen soft keyboard not present?
I can notate that screen keyboard is not present/installed?
And for the keyboard you can connect the phone through adb shell navigate to /sdcard/ and do the next:
chmod 775 autostart.sh
sh autostart.sh
Then you can do the configuration above ;-)
Hi , everything sounds good.
I am going to install / try directly when i am free of work
Most steps are normal steps when installing Android on X1.
However i do not understand what is meant by:
"open terminal emulator then type the following". Could someone explain how to do this (open terminal emulator)?
Is this done when having booted in Android? And if yes, how can i do this
Many MANY thanks in advance.
Willp ost results when i have had the time to test tonight
EDIT: ok tried it....looks VERY smooth, however i cna not get terminal emulator to do naything..
The peeps above are right... no soft Keyboard is present.
Any easy solution to this? (asume i have to install a soft kb first i gues...think i will give that a try.
Well i got this version up and running .
I just installed a software tobo myself and then i went through all the steps required.
Have not yet had much time to check the possibilities and speed.
but first impressions are good
(before this one i had the honeycomb V2 Android running. this one "feels" better.
Wifi: still unstable (on/off at random, like in every build i installed)
Speed: looks VERY good
Battery: hard to say, going to see how long he will be up today.
Charging: Still have to connect in winmo in order to be able to load
Software: Market etc. running very good.
Going to test upcoming time and report in
Hi
I formated the SD-Card, went trough the installation as described, but when it comes to add my Googleaccount I have no way to enter any data since there seams no Softkeyboard installed and also the Hardwarekeyboard does not work.
Any information, how I can proceed?
Regards
agadir9866
Click to expand...
Click to collapse
well sth have gone wrong i thought there is a software keyboard in the rom
ok u can find the app in the 1st post attachement
u have to download the SW keyboard and put it in androidapps folder in ur sd card
for the hardware butons u have to do all the steps accurately
u didn't do this steps
you must do this to make ur button work and to be able to restart it by one press
open terminal emulator then type the following :-(press enter when u write the letters in each line)
Code:
su
mkdir /data/opt
cp /sdcard/autostart.sh /data/opt
chmod 755 /data/opt/autostart.sh
Then install autostart.apk (found in the rom source folder)
When your buttons stop functioning, you have to run a script from GScript that reinstalls the modules so they work once more. Perform these steps:
Install GScript.apk
Open GScript Lite and press <menu> button, then <add script>
Press the <Load file> button.
The script you need is located autmatically and is called "XPEROID Gscript Button restarter script.sh"
Select it and then in the new screen press <Save>
You can now return to your homescreen and add a shortcut to the script so you can reset your buttons easily. To do this do the following:
Press <menu> and then <add> to add widgets.
Select <shortcut> from the list and then locate and select <GScript Lite>
Then select the "XPEROID Gscript Button restarter script" and you now have a shortcut on your homescreen to reset your buttons.
Click to expand...
Click to collapse
____________________
It seems like you forgot to say that some keyboard application should be downloaded and placed on SD card before taping a script code that you have posted in Emulator, because at the time of first run there is no possibility to tape anything at all (HW keyboard doesn't work without running the script, but the script itself cannot be run without it) Anyway it is useless because there is no way to run Edit command within Gscript, because... HW keys don't work!
Please, correct your first post keeping in mind that HW keys don't work without some doing.
Anyway, it could be a really good thing, it runs so smooth!
Click to expand...
Click to collapse
thx dude i edited it
Well i got this version up and running .
I just installed a software tobo myself and then i went through all the steps required.
Have not yet had much time to check the possibilities and speed.
but first impressions are good
(before this one i had the honeycomb V2 Android running. this one "feels" better.
Wifi: still unstable (on/off at random, like in every build i installed)
Speed: looks VERY good
Battery: hard to say, going to see how long he will be up today.
Charging: Still have to connect in winmo in order to be able to load
Software: Market etc. running very good.
Going to test upcoming time and report in
Click to expand...
Click to collapse
thx dude waiting ur feedback
so i should copy
Better KB.apk
Ginger KB.apk
Smart KB.apk
SwiftKey KB.apk
to the root of the sd card first before i run haret is that correct?
Click to expand...
Click to collapse
just copy the kb in attachements to ur androidapps folder in ur sd card
anyone else has trouble with automatic reboots and freezes of this stable rom... :S
had this installed and tried it today, but it rebooted over 10 times already!
Yes, launcherpro doesn't really works properly?
proces android.process.acore
Click to expand...
Click to collapse
and the phone reboots like every 5 min...
anyone else has trouble with automatic reboots and freezes of this stable rom... :S
had this installed and tried it today, but it rebooted over 10 times already!
Click to expand...
Click to collapse
Yes, launcherpro doesn't really works properly?
proces android.process.acore
and the phone reboots like every 5 min...
Click to expand...
Click to collapse
well guys i swear am using this build without any problems it's so smoooth
i haven't experienced this problem so plz make sure u obeyed the instructions and u made the ext2 partition
bob 4ever said:
well guys i swear am using this build without any problems it's so smoooth
i haven't experienced this problem so plz make sure u obeyed the instructions and u made the ext2 partition
Click to expand...
Click to collapse
I really followed the instructions as in the first post, I also made the ext2 partition, so I don't know
plz give it a 2nd try and tell me
Ok, installing again as we speak.. but thats only because it has dutch language support
(ok, ok, ánd because of full launcherpro version
ánd beautifull widgets (even while i dont use the widgets)
but it would be so much perfect if...
- keyboard would be installed on start (since no soft-keyboard is installed by default)
- kernel will be updated to last (Duckly's Kernel [3-9-2011]) (it also contains changelog = No Sleep Of Death)
- maby overclock to 650 Mhz (or is it already overclocked?
- betterterminal ssh would be fixed, or deleted, because both times i installed it didnt work..
(java.io.IOException: Unexpected http status code 404 Expected 200)
Jhonnie's own graphic request:
- auto-install startupcleaner would be banished,
it has a hideous icon in top! Juch! (and it can't uninstall it )
- bootanimation.zip will be changed to gingerbread's one
- why it got the fancy transitions between screens? fast, but may be to kinky.....
(can i disable the transitions in android install??)
Q's:
1.can some1 tell me how i do install drivers for ADB/debug usb?
2.does the android setup (first boot) always crash?
3.if you add autostart to AndroidApps, does it really autostart keyboard drivers,
or is this a one-time install android ever..?

[Q] Push apk to /system/app/

Could anyone kindly share the adb code to change the permissions of an apk and push it to system/app/ ?
Using adb from a PC.
Please and thanks. :fingers-crossed:
Krsmqn said:
Could anyone kindly share the adb code to change the permissions of an apk and push it to system/app/ ?
Using adb from a PC.
Please and thanks. :fingers-crossed:
Click to expand...
Click to collapse
You know you can set the permissions before you push it to /system/app
Windows right?
http://www.cyberciti.biz/tips/windows-change-access-permissions-from-the-command-line.html
Or after you push it to /system/app
Code:
adb shell chmod <permissions> <filename>
Thank you for the reply.
To push to system/app, do I have the code right?
adb push xxxxxx.apk /system/app/
?
I try that and I get the error "device not found"
adb devices shows my device... wth?
Can anyone help?
How to Push Application to /system/app
Krsmqn said:
Could anyone kindly share the adb code to change the permissions of an apk and push it to system/app/ ?
Using adb from a PC.
Please and thanks. :fingers-crossed:
Click to expand...
Click to collapse
Krsmqn,
The code was missing a little information, I am sorry. First you need to make sure adb is enabled on the Kindle by
pulling down the upper status bar where you see the time. After you pull it down select More+ the go into
Security make sure Enable ADB is turned On. Next click the <- Arrow Back, then choose Device. Make sure
Allow Installation of Applications is turned On. If all this is OK, then let's test ADB. Make sure the Kindle is
plugged into USB, next go into Windows Device Manager by Right Hand Mouse Click on "Computer", select
"Properties", next select "Device Manager". Do you see Android Composite ADB Interface under Kindle Fire?
If no, go back to our tutorial and reinstall the ADB Driver as outlined in this tutorial:
http://forum.xda-developers.com/showthread.php?t=2069117
Once ADB is functioning properly, then let's PUSH files!
First let's make sure adb is running and make sure adb see's the Kindle. Please run these commands:
Code:
adb kill-server
adb start-server
adb devices
The output after devices will be a serial number, if this looks good, move on. First you need to make
sure the apk you want to push is in the same directory as adb.exe - if you have moved the apk to
the adb.exe directory, then run the following:
Code:
[FONT=Verdana]adb remount
adb push file_name_comes.apk_here /system/app/
adb shell chmod 644 /system/app/file_name_comes_here.apk
adb reboot[/FONT]
Does this help?
prokennexusa said:
Krsmqn,
The code was missing a little information, I am sorry. First you need to make sure adb is enabled on the Kindle by
pulling down the upper status bar where you see the time. After you pull it down select More+ the go into
Security make sure Enable ADB is turned On. Next click the <- Arrow Back, then choose Device. Make sure
Allow Installation of Applications is turned On. If all this is OK, then let's test ADB. Make sure the Kindle is
plugged into USB, next go into Windows Device Manager by Right Hand Mouse Click on "Computer", select
"Properties", next select "Device Manager". Do you see Android Composite ADB Interface under Kindle Fire?
If no, go back to our tutorial and reinstall the ADB Driver as outlined in this tutorial:
http://forum.xda-developers.com/showthread.php?t=2069117
Once ADB is functioning properly, then let's PUSH files!
First let's make sure adb is running and make sure adb see's the Kindle. Please run these commands:
Code:
adb kill-server
adb start-server
adb devices
The output after devices will be a serial number, if this looks good, move on. First you need to make
sure the apk you want to push is in the same directory as adb.exe - if you have moved the apk to
the adb.exe directory, then run the following:
Code:
[FONT=Verdana]adb remount
adb push file_name_comes.apk_here /system/app/
adb shell chmod 644 /system/app/file_name_comes_here.apk
adb reboot[/FONT]
Does this help?
Click to expand...
Click to collapse
Thank you for the help. I am thoroughly confused. This is going to be as detailed as I can make it.
Ok.... here's what happens:
The device shows up on my computer in device manager as "kindle fire > android adb interface" ... good right? But when plugged in, the usual "usb connected interface with the turn on usb storage button" doesn't show up on my kindle. The notification drop down only says "connected to a low power charger" .. blah blah. I will get to the CMD stuff in a sec.
On the kindle:
Besides the above mentioned stuff, when I press More :
Settings > My Account> the menu closes. The entire menu, so now I am looking at my home screen.
Settings> Applications>Notification settings> results in going back to the "more" or settings menu.
Settings>Applications>Installed Applications> seems to work . Shows both lists. All & Running.
Settings>Applications>Sync Amazon Content> results in nothing. Below that, Amazon App list is empty.So... figures.
Settings>Parental Controls are grayed out.
Settings>Sounds&Display> Everything here works except for >Notification Sounds> Back to Settings.
Settings>Wireless>Connects fine (didn't try bluetooth)
Settings>Device>About>All info is there (update kindle is grayed out)
Settings>Device>Storage>Back to Settings
Settings>Device>Date&Time> Time grayed out. Date grayed out. Select time zone works. Use 24h works.
Settings>Device>Allow Install of Apps> Works (is turned on)
Settings>Device>Reset to Factory Defaults> Menu pops up (are you sure blah blah) but I already did that and it's why I have these problems.
Settings>Location-based Services> Enable location works..
Settings>Language&Keyboard>Device language works.
Settings>Language&Keyboard>Keyboards>Default is Japanese? Keyboard Settings>All options work. But Japanese is the only language option.
Settings>Security>Everything here works, adb is on. No device admins.
Settings>Legal & Compliance>Notices>Everything here is fine.
Settings>Legal & Compliance>Terms of use> Back to Settings menu
Settings>Legal & Compliance>Safety stuff> Works
Settings>Legal & Compliance>Privacy>Opens Chrome (see chrome problems)
So that's what's up with the settings.
App issues:
Chrome> "Critical functionality required to run chrome is missing; either your chrome installation is incompatible, or not compatible with this version" Click ok and chrome closes. Chrome is the only browser installed that I can see.
Terminal Emulator> "Terminal Emulator has stopped" error msg.
Google search works untill it opens chrome.
Navigation> won't load (hangs at waiting for location with location on and wifi connected)
Maps> works including search. and wiki until you try to open chrome.
Latitude> works except when chrome in involved.
Google Drive> "Google Drive has stopped"
Youtube> Works fine until chrome is opened.
Camera/Video player/Music player/Gallery> Work
94/7fm (Streaming music app)> works except chrome is opened
Calendar> Won't open, asks you to register> registration attempt just closes without action.
Gmail>works untill chrome is opened.
Kindle Docs> Opens but is empty>cloud service fails at sign in.
News&weather> works until chrome is opened.
Amazon Video> closes instantly.
A few "go launcher apps (appcenter, gamezone, themes ,etc...) open but try to open chrome and fail.
That's about it for apps.
ADB:
adb devices: shows device
Try to push es file explorer renamed to ES.apk, located with adb.exe:
Code:
[FONT=Verdana]
c:\SDK\platform-tools>adb remount
remount failed: Operation not permited
c:\SDK\platform-tools>adb push ES.apk /system/app/
failed to copy 'ES.apk' to ' /system/app/ /ES.apk' : Read-only file system
c:\SDK\platform-tools>adb shell chmod 644 /system/app/ES.apk
Unable to chmod /system/app/ES.apk; No such file or directory
c:\SDK\platform-tools>adb reboot
[/FONT]
Rebooted to no avail. Am I still rooted? Do I need to change the permissions before I move it?
I hope I gave enough info. I'll be checking back frequently, as I really want to get this fixed.
*Edit*
On my other thread (usb not working) You're info helped me to install es file explorer. Thank you! I will try to figure it out and keep you posted.
No sound - biggest issue
Ok, I figured that until I can get all this google stuff worked out, I'd just side load apks. No problem. Installed Dolphin Browser HD and some other apps. After downloading winamp and putting a bunch of music on my device, I realized that there's no sound from the external speakers. Headphones work fine. Any ideas?
EDIT* sound all the sudden started working.. weird.
Kindle Fire HD - Odd Issues
Krsmqn said:
Ok, I figured that until I can get all this google stuff worked out, I'd just side load apks. No problem. Installed Dolphin Browser HD and some other apps. After downloading winamp and putting a bunch of music on my device, I realized that there's no sound from the external speakers. Headphones work fine. Any ideas?
EDIT* sound all the sudden started working.. weird.
Click to expand...
Click to collapse
Krsmqn,
If you continue to have these oddities, I would recommend you to order a USB Factory Cable so you
can flash a fresh copy of the software back to your Kindle. We do sell the Factory USB Cables for $15
shipped. Just PM us if you would like to order one. The Factory USB Cable allows the Kindle to be
booted in Fastboot mode.
app can not run when push /system/app
Hi all,
When i push app in /system/app when reboot and click on icon app but app hang and not run.Please help me ? I install my app on sd card run very well

5.1.1 Alternative Launcher: Parental Controls Message

I have installed Google Now launcher on the 5..1.1 firmware, I have root access as well and have pm hid and removed (just rm'ing the process folders from /system/priv-app) most of the bloatware. Whenever I try to hit the "home" button it just brings up a message saying " The requested action is not permitted. Check Parental Controls settings and retry". I also pm hid and attempted to remove com.amazon.parentalcontrols and it hasn't had any effect either.
If I reboot the device it does bring up the Now launcher, but as soon as I go to another application view and try to go "back" or use the home button I get the parental controls message.
KennBr said:
I have installed Google Now launcher on the 5..1.1 firmware, I have root access as well and have pm hid and removed (just rm'ing the process folders from /system/priv-app) most of the bloatware. Whenever I try to hit the "home" button it just brings up a message saying " The requested action is not permitted. Check Parental Controls settings and retry". I also pm hid and attempted to remove com.amazon.parentalcontrols and it hasn't had any effect either.
If I reboot the device it does bring up the Now launcher, but as soon as I go to another application view and try to go "back" or use the home button I get the parental controls message.
Click to expand...
Click to collapse
Well that's a new one, though have seen people say that now launcher is finicky and to have another launched installed as well.
I to have ota 5.1.1 with root and have tried to block the stock lauuncher got the same error i tried with 2 diff launchers, i havent tried to install both then disable the stock maybe it will trigger something to do with the default settings. in one of the settings menus for one of the launchers it says something about "set default launcher" and when i select it to set it to new launcher it just opens the stock one. does anyone know if there is a way to change what launcher the home button defaults to, either through adb shell or fastboot someway.
Have you tried su pm hide com.amazon.parentalcontrols
from a adb shell
jdeandeck said:
I to have ota 5.1.1 with root and have tried to block the stock lauuncher got the same error i tried with 2 diff launchers, i havent tried to install both then disable the stock maybe it will trigger something to do with the default settings. in one of the settings menus for one of the launchers it says something about "set default launcher" and when i select it to set it to new launcher it just opens the stock one. does anyone know if there is a way to change what launcher the home button defaults to, either through adb shell or fastboot someway.
Have you tried su pm hide com.amazon.parentalcontrols
from a adb shell
Click to expand...
Click to collapse
How did you try to block it?
Whilst the stock launcher is on and is a system app the Fire OS won't let any other launcher steal default.
Pond-life said:
How did you try to block it?
Whilst the stock launcher is on and is a system app the Fire OS won't let any other launcher steal default.
Click to expand...
Click to collapse
I used adb shell pm hide com.amazon.firelauncher -- adb reboot-- reboots to apex launcher but when i push home i get the error, do i need to actually uninstall it or can i install a rom management app and remove it from system app list and freeze it im trying not to do any of this stuff without confirmation on it working, my wife is worried ill ruin her fire. Do you know how hard is it to flash back to stock firmware from a bricked Fire?
i have flashed devices before roms and recovery so im not a noob but i would just hate to be wrong and try something and not be able to fix it.
jdeandeck said:
I used adb shell pm hide com.amazon.firelauncher -- adb reboot-- reboots to apex launcher but when i push home i get the error, do i need to actually uninstall it or can i install a rom management app and remove it from system app list and freeze it im trying not to do any of this stuff without confirmation on it working, my wife is worried ill ruin her fire. Do you know how hard is it to flash back to stock firmware from a bricked Fire?
i have flashed devices before roms and recovery so im not a noob but i would just hate to be wrong and try something and not be able to fix it.
Click to expand...
Click to collapse
Hmm I'm sure that hiding it has worked for others, maybe not on 5.1.1 though, I froze it in titanium backup. Widgets didn't work in Apex until I pushed it to system but it did work as main launcher. As did trebuchet and Nova.
If it's opening when you've hidden it then suggests that it's not hidden maybe needs root shell to do it on 5.1.1 as with hiding the ads and ota
Pond-life said:
Hmm I'm sure that hiding it has worked for others, maybe not on 5.1.1 though, I froze it in titanium backup. Widgets didn't work in Apex until I pushed it to system but it did work as main launcher. As did trebuchet and Nova.
If it's opening when you've hidden it then suggests that it's not hidden maybe needs root shell to do it on 5.1.1 as with hiding the ads and ota
Click to expand...
Click to collapse
it doesnt open but it gives me the parental control error, is it possible to rename the apex application maybe to com.amazon.firelauncher.apk and overwrite the current one, after backing up the original of course, to get rid of the parental error?
jdeandeck said:
it doesnt open but it gives me the parental control error, is it possible to rename the apex application maybe to com.amazon.firelauncher.apk and overwrite the current one, after backing up the original of course, to get rid of the parental error?
Click to expand...
Click to collapse
Pretty sure that wouldn't work. It'll likely expect Apex to be able to work in ways amazon launcher can but it can't.
If you've got a back up of the original you could try renaming it or just deleting it on the tablet, I don't think hide is working as it should.
Could try the supertool to switch the launcher to nova and then change launcher to Apex after. The tool does delete the amazon launcher, so backed up original handy.
http://forum.xda-developers.com/amazon-fire/development/amazon-fire-5th-gen-supertool-root-t3272695
Using pm hide com. amazon. firelauncher worked fine for me to disable the Fire launcher but I had to reboot before Google Now tried to launch. Which it did, but then trying to use the home or back buttons brings on the message.
Another weird thing, all the bloat thst I hid the same way deems to have come back overnight somehow. I did disable Ota updates so not sure how that is.
KennBr said:
Using pm hide com. amazon. firelauncher worked fine for me to disable the Fire launcher but I had to reboot before Google Now tried to launch. Which it did, but then trying to use the home or back buttons brings on the message.
Another weird thing, all the bloat thst I hid the same way deems to have come back overnight somehow. I did disable Ota updates so not sure how that is.
Click to expand...
Click to collapse
so if you have perm root than first download and install
HTML:
http://www.apkdrawer.com/rom-toolbox-pro-apk/
then install the google now launcher and run it and everything get it running then reboot
next through the Rom Toolbox make the Google Now a system app
then "adb shell pm hide com.amazon.launcher" then "adb reboot"
Just incase this factors in i used the script from the super tool, since i run linux and cant run the bat file, as a guide i was trying to get my laucher "adb push Apex-Launcher.apk" & "adb shell "cp /data/local/tmp/--Apex-Launcher.apk--(my preferred laucher) /system/apps/Apex-Launcher.apk" but it would not let me mount file system as RW, so before i tried the above solution, which worked for me, i ran (adb reboot-bootloader) and (fastboot oem append-cmdline "androidboot.unlocked_kernel=true") so you may or may not have to do this before you try to hide the launcher but after you install Rom Toolbox
KennBr said:
Using pm hide com. amazon. firelauncher worked fine for me to disable the Fire launcher but I had to reboot before Google Now tried to launch. Which it did, but then trying to use the home or back buttons brings on the message.
Another weird thing, all the bloat thst I hid the same way deems to have come back overnight somehow. I did disable Ota updates so not sure how that is.
Click to expand...
Click to collapse
Those are both symptoms of the hide command not working fine. It needs to be done in root as jdeandeck did.
If you disable the ota with a hide command too I'd rename the ota files or do that again in root.
jdeandeck said:
so if you have perm root than first download and install
HTML:
http://www.apkdrawer.com/rom-toolbox-pro-apk/
then install the google now launcher and run it and everything get it running then reboot
next through the Rom Toolbox make the Google Now a system app
then "adb shell pm hide com.amazon.launcher" then "adb reboot"
Just incase this factors in i used the script from the super tool, since i run linux and cant run the bat file, as a guide i was trying to get my laucher "adb push Apex-Launcher.apk" & "adb shell "cp /data/local/tmp/--Apex-Launcher.apk--(my preferred laucher) /system/apps/Apex-Launcher.apk" but it would not let me mount file system as RW, so before i tried the above solution, which worked for me, i ran (adb reboot-bootloader) and (fastboot oem append-cmdline "androidboot.unlocked_kernel=true") so you may or may not have to do this before you try to hide the launcher but after you install Rom Toolbox
Click to expand...
Click to collapse
I am using Linux as well, I got the persistent root going, Super SU installed as described in this thread: http://forum.xda-developers.com/amazon-fire/orig-development/root-t3272362/post64347634#post64347634 I tried intsalling the Now launcher just via the Play Store app. However, when I tried to remove the bloat from the /system/priv-apps/ directory I also noticed the filesystem was read-only so I remounted it like so (I am totally unsure if this is proper)
Code:
adb shell
su
mount -o rw,remount /system
That seemed to give me sufficiant read-write access with a root terminal.
Pond-life said:
Those are both symptoms of the hide command not working fine. It needs to be done in root as jdeandeck did.
If you disable the ota with a hide command too I'd rename the ota files or do that again in root.
Click to expand...
Click to collapse
As in a root terminal? I launched an adb shell and used su and mount as described above to get read-write access and a root terminal, then did...
Code:
cat /data/local/tmp/bloat_list | while read process ; do pm hide $process ; done
and
Code:
cat /data/local/tmp/bloat_list | while read process ; do rm -R $process ; done
It seemed to remove the directories associated with the given item on the "bloat_list" file which I compiled from the "safe to remove bloatware" threads and pushed to the /data/local/tmp directory using adb. I did this prior on 5.0.1 without breaking too much... Aside from not being able to open my account settings any longer.
Contents of my "bloat_list"
Code:
com.amazon.ags.app
com.audible.application.store
com.amazon.camera
com.amazon.client.metrics
com.android.contacts
com.amazon.csapp
com.amazon.device.backup
com.amazon.h2settingsfortablet
com.amazon.kindle
com.amazon.kindle.kso
com.amazon.kindle.otter
com.amazon.mp3
com.amazon.kindle.otter.oobe
com.amazon.kindle.otter.settings
com.amazon.kindle.personal_video
com.amazon.legalsettings
com.amazon.photos.importer
com.amazon.photos
com.amazon.platform
com.amazon.tahoe
com.amazon.venezia
com.amazon.whisperlink.core.android
com.amazon.windowshop
com.amazon.zico
com.andoid.contacts
com.android.calendar
com.android.email
com.audible.application.kindle
com.goodreads.kindle
com.nuance.edr.androidservice.service
com.amazon.webapp
amazon.jackson-19.apk
com.kingsoft.office.amz
com.amazon.kor.demo
com.amazon.ods.kindleconnect
com.amazon.accessorynotifier
com.amazon.cloud9
com.amazon.weather
com.amazon.calculator
So every item in that list would have been acted on with both pm hide and rm -R (just clarifying)
Yet somehow a good amount of the items on that list came back over night. I'm not really sure my method for removing the files really had the effect that I think it did, because everything still seemed to work as if I hadn't deleted it... Well except for the "My Account" section of the "Settings", so I don't think I should have done the "rm -R" part to delete the files because it seems to have had some kind of effect.
As for the launcher situation, I backed up the firelauncher first before trying to remove and hide it and that did seem to work, but given the parental controls message I had to restore the launcher to maintain functionality. I don't think that trying to delete the items on the bloat_list first might have "broken" something and caused the message though because I tried to change the launcher BEFORE the items on the bloat_list.
I tried installing the Apex Launcher and for whatever reason it's working even without hiding or deleting Firelauncher... Though I haven't rebooted yet so I'm doubting that will remain the case.
As for the Rom Toolbox app, what exactly does it do? Reboots the device into some kind of custom recovery where I can alter settings? I've never heard of it before.
KennBr said:
I am using Linux as well, I got the persistent root going, Super SU installed as described in this thread: http://forum.xda-developers.com/amazon-fire/orig-development/root-t3272362/post64347634#post64347634 I tried intsalling the Now launcher just via the Play Store app. However, when I tried to remove the bloat from the /system/priv-apps/ directory I also noticed the filesystem was read-only so I remounted it like so (I am totally unsure if this is proper)
Code:
adb shell
su
mount -o rw,remount /system
That seemed to give me sufficiant read-write access with a root terminal.
As in a root terminal? I launched an adb shell and used su and mount as described above to get read-write access and a root terminal, then did...
Code:
cat /data/local/tmp/bloat_list | while read process ; do pm hide $process ; done
and
Code:
cat /data/local/tmp/bloat_list | while read process ; do rm -R $process ; done
It seemed to remove the directories associated with the given item on the "bloat_list" file which I compiled from the "safe to remove bloatware" threads and pushed to the /data/local/tmp directory using adb. I did this prior on 5.0.1 without breaking too much... Aside from not being able to open my account settings any longer.
Contents of my "bloat_list"
Code:
com.amazon.ags.app
com.audible.application.store
com.amazon.camera
com.amazon.client.metrics
com.android.contacts
com.amazon.csapp
com.amazon.device.backup
com.amazon.h2settingsfortablet
com.amazon.kindle
com.amazon.kindle.kso
com.amazon.kindle.otter
com.amazon.mp3
com.amazon.kindle.otter.oobe
com.amazon.kindle.otter.settings
com.amazon.kindle.personal_video
com.amazon.legalsettings
com.amazon.photos.importer
com.amazon.photos
com.amazon.platform
com.amazon.tahoe
com.amazon.venezia
com.amazon.whisperlink.core.android
com.amazon.windowshop
com.amazon.zico
com.andoid.contacts
com.android.calendar
com.android.email
com.audible.application.kindle
com.goodreads.kindle
com.nuance.edr.androidservice.service
com.amazon.webapp
amazon.jackson-19.apk
com.kingsoft.office.amz
com.amazon.kor.demo
com.amazon.ods.kindleconnect
com.amazon.accessorynotifier
com.amazon.cloud9
com.amazon.weather
com.amazon.calculator
So every item in that list would have been acted on with both pm hide and rm -R (just clarifying)
Yet somehow a good amount of the items on that list came back over night. I'm not really sure my method for removing the files really had the effect that I think it did, because everything still seemed to work as if I hadn't deleted it... Well except for the "My Account" section of the "Settings", so I don't think I should have done the "rm -R" part to delete the files because it seems to have had some kind of effect.
As for the launcher situation, I backed up the firelauncher first before trying to remove and hide it and that did seem to work, but given the parental controls message I had to restore the launcher to maintain functionality. I don't think that trying to delete the items on the bloat_list first might have "broken" something and caused the message though because I tried to change the launcher BEFORE the items on the bloat_list.
I tried installing the Apex Launcher and for whatever reason it's working even without hiding or deleting Firelauncher... Though I haven't rebooted yet so I'm doubting that will remain the case.
As for the Rom Toolbox app, what exactly does it do? Reboots the device into some kind of custom recovery where I can alter settings? I've never heard of it before.
Click to expand...
Click to collapse
Once in terminal the commands are the same from whatever computer you are using aren't they? Doesn't rm need the full directory address as it's not through pm?
The rom toolbox I think he just used to make the Now launcher a system app, so not something you can't do in adb.
Rom Toolbox is my favorite app for everything. Here is a list of some of the features you will find:
ROM Management
Install ROM’s & themes from a growing list of ROM’s. KAPOK, Cyanogen Mod and other popular ROM’s included in ROM Toolbox Pro apk.
Create, manage & restore nandroid backups
Wipe data, cache, dalvik-cache, battery stats
Install multiple ROMs & ZIPs from your SD card
App Manager
Batch backup & restore apps and their data
Schedule backups to run at a certain time
Restore apps from nandroid backups
Backup/Restore text messages, bookmarks, accounts, etc.
Backup your apps to dropbox
Freeze/Defrost system & user apps
Backup/restore Android Market link
Task manager
Automated batch uninstaller
E-mail your apps to friends
Move any user app to the SD card
Clean up dalvik-cache
Zip align, fix permissions, wipe data & cache, force close any app
Root Explorer
Access the whole of android’s file system (including the elusive data folder!).
Batch copy/paste, zip, tar, delete, move any file or folder
Change file permissions and ownership
View, edit & share files with ROM Toolbox Pro apk
File manager with two panels for easier management
Script-er & Terminal Emulator
Create and run scripts as root
Set your scripts to run at-boot
Auto Start Manager
Enable/disable apps that run on start-up
Enable/disable any broadcast receiver, activity or service
Reboot er
Reboot recovery, powerdown, bootloader, restart status bar, etc.
Font Installer
Install custom fonts from a huge list or from your sdcard
Set fonts as favorites & send them to friends
Boot Animation Installer
Install custom boot animations from a huge collection or from your sdcard
Preview boot animations
Create a boot animation from a GIF file
Have a new random boot animation each time you boot-up!
Theme Manager & Status bar Icon Changer
Create and install full themes (Meta Morph compatible)
Customize your status bar by installing custom icons for wifi, signal, gps, etc.
Change your battery icons in the status bar to a custom one from a list of 200+
Boot Logo Changer
Change your boot logo for supported phones
Theme Chooser Themes
View a list of themes for the T Mobile Theme Chooser
Set CPU
Set CPU & scaling governor
CPU Profiles
Kernel tweaks to speed up performance
Build.prop Editor
Easily edit your build.prop
Change LCD density, improve battery life, increase performance
Auto Memory Manager
Set min free values & select from presets. Apply values at boot
SD Booster
Increase the speed of your SD card
Permissions
Contacts – Backup call log and sms
SMS – Backup call log and sms
Accounts – Backup and restore from Google Drive
As for the bloat problem the:
Code:
fastboot oem append-cmdline "androidboot.unlocked_kernel=true"
Seems to be imoportant for my Special Offer "screensaver" hiding a.k.a. com.amazon.kso
but idk if this works i guess i could try myself but Rom Toolboxes App Manager feature, that is only available in the pro, can "freeze" the com.amazon.firelauncher....
ok the above seems to worked maybe having the app installed when i did it did something in the settings or i froze the launcher and just dont remember it, but when i froze the firelauncher and pushed the home button, without the apexlauncher installed, nothing happened, not even the parental control message. then i reinstalled the apex launcher, hint get the pro from the site i mentioned before, and adb reboot, it worked.
next i might try to freeze some bloatware and see what i can get rid of but still save amazon app store stuff like books, audio books+store, videos, Game circle-thats for me, music player, shop amazon, which as i type i realize i can do from the Rom Toolbox with root, i swear im not selling anything
Pond-life said:
Once in terminal the commands are the same from whatever computer you are using aren't they?
The rom toolbox I think he just used to make the Now launcher a system app, so not something you can't do in adb.
Click to expand...
Click to collapse
Yeah they are the same since it's basically a *nix shell, was just showing how I did it. I'm not sure if there's some nuance I'm not aware of thst would make it not work... It seemed like I had all the permissions I needed, and I have root set up persistently as described in the thread I linked to.
The rom toolbox app, how does it boot recoveries if fastboot can't? Sorry I'm so used to desktops, fiddling with Androids goes above my head.
And the commands are the same but the \ in windows commands are / in linux like android so scripts meant for windows wont work on linux, or that i have found and i cant get .bin to run but never tried to change to .sh and run as shell script but thats for another forum
jdeandeck said:
Rom Toolbox is my favorite app for everything.
As for the bloat problem the:
Code:
fastboot oem append-cmdline "androidboot.unlocked_kernel=true"
Seems to be important for my Special Offer "screensaver" hiding a.k.a. com.amazon.kso
but idk if this works i guess i could try myself but Rom Toolboxes App Manager feature, that is only available in the pro, can "freeze" the com.amazon.firelauncher....
ok the above seems to worked maybe having the app installed when i did it did something in the settings or i froze the launcher and just dont remember it, but when i froze the firelauncher and pushed the home button, without the apexlauncher installed, nothing happened, not even the parental control message. then i reinstalled the apex launcher, hint get the pro from the site i mentioned before, and adb reboot, it worked.
next i might try to freeze some bloatware and see what i can get rid of but still save amazon app store stuff like books, audio books+store, videos, Game circle-thats for me, music player, shop amazon, which as i type i realize i can do from the Rom Toolbox with root, i swear im not selling anything
Click to expand...
Click to collapse
It does seem rather a flexible toolkit.
Once you've got permanent root the fastboot bit shouldn't be needed I don't think. Hmmm.
I did clear much of the apps out, though did put Shop Amazon back on as I think something I wanted to use wouldn't work. I can't recall what though.
KennBr said:
Yeah they are the same since it's basically a *nix shell, was just showing how I did it. I'm not sure if there's some nuance I'm not aware of thst would make it not work... It seemed like I had all the permissions I needed, and I have root set up persistently as described in the thread I linked to.
The rom toolbox app, how does it boot recoveries if fastboot can't? Sorry I'm so used to desktops, fiddling with Androids goes above my head.
Click to expand...
Click to collapse
I use it to mostly change build.prop and backup apks and terminal emulator other things that i feel comfortable doing nothing like flashing or whatever i only flash from terminal on my linux pc or there is a app for flashing lg phones nothing easier than that.
KennBr said:
Yeah they are the same since it's basically a *nix shell, was just showing how I did it. I'm not sure if there's some nuance I'm not aware of thst would make it not work... It seemed like I had all the permissions I needed, and I have root set up persistently as described in the thread I linked to.
The rom toolbox app, how does it boot recoveries if fastboot can't? Sorry I'm so used to desktops, fiddling with Androids goes above my head.
Click to expand...
Click to collapse
Ooops I edited that one while you were replying.
Unlike pm doesn't rm need to know where the file or directory is like in this from the supertool?
adb shell "rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk"
so it'd need to know that those directories were in priv-app in system?
And it seems to make a different part writeable than you did, at least I think that's what the chmod does and uses disable rather than hide oh and the " " everywhere.
adb shell su -c "chmod 777 /cache"
adb shell su -c "pm disable com.amazon.otaverifier"
adb shell su -c "pm disable com.amazon.device.software.ota"
adb shell su -c "pm disable com.amazon.settings.systemupdates"
And the fastboot oem command followed by fastboot reboot, not fastboot continue, lets me adb remount fine then when im done doing whatever i use adb reboot then it will reboot and reconfigure apps and settings or something and works good.
---------- Post added at 02:36 AM ---------- Previous post was at 02:30 AM ----------
Pond-life said:
Ooops I edited that one while you were replying.
Unlike pm doesn't rm need to know where the file or directory is like in this from the supertool?
adb shell "rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk"
so it'd need to know that those directories were in priv-app in system?
And it seems to make a different part writeable than you did, at least I think that's what the chmod does and uses disable rather than hide oh and the " " everywhere.
adb shell su -c "chmod 777 /cache"
adb shell su -c "pm disable com.amazon.otaverifier"
adb shell su -c "pm disable com.amazon.device.software.ota"
adb shell su -c "pm disable com.amazon.settings.systemupdates"
Click to expand...
Click to collapse
i edited what i read to what i needed and if it said adb shell i ran everything from the adb shell fro terminal instead of saying adb shell su every time i said adb shell then su then pm ...

Categories

Resources