[Q] Little help with SystemUI.apk. How to remove date? - Motorola Droid X2

Hello,
Does anyone know what to modify to remove the date that appears on the status bar. I have attached an image (hope it shows). The date is located on top and it only shows when I slide the status bar.
I want to remove that.
Thanks

Electroniko said:
Hello,
Does anyone know what to modify to remove the date that appears on the status bar. I have attached an image (hope it shows). The date is located on top and it only shows when I slide the status bar.
I want to remove that.
Thanks
Click to expand...
Click to collapse
Here is one without the date. YOU MUST BE ROOTED.
Also, this is based off of stock, so if you are themed and using a different ROM, then this probably work work if SystemUI.apk is themed too.
If you need a themed on changed, post the SystemUI.apk, and I'll update it.
Installation Instructions:
Code:
adb push SystemUI-nodate.apk /data/local/tmp/SystemUI.apk
adb shell
$ su
# mount -o rw,remount /dev/block/stl9 /system
# stop
# rm /system/app/SystemUI.apk
# cp /data/local/tmp/SystemUI.apk /system/app/SystemUI.apk
# rm /data/local/tmp/SystemUI.apk
# reboot
Let me know if you have any problems!

Or you can just adb push to /system/app and not use any su mount rm cp commands.

TheMuffStuff said:
Or you can just adb push to /system/app and not use any su mount rm cp commands.
Click to expand...
Click to collapse
I guess you could, but I was getting some FC's when I did it that way. And you still have to remount the /system anyway, so why not just do it all at once?
Plus, it's a little more "friendly" on the OS.

Related

android adb push read-only file system error ??

Hi,
I am trying to alter the boot xml file to get my boot sound back. I am on Modaco 2.5.1 now.
Pulled the boot sound xml file, edited. But when I try push back to phone I get the 'android adb push read-only file system' message.
How do I get round this?
Thanks
Phil
Phil_UK said:
Hi,
I am trying to alter the boot xml file to get my boot sound back. I am on Modaco 2.5.1 now.
Pulled the boot sound xml file, edited. But when I try push back to phone I get the 'android adb push read-only file system' message.
How do I get round this?
Thanks
Phil
Click to expand...
Click to collapse
Do a adb remount before doing the push should solve it.
Thanks
That solved it!
Phil
i'm having the same error when i want to delete stock apps. i'm rooted already, but not sure how to get myself to read write rights. any idea?
Get around read-only
I am having the same problem. Have you had any luck??
woowoowooty said:
I am having the same problem. Have you had any luck??
Click to expand...
Click to collapse
adb remount
"remount failed: Operation not permitted"
you cant do it while in recovery,you have to be booted up.
EXAMPLE to remove Sim Toolkit
adb remount
remount successful
adb shell rm /system/app/Stk.apk
Done...
If you still have problems type adb shell, type su,press allow on your phone screen then try again.
If it shows a $ sign when u type adb shell then u got no root son
................ delete post. ....
sorry but i am quite new to android and rootin... can u please tell me what is recovery and what is boot up.. cause i am facing teh same issue and when i try adb remount from my command prompt, i get permission denied error . Can this also be done from terminal emulator in android.. my device is rooted and i have superuser permission..
thanks in advance,
Rejo
rejo_nazi said:
sorry but i am quite new to android and rootin... can u please tell me what is recovery and what is boot up.. cause i am facing teh same issue and when i try adb remount from my command prompt, i get permission denied error . Can this also be done from terminal emulator in android.. my device is rooted and i have superuser permission..
thanks in advance,
Rejo
Click to expand...
Click to collapse
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
thanks for the information!
Hi.
Samsung Galaxy Ace - FroYo 2.2.1 - Rooted with superuser.
Pulled framework.jar from /system/framework/framework.jar
edited it and now pushing back.
I get
failed to copy 'framework.jar' to '/system/framework/framework.jar': Read-only file system.
I know it's a read-only file system, but I need to push that (and other files) back there.
How to allow that process?
My other option is to "FLASH" a .zip file which contains these files, and I think that puts them in their desired location, but:
What is Flashing and how is it done on my device? I've been googling for a couple hours now with no luck. Adobe Flash is taking all the search results, and some found forum entries aren't helping.
Many thanks, I hope for a quick reply.
Hi, same problem trying to push some libs and framework.jar back to where they originally pulled from. I need to do that for Arabization on Samsung Galaxy Ace running Froyo 2.2.1 with Root.
Error returs "failed: read-only file system"
I've beek googling and searching forums for a couple days now with no luck. Tried many things, commands and chmod which all failed.
The other option, which is to use update.zip on stock recovery to send the files home has failed. Got the following:
Finding update package...
Opening update package...
Installing upate...
E:Error in /sdcard/update.zip (Status 0)
Installation aborted.
I couldn't install ClockworkMod to try it there because Rom Manager does not list my phone (Samsung Galaxy Ace) in the options it gives me when I ask it to Flash ClockworkMod Recovery into my phone. I don't know which phone to choose form the list:
- Huawei Pulse Mini
- Dell Streak
- Huawei Pulse
- Commtiva Z71 (Boston, blaze, and more)
- Geeksphone ONE
- Spice MI700, Commtiva Link N700 and more)
- Huawei Ascend
Halp.
Oh just noticed I have both last posts. How progress works.
By the way,
#mount -o rw,remount /system
does not help. Trying to copy files using 'cp' commant in shell now simply brings 'file exists'. Is there an 'overwrite' attribute to add that'll fix it?
adb remount worked for me thanks..
pigfoot said:
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
Click to expand...
Click to collapse
champagne post. tnx!!!
pigfoot said:
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
Click to expand...
Click to collapse
Worked for me, thank you!

