DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 40

Thread: Push edited stat_sys_battery.xml file to phone & have it accepted?

  1. Developer Relations
    CJM's Avatar
    Member #
    117189
    Join Date
    Sep 2010
    Location
    Mississippi Gulf Coast
    Posts
    8,159
    Liked
    822 times
    Phone
    Galaxy Nexus, Motorola Droid
    Premium Member
    #11
    I've been trying to do this for a while. Gonna tag along.

    Swyped from a Droid
  2. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #12
    Ok -- first you need a totally unthemed framework to start with. Use a stock framework-res.apk.

    As far as adding id numbers, I believe you have to use the next available number in the public.xml file.

    If in any doublt check the apk manager or apktool thread over on xda. I know the question has been asked before about a million times.
  3. Droid
    Lock-N-Load's Avatar
    Member #
    35537
    Join Date
    Feb 2010
    Location
    Westsiiide
    Posts
    74
    Phone
    Drizzoid
    #13
    dizzzamn.. can you say hijack?

    so maybe I can approach it from a different way to try to get my desired results.

    maybe if I could find an already correctly compiled and working hack for what I want to do here that is correctly compiled, and I could place it on my droid to get it working. THEN, all I would have to do is just replace the icons that hack came with with mine as that can easily can be done in Metamorph and need no compiling.

    seem reasonable? if so, now I just need to find a compatible hack that is proven to work on the D1 and uses 10% readings and can even have its own 10% icons. Seen one that works??
    Last edited by Lock-N-Load; 02-21-2011 at 12:03 PM.
  4. Junior Droid
    castaway's Avatar
    Member #
    53741
    Join Date
    Apr 2010
    Posts
    14
    Phone
    HTC MAGIC
    #14
    ok guys im done with this and im success!!!

    Im done with 10% increment battery mod thanks everyone and specially thanks kevdog for help!

    i dont do anything with public.xml im just edit stat_sys_battery.xml and overwrite newly created resources.arsc after compiling framework apk back so it acutalize public.xml itself.

    im really enjoying this smooth battery mod!!! THANKS KEVDOG AGAIN!!!!
  5. Droid
    Lock-N-Load's Avatar
    Member #
    35537
    Join Date
    Feb 2010
    Location
    Westsiiide
    Posts
    74
    Phone
    Drizzoid
    #15
    Quote Originally Posted by castaway View Post
    ok guys im done with this and im success!!!

    Im done with 10% increment battery mod thanks everyone and specially thanks kevdog for help!

    i dont do anything with public.xml im just edit stat_sys_battery.xml and overwrite newly created resources.arsc after compiling framework apk back so it acutalize public.xml itself.

    im really enjoying this smooth battery mod!!! THANKS KEVDOG AGAIN!!!!
    how about posting your zipped file for download - or send it to me - so we/I can try it.... please

    I'd like to try your zip file that is complied correctly and then just later replace with my battery images
  6. Junior Droid
    castaway's Avatar
    Member #
    53741
    Join Date
    Apr 2010
    Posts
    14
    Phone
    HTC MAGIC
    #16
    Quote Originally Posted by Lock-N-Load View Post
    Quote Originally Posted by castaway View Post
    ok guys im done with this and im success!!!

    Im done with 10% increment battery mod thanks everyone and specially thanks kevdog for help!

    i dont do anything with public.xml im just edit stat_sys_battery.xml and overwrite newly created resources.arsc after compiling framework apk back so it acutalize public.xml itself.

    im really enjoying this smooth battery mod!!! THANKS KEVDOG AGAIN!!!!
    how about posting your zipped file for download - or send it to me - so we/I can try it.... please

    I'd like to try your zip file that is complied correctly and then just later replace with my battery images
    ok here is working framework-res.apk (im using MDPI device)

    Multiupload.com - upload your files to multiple file hosting sites!
  7. Droid
    Lock-N-Load's Avatar
    Member #
    35537
    Join Date
    Feb 2010
    Location
    Westsiiide
    Posts
    74
    Phone
    Drizzoid
    #17
    hey - whats the best way to place just this framework-res.apk?

    EDIT: I used Root Explorer to place it and then rebooted and I get boot loops


    So.. if I pulled my framework-res.apk AND provided my images to someone.. can anyone make me a correctly compiled and signed framework-res.apk for my phone and advise me on how to best and correctly place it back? please?
    Last edited by Lock-N-Load; 02-24-2011 at 08:51 AM.
  8. Junior Droid
    castaway's Avatar
    Member #
    53741
    Join Date
    Apr 2010
    Posts
    14
    Phone
    HTC MAGIC
    #18
    Quote Originally Posted by Lock-N-Load View Post
    hey - whats the best way to place just this framework-res.apk?

    EDIT: I used Root Explorer to place it and then rebooted and I get boot loops


    So.. if I pulled my framework-res.apk AND provided my images to someone.. can anyone make me a correctly compiled and signed framework-res.apk for my phone and advise me on how to best and correctly place it back? please?
    dont use my framework-res.apk every ROM have different framework.You can try use stat_sys_battery.xml and resources.arsc from that but i think you need to create your own files.
  9. Droid
    Lock-N-Load's Avatar
    Member #
    35537
    Join Date
    Feb 2010
    Location
    Westsiiide
    Posts
    74
    Phone
    Drizzoid
    #19
    I tried to use your stats_sys_battery.xml into my MM theme and made a themer update.zip and that failed also. I got the blank icon in the notificaiton bar.

    I missed this whole need for the resources.arsc... besides those 2 files (and my png files) any others I would need? Do I need that META-INF directory or AndroidManifest.xml file?

    I assume not so would plan to do this then..

    1. I take your compiled and untouched stat_sys_battery.xml file
    2. I put together my directory and I have my Metamorph based file in the root and your untouched resources.arsc file
    3. in my directory I also have a subdirectory called framework-res and in that is res and in that are drawable and drawable-hdpi as all of this lines up with the correct names and placement the system expects
    4. in drawable I put your compiled stat_sys_battery.xml file which is where it lives in real life
    5. in drawable-hdpi I put my new pings which is where they live in real life
    6. I zip up my directory with all of this inside which matches the Systems placement and file/directory names
    7. I put this on my SD card
    8. I use zipthemer and run my zipped directory file through zipthemer which makes me an update.zip file I can flash
    9. I reboot into recovery, backup my ROM in case, then flash this zipthemer update.zip file

    how does this seem? This way, I use you correctly compiled and signed files, my png icons, all in a directory structure that matches my system.

    clearly you can see I am trying to get around the whole making of a complete framework-res.apk that needs compiling and signing as all I want to do is place the files I want to edit, nothing more.
  10. Droid
    Lock-N-Load's Avatar
    Member #
    35537
    Join Date
    Feb 2010
    Location
    Westsiiide
    Posts
    74
    Phone
    Drizzoid
    #20
    UPDATE: my above idea failed... reboots fine, but no battery icons in notification bar

    ugh!

    if anyone reading this has any interest in taking my framework-res.apk and my images and making me a new framework-res.apk for my phone, let me know. I will email them to you.
    Last edited by Lock-N-Load; 02-24-2011 at 03:16 PM.
Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. just was accepted into Google app inventor Beta!
    By searayman in forum Android Applications
    Replies: 0
    Last Post: 09-21-2010, 04:03 PM
  2. How to send one song to phone to be edited by ringdroid?
    By rmkleman in forum Android General Discussions
    Replies: 2
    Last Post: 09-09-2010, 12:40 PM
  3. I edited a programs .apk file now it won't load?
    By Branndon in forum Hacking Help
    Replies: 6
    Last Post: 02-19-2010, 12:58 PM
  4. How do I get edited Launcher.apk back onto phone?
    By 19DroidRage84 in forum Droid Hacks
    Replies: 5
    Last Post: 01-31-2010, 07:46 PM
  5. Telesales Pre-orders are being accepted now
    By jwd45244 in forum Motorola Droid
    Replies: 14
    Last Post: 11-06-2009, 12:38 PM

Search tags for this page

android 4.0 stat sys battery
,
android battery icon stat sys battery.xml
,

android stat sys battery

,
android stat sys battery.xml
,
edit stat sys battery charge .xml
,
no resource found that matches the given name (at icon with
,
png file location android stat sys battery
,

stat sys battery

,
stat sys battery charge .xml
,
stat sys battery location
,
stat sys battery mdpi
,
stat sys battery png
,
stat sys battery.xml file droid x
,
stats sys battery.xml
,

where are stat sys battery files android

Click on a term to search our site for related topics.
Find us on Google+