|
|
07/23/2009, 07:48 AM
|
#41 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
|
I too get the patch not found. I guess I may try the VI method.... Anyone have any ideas on the patch? Maybe I didn't set patching up or something..lol. I haven't applied a patch up to this point.. Plenty of VI mods, but no patches...
That text file is a mess.... lol. I will have to sort thru it later and see what I can do.. Last edited by lilmexx323; 07/23/2009 at 07:57 AM. |
07/23/2009, 08:27 AM
|
#42 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 71
Likes Received: 0
Thanks: 0
Thanked 35 Times in 8 Posts
|
Ah ok, I thought you guys were saying wget wasn't properly downloading the file. You are saying the patch command is missing... You need to setup ipkg-opt and then install patch with ipkg-opt install patch... Then you will be able to use the patch.
|
07/23/2009, 08:44 AM
|
#43 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
|
I just used the code from the first page and of course got the old style with no percentage... I guess I will have to figure out the patch stuff, so I can have that as an option.. I guess, I will have to move my backup files back over and try to get the patch to work...
Quick question... I made a copy of the unmodified files on the internal media... To get those back to the phone should I copy or move those back.. I guess copy, so that way I still have the backup in the internal media drive??? Does that sound right? |
07/23/2009, 09:17 AM
|
#44 (permalink) | ||
|
Member
![]() Join Date: May 2009
Posts: 284
Likes Received: 0
Thanks: 36
Thanked 22 Times in 17 Posts
|
Quote:
Quote:
|
||
07/23/2009, 12:35 PM
|
#45 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
|
I cant get the patch to work whever I try. Is there anyway you can show the line changes, like the link does on your first attempt. I can then change it in VI... I will try and see if I can get this patch thing working, but as of now... no go!!
Or, What can I open the .diff file in that wont be so jumbled. I added a .txt extension to it and it opens in notepad, but is crazy looking. |
07/23/2009, 01:28 PM
|
#46 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 71
Likes Received: 0
Thanks: 0
Thanked 35 Times in 8 Posts
|
lilmexx, you need to setup ipkg-opt and install patch with it (ipkg-opt install patch). Then you can use the commands I gave you and it will work.
If you want to do it by hand, open the diff in wordpad, it understands the formatting properly. (difference between linux/windows return style) |
07/23/2009, 03:13 PM
|
#47 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
|
I just did it by hand. Thanks for the wordpad tip. I tried notepad and word and neither looked right and would have taken forever to decode.lol. It worked good. I have the percentage and all...Good work..
|
07/23/2009, 06:54 PM
|
#51 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 284
Likes Received: 0
Thanks: 36
Thanked 22 Times in 17 Posts
|
I see.
Well I did this: Setting_up_optware line by line then I did the ipkg-opt update and ipkg-opt install patch. Then I did the wget/patch Don't know if the optware thing is what you need but I did it to my wifes phone before I did the wget and everything is working great. Try that and report back. |
07/23/2009, 08:38 PM
|
#54 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
|
After the 1.1 reboot back to the battery icon.. So the update wipes the fix.. I guess I will have to retype all in the morn.. I knew I should have saved my modified file...lol I guess I am gonna have to my make backups of all my mod files for after updates..
|
07/23/2009, 08:40 PM
|
#55 (permalink) |
|
Member
![]() Join Date: Mar 2006
Posts: 479
Likes Received: 0
Thanks: 10
Thanked 14 Times in 12 Posts
|
the wget and patch method above works in 1.1.
Much win in this thread
__________________
Just waiting for the day my Pre has contacts grouping, and a "speed dial" for text messaging
|
07/23/2009, 10:07 PM
|
#57 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 284
Likes Received: 0
Thanks: 36
Thanked 22 Times in 17 Posts
|
Here is verification that it still does work... All I had to do was apply the patch:
Code:
patch -p0 -i pre_battery_percentage.diff /sbin/initctl stop LunaSysMgr && /sbin/initctl start LunaSysMgr Also a pic to varify (cause I know ppl will ask)
|
07/23/2009, 10:18 PM
|
#60 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 71
Likes Received: 0
Thanks: 0
Thanked 35 Times in 8 Posts
|
I'll let my phone drain down so I can see this.. I haven't had my phone down because I've had it plugged in so I could use novaterm.. Do you have a screenshot by any chance?
Any yes I know that when it's at 100% it doesn't show the %. I can't seem to fix that. No matter what I do, it won't show. If I replace % with any letter, it shows that, but % won't. It could be that it's something I'm missing, since I have no knowledge of javascript, so if anyone knows, please enlighten. |
![]() |
|
| Tags |
| battery, hack, icon, percentage |
| Thread Tools | |
| Display Modes | |
|
|