[Q] Issue with changing stat_sys_signal_5.png

Hi there.
I'm trying to make my own statusbar for my Defy. But I'm confronting an issue. Everything works fine, except the stat_sys_signal_5.png and stat_sys_battery_charge_anim5.png which won't be replaced (original ones are still displayed...).
Do those files need to be signed or anything like that ?
Can anyone help me ?
I answer to myself. I found the solution her in XDA thanks to mcm_xyz :
http://forum.xda-developers.com/showpost.php?p=10702314&postcount=468
mcm_xyz said:
Hello.
I think I found the problem icons in framework-res.apk that showed the signal sometimes ( I think on full signal ) with the older Defy icon with 5 bars.
I think that the responsible images are:
zz_stat_sys_r_signal_5.png; zz_stat_sys_signal_5.png; zz_stat_sys_signal_5_cdma.png
from res\drawable-hdpi. I changed those icons (and some others) and things seem ok for me now.
here is what you have to do:
1. extract framework-res.apk
2. put the framework-res.apk to sd
3. abd shell
4. su
5. mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
6. cp /sdcard/framework-res.apk /system/framework/framework-res.apk
7. chmod 755 /system/framework/framework-res.apk
8. sync
9. reboot
After reboot all should be fine. Take care if you modify the apk yourself if something goes wrong and you push a broken apk to your system, the phone might not boot. Also this will reset your wallpaper.
Thanks again jboogie for this wonderful rom!
Click to expand...
Click to collapse

[GUIDE] Have Webtop over HDMI and want to OTA update?

