Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,666 Members 39,668 Now Online
XDA Developers Android and Mobile Development Forum

[MODS] Brymaster5000's MODS and Tricks

Tip us?
 
brymaster5000
Old
(Last edited by brymaster5000; 6th March 2014 at 06:03 PM.)
#1  
brymaster5000's Avatar
Recognized Contributor - OP
Thanks Meter 1,468
Posts: 1,817
Join Date: Jan 2012
Location: New Hampshire

 
DONATE TO ME
Default [MODS] Brymaster5000's MODS and Tricks

Brymaster5000 MODS

This thread is for MODS that I have put together and for tricks that I have come across. As I mostly build kernels...there won't be alot of original work by me...but will be hacks that bring you the flavor you desire! If you have any suggestions, let me know and I will see what I can do.

Sense MODS
These are flashable zips done in recovery. As is the usual disclaimer...blah...if your phone explodes and melts the cat, causing your wife to divorce you...I am not responsible.

Tips & Tricks
  • Need to flash a new recovery but don't have computer access?
    Download (if you don't have it already) Android Terminal Emulator.
    -Type: su
    -Hit: Enter...you will get a # sign that shows you have root access.
    -Type: cd /sdcard/
    -Hit: Enter...this brings the terminal to the location of the recovery image (add more paths after sdcard/ as necessary).
    -Type: dd if=recovery.img of=/dev/block/mmcblk0p34
    -Hit: Enter...this flashes the recovery to the right partition. Change the name (recovery.img) to whatever it's called on your sdcard. The terminal should give you info on bytes sent.
    -Exit Terminal, and reboot your phone.
    -Enjoy
    ================================================== =
  • Need a log-cat but don't have computer/adb access?
    -Open Terminal Emulator
    -Type: su
    -Hit: Enter
    -Type: logcat -v long > /sdcard/logcat.txt
    -Hit: Enter...it is now running the log...so perform the action or your log will be sooooooo long.
    -Hit: Home button to back out but not exit the terminal.
    -Perform your task that is screwy.
    -Go back into Terminal.
    -Press: Volume Down + C....at the same time (this is the same as hitting CTRL+C in a computer terminal)...this stops the command and the log.
    -Exit terminal and upload your logcat.txt file to whomever is going to look at it for you.
    -Feeling lucky? Open your log in a viewer and search file for the word "error" or "fatal"...might give you insight to the problem!
    ================================================== ===========================================
  • +1 in your contact's phone number
    Download the app Prefixer by 253 Below:

    Run the app, Menu>Add Rule>Manual>Outgoing

    You can label the title whatever you want.

    Make sure the Rule is enabled

    Under "When Number Matches" Type this in

    \+?[0-9]{7,}

    That tells it if a number is at least 7 digits long preceded by a + in the beginning.

    During Days>Mon-Sun

    From Time> 00:00
    To Time> 23:59

    Remove Characters

    \+[1]

    Works like a charm. It does not edit the contact info, just deletes the + when dialing.

More to come...as I think of them.

Credits:
@andybones for the black boot animation
@buckmarble for the AOSP ROM to pull from
The Following 9 Users Say Thank You to brymaster5000 For This Useful Post: [ Click to Expand ]
 
brymaster5000
Old
#2  
brymaster5000's Avatar
Recognized Contributor - OP
Thanks Meter 1,468
Posts: 1,817
Join Date: Jan 2012
Location: New Hampshire

 
DONATE TO ME
Reserved
The Following User Says Thank You to brymaster5000 For This Useful Post: [ Click to Expand ]
 
GimliLongBow
Old
#3  
GimliLongBow's Avatar
Junior Member
Thanks Meter 2
Posts: 25
Join Date: Oct 2013
Thanks for these! I like the black HTC boot screen and the Google DeskClock.

When I flashed the DeskClock zip with TWRP 2.6.3.4, I get the following error:

Code:
set_perm_recursive() expects 5+ args, got 4
E: Error executing updater binary in zip...
The clock gets installed to system (didn't check Daydream). Any idea what's up?

Also, any way to remove the HTC WorldClock? And maybe the HTC Calendar? Thanks!
 
jerrycycle
Old
#4  
jerrycycle's Avatar
Senior Member
Thanks Meter 158
Posts: 1,226
Join Date: Aug 2009
@ GimliLongBow;
You can disable those in the app manager settings, this allow you to see if any side effect. Titanium can be used to delete them permanently, or even a root accessible file manager to delete from system.
Phone: Htc One Max T6VZW
Rom: UNOFFICIAL 4.4.4 SlimKat
Theme: TeamBlackout apps
Recovery: TWRP 2.7.1.1 by
Kernel: One with rom
Android version: 4.4.4
 
brymaster5000
Old
#5  
brymaster5000's Avatar
Recognized Contributor - OP
Thanks Meter 1,468
Posts: 1,817
Join Date: Jan 2012
Location: New Hampshire

 
DONATE TO ME
Quote:
Originally Posted by GimliLongBow View Post
Thanks for these! I like the black HTC boot screen and the Google DeskClock.

When I flashed the DeskClock zip with TWRP 2.6.3.4, I get the following error:

Code:
set_perm_recursive() expects 5+ args, got 4
E: Error executing updater binary in zip...
The clock gets installed to system (didn't check Daydream). Any idea what's up?

Also, any way to remove the HTC WorldClock? And maybe the HTC Calendar? Thanks!
Thanks...I will look into it. I'm a bit on the under rested side with my 4 month old lol...I didn't test each one...so I probably missed a permission in the script. I will look into it shortly.

Sent from my Lunar Ecliptic One.
 
brymaster5000
Old
#6  
brymaster5000's Avatar
Recognized Contributor - OP
Thanks Meter 1,468
Posts: 1,817
Join Date: Jan 2012
Location: New Hampshire

 
DONATE TO ME
Quote:
Originally Posted by GimliLongBow View Post
Thanks for these! I like the black HTC boot screen and the Google DeskClock.

When I flashed the DeskClock zip with TWRP 2.6.3.4, I get the following error:

Code:
set_perm_recursive() expects 5+ args, got 4
E: Error executing updater binary in zip...
The clock gets installed to system (didn't check Daydream). Any idea what's up?

Also, any way to remove the HTC WorldClock? And maybe the HTC Calendar? Thanks!
Quote:
Originally Posted by brymaster5000 View Post
Thanks...I will look into it. I'm a bit on the under rested side with my 4 month old lol...I didn't test each one...so I probably missed a permission in the script. I will look into it shortly.

Sent from my Lunar Ecliptic One.
Just tested...both apk's
were pushed to the correct location with the correct permissions. I got the same error. It must be a TWRP bug....

Sent from my Lunar Ecliptic One.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more

MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more