Okay, we discovered that having the Webtop over HDMI breaks the OTA update.
So to update you're going to have to undo that mod, and possibly any others.
If you backed up your original files great, go restore them, clear the dalvik-cache and you're fine.
Otherwise, use the attached files and these steps to recover:
Credit: _unknown for the original posted instructions I'm using as a template
Please let me know if there are any adjustments that need to be made to the code, as I'm pulling this from memory and had stored the backups on my phone and was restoring from there.
Requirements:
Be rooted
Be able to work with adb
First, unpack the attached zip-file.
Go into the correct directory for your version.
Now run (in a terminal)
Code:
# I use /data/tmp as the storage location, you can also use /sdcard/
adb push DockService.apk /data/tmp
adb push PortalApp.apk /data/tmp
adb push DockService.odex /data/tmp
adb push PortalApp.odex /data/tmp
adb shell
# you are now in the phone shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
# you could mv these files to backups if you intend on doing the mod
# again after the update
rm /system/app/DockService.*
rm /system/app/PortalApp.*
rm /data/dalvik-cache/*DockService* /data/dalvik-cache/*PortalApp*
# move the files from /data/tmp to /system/app
mv /data/tmp/DockService.* /system/app/
mv /data/tmp/PortalApp.* /system/app/
reboot
NOTE: This zip will not in any way help you to obtain root! You must be rooted prior to attempting to apply this patch, or it will not work!
pksublime said:
Okay, we discovered that having the Webtop over HDMI breaks the OTA update.
So to update you're going to have to undo that mod, and possibly any others.
If you backed up your original files great, go restore them, clear the dalvik-cache and you're fine.
Otherwise, use the attached files and these steps to recover:
Credit: _unknown for the original posted instructions I'm using as a template
Please let me know if there are any adjustments that need to be made to the code, as I'm pulling this from memory and had stored the backups on my phone and was restoring from there.
Requirements:
Be rooted
Be able to work with adb
First, unpack the attached zip-file.
Go into the correct directory for your version.
Now run (in a terminal)
Code:
# I use /data/tmp as the storage location, you can also use /sdcard/
adb push DockService.apk /data/tmp
adb push PortalApp.apk /data/tmp
adb push DockService.odex /data/tmp
adb push PortalApp.odex /data/tmp
adb shell
# you are now in the phone shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
# you could mv these files to backups if you intend on doing the mod
# again after the update
rm /system/app/DockService.*
rm /system/app/PortalApp.*
rm /data/dalvik-cache/*DockService* /data/dalvik-cache/*PortalApp*
# move the files from /data/tmp to /system/app
mv /data/tmp/DockService.* /system/app/
mv /data/tmp/PortalApp.* /system/app/
reboot
NOTE: This zip will not in any way help you to obtain root! You must be rooted prior to attempting to apply this patch, or it will not work!
Click to expand...
Click to collapse
mv /data/tmp/PortalApp.* /system/app/
# mv /data/tmp/DockService.* /system/app/
mv /data/tmp/DockService.* /system/app/
failed on '/data/tmp/DockService.apk' - Cross-device lin
# mv /data/tmp/PortalApp.* /system/app/
mv /data/tmp/PortalApp.* /system/app/
failed on '/data/tmp/PortalApp.apk' - Cross-device link
Okay working on it...
try using cp instead of mv
Thank you. Will do this tonight
cp worked instead of mv
was able to update, thankyou.
lcpl said:
cp worked instead of mv
Click to expand...
Click to collapse
thanks, i updated the instructions
at least the important part was getting the files up for people, most can figure it out from there
Has anyone that has updated to the newer OTA version been able to re-hack the Webtop / HDMI output using the original method?
Thanks!
alohajeff said:
Has anyone that has updated to the newer OTA version been able to re-hack the Webtop / HDMI output using the original method?
Thanks!
Click to expand...
Click to collapse
You rave to re-root after the update, but yeah, it's the same thing.
Haven't got that far yet, I'm just starting.
Give me a bit and I'll tell you how it went.
Update 1:
Installed the update with out a hitch, save for a line of code
"rm /data/dalvik-cache/*DockService* /data/dalvik-cache/*PortalApp*"
I had to change to
"rm /data/dalvik-cache/*.*"
The dalvik chache is rebuilt at the next reboot, so there isn't much harm wiping the whole thing.
And Yeah, i had to change that the "mv" to"cp"
Update 2:
Rooted just fine using :/showthread.php?t=1217416
Update 3:
Followed : /showthread.php?t=1199443
But as of again, I changed
"rm /data/dalvik-cache/*DockService* /data/dalvik-cache/*PortalApp*"
to
"rm /data/dalvik-cache/*.*"
and
"mv" to"cp"
Works just as well as before. Even with 9/12's update
I had some trouble before, but It looks like I just had to re apply the hack one again. It's all good now. Dockless webtop on the latest OTA.
It's not working for me for the 10/12 update. Any ideas? Do the odex files have to be renamed to .bak?
Airwolf79 said:
It's not working for me for the 10/12 update. Any ideas? Do the odex files have to be renamed to .bak?
Click to expand...
Click to collapse
Yes.
Sent from my MB855 using Tapatalk
John Kotches said:
Yes.
Sent from my MB855 using Tapatalk
Click to expand...
Click to collapse
So what is the easiest way to go about this? Do I have to rename them before I push, or once they're installed?

[Q] adb can't push to /system/app

My S2 is on LA2 with the corresponding CF-ROOT. Since I upgraded to LA2, adb is unable to push a file to /system/app. In this case, I need to push Widgetsoid to /system/app or else I lose all widgets after a reboot. Before LA2, I pushed with adb just fine, but now my push command returns the error "failed to copy: no space left on device." I'm able to push to /mnt/sdcard and my device has plenty of room. I assume, then, that adb is failing to mount the directory for writing. But my adb command "mount -o rw,remount /system" returns with no error. Any suggestions how to re-enable push access to /system/app with current CF-ROOT?
My full procedure for pushing is this:
Code:
> adb shell
> su
# mount -o rw,remount /system
# chmod 777 /system
# chmod 777 /system/app
# exit
> exit
> adb push ApkFileName.apk /system/app/
> adb shell
> su
# chmod 755 /system
# chmod 755 /system/app
# exit
> exit
> adb reboot
Emm /system space is different from phone space.
You need to delete some apps in system b4.
Like zinio.apk etc
Red_Vex said:
Emm /system space is different from phone space.
Click to expand...
Click to collapse
I didn't know that. that fixed it

[Help]Cant remount to push framework mod.

Hi!
I tried to mode framework to get % battery display (circle), but i cant push it back to /system/framework folder because i cant remount. I got this error:
E:\android-sdk-windows\platform-tools>adb remount
remount failed: Operation not permitted.
Here is framework mod, hope it works.
Warning: im not try it yet so i dont know it causes bootloop or not.
http://www.mediafire.com/?wrhaaayku2rvmvv
I want to use push command so that the framework-res.apk will have correct permission after push back to system.
OK! Dont try it. I just replaced new mod framework, new icons with %battery show in statusbar, but got bootloop. May be problem with permission?
Now, how to restore stock one?
keunhuvac said:
Hi!
I tried to mode framework to get % battery display (circle), but i cant push it back to /system/framework folder because i cant remount. I got this error:
E:\android-sdk-windows\platform-tools>adb remount
remount failed: Operation not permitted.
Here is framework mod, hope it works.
Warning: im not try it yet so i dont know it causes bootloop or not.
http://www.mediafire.com/?wrhaaayku2rvmvv
I want to use push command so that the framework-res.apk will have correct permission after push back to system.
Click to expand...
Click to collapse
push it to sdcard, then do this:
Code:
adb shell
$ su
# mount -o rw,remount /dev/block/mmcblk0p12 /system
# dd if=/sdcard/my_file_to_push of=/system/my_destination_file_location
# sync
I used this:
adb shell
su
mount -o remount rw /system
cp /sdcard/download/framework-res.apk /system/framework
Now need to flash preroot image to get phone works?
I found this:
E:\android-sdk-windows\platform-tools>adb root
adbd cannot run as root in production builds
keunhuvac said:
I used this:
adb shell
su
mount -o remount rw /system
cp /sdcard/download/framework-res.apk /system/framework
Now need to flash preroot image to get phone works?
Click to expand...
Click to collapse
no need, after you pushed the file to framework, you may restart your phone.
I recommend using dd as you do not have a risk of setting the wrong file permissions.

Categories

Resources