[GUIDE] Get your Desire Z close to stock android - G2 and Desire Z Android Development

I figure a lot of the people out there are like me and bought the desire z hoping that some genius people would root it and give us stock android. While I'm sure that will still happen and is in the process of happening I figured I'd share what I did to get me as far as I could without root.
This guide will NOT give you stock android, but it'll get you pretty darn close
You can revert any changes done here by either enabling all the disabled apps or doing a wipe of your phone
I am still in the process of getting through all this, some apps (like the broswer and messaging, dialer and contacts apps) will still look like they're a part of sense ui, you can find your own apps that you like for this.
I know this is dead simple and most of you guys have already figured this out by reading the G2 forum but I figured it would be easier to copy paste my work than to go through each package manually
There are some things that may not work after this, still working out what's needed and what's not. Post will be updated as I find bugs
Step 1: Make sure you have working ADB
Step 2: Make sure you have temp root (visionary in market)
Step 3: Install stock apps we're going to need (find a stock rom and install the apps you want http://forum.xda-developers.com/forumdisplay.php?f=758)
adb install all of the apps, for linux I did
Code:
find *.apk -exec adb install {} \;
Step 4: Disable all of the nasty sense UI crap (and preinstalled games and bell apps and such... anything unneeded)
Code:
adb shell
Code:
su
Code:
pm disable com.htc.FriendStreamWidget
pm disable com.htc.dcs.impl
pm disable com.htc.TwitterWidget
pm disable com.htc.fm
pm disable com.htc.android.mail
pm disable com.htc.htcmailwidgets
pm disable com.htc.provider.CustomizationSettings
pm disable com.htc.opensense
pm disable com.htc.htctwitter
pm disable com.htc.rosiewidgets.datastrip
pm disable com.htc.cspeoplesync
pm disable com.htc.rosiewidgets.backgrounddata
pm disable com.htc.htclocationservice
pm disable com.htc.copyright
pm disable com.htc.lockscreen
pm disable com.htc.appsharing
pm disable com.htc.ringtonewidget
pm disable com.htc.profilewidget
pm disable com.htc.StockWidget
pm disable com.htc.widget.clockwidget
pm disable com.htc.htccalendarwidgets
pm disable com.htc.htccontactwidgets
pm disable com.htc.CustomizationSetup
pm disable com.htc.searchanywhere
pm disable com.htc.android.wallpaper
pm disable com.htc.htcmsgwidgets
pm disable com.htc.music
pm disable com.htc.dcs.service.stock
pm disable com.htc.fieldtest
pm disable com.htc.recommend.widget
pm disable com.htc.connectedMedia
pm disable com.htc.AddProgramWidget
pm disable com.htc.htcsyncwidget
pm disable com.htc.dlnamiddlelayer
pm disable com.htc.android.htcime
pm disable com.htc.streamplayer
pm disable com.htc.googlereader
pm disable com.htc.dcs.service.utility
pm disable com.htc.launcher
pm disable com.htc.skinpicker
pm disable com.htc.rosiewidgets.dataroaming
pm disable com.htc.flashlight
pm disable com.htc.UpgradeSetup
pm disable com.htc.android.htcsetupwizard
pm disable com.htc.wdm
pm disable com.htc.musicmarkeditems
pm disable com.htc.cs
pm disable com.htc.FMRadioWidget
pm disable com.htc.searchanywhere.widget
pm disable com.htc
pm disable com.htc.android.teeter
pm disable com.htc.WeatherWidget
pm disable com.htc.soundrecorder
pm disable com.htc.htccompressviewer
pm disable com.htc.ringtonetrimmer
pm disable com.htc.FilePicker
pm disable com.htc.WifiRouter
pm disable com.htc.googlereaderwidget
pm disable com.htc.htcMessageUploader
pm disable com.htc.dmc
pm disable com.htc.album
pm disable com.htc.calendar
pm disable com.htc.htcsettingwidgets
pm disable com.htc.android.Stock
pm disable com.htc.OnlineAssetDetails
pm disable com.htc.recommend
pm disable com.htc.weather.agent
pm disable com.htc.rosiewidgets.screentimeout
pm disable com.htc.sync.provider.weather
pm disable com.htc.htcbookmarkwidget
pm disable com.htc.photo.widgets
pm disable com.htc.autorotatewidget
pm disable com.htc.wotaproviders
pm disable com.htc.flashliteplugin
pm disable com.htc.rosiewidgets.powerstrip
pm disable com.htc.android.calculator.widget
pm disable com.htc.android.image_wallpaper
pm disable com.htc.MusicWidget
pm disable com.htc.providers.uploads
pm disable com.htc.friendstream
pm disable com.htc.Weather
pm disable com.htc.socialnetwork.facebook
pm disable com.htc.rosiewidgets.tip
pm disable com.htc.android.quicklookup
pm disable com.htc.socialnetwork.flickr
pm disable com.htc.rosiewidgets.screenbrightness
pm disable com.htc.WeatherWallpaper
pm disable com.htc.provider.settings
pm disable com.htc.android.worldclock
pm disable com.htc.android.htcime.misc
pm disable com.htc.provider.weather
pm disable com.htc.messagecs
pm disable com.telenav.app.android.bell
pm disable com.quickplay.android.bellmediaplayer
pm disable com.SIE.Legend.BM.Tunes_and_Apps
pm disable ca.bell.wt.android.searchwidget
pm disable ca.bell.android.BellRpvr
pm disable com.gameloft.android.ANMP.GloftAsphalt5free.asphalt5
pm disable com.gameloft.android.GAND.GloftUNO.uno
pm disable com.gameloft.android.BELL.GloftLG09.LetsGolf
pm disable com.melodis.midomiMusicIdentifier.freemium
pm disable com.enstream
pm disable com.svox.pico
pm disable com.kobobooks.android
pm disable com.cyberon.cvc
pm disable com.broadcom.bt.app.system
pm disable com.futuredial
pm disable com.qo.android.htc
(hit enter a couple times at the end to make sure it worked out)
Step 5: REBOOT
*Edit do not disable com.htc.settings.accountsync, if you have
Code:
pm enable com.htc.settings.accountsync
do not disable com.htc.android.psclient
do not disable com.htc.sdm
If you want touch input you should probably leave com.htc.android.htcime enabled. This also gives some extra hardware keyboard support

Well done! Any screenshots of what this looks like once complete?

Cool
Nice guide
Thanks for sharing

Looks to me all you have done is disable sense related apps/widgets?
But what of rosie launcher itself?
Could you not set say launcher pro as stock and then disable rosie.apk too (unless this does not exist in "new sense")?

No i have disabled rosie as well. I disabled every package put on by htc other than the essential ones to keep system functionality
Sent from my HTC Vision using XDA App

Sphaerophoria said:
No i have disabled rosie as well. I disabled every package put on by htc other than the essential ones to keep system functionality
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
ah ok, I have to say I did only glance at the list. Good job

I want sense and you want froyo.

ddgarcia05 said:
I want sense and you want froyo.
Click to expand...
Click to collapse
humankind is beautiful because its diverse

Now that there is permanent root can unwanted system apps be removed?
Hi,
Now that there is a permanent root solution. Can the unwanted apps be deleted someway?
Thanks

jdsmall said:
Hi,
Now that there is a permanent root solution. Can the unwanted apps be deleted someway?
Thanks
Click to expand...
Click to collapse
Now that there is permanent root you can just download clockwork and install the real stock rom . Speaking of which could a mod remove this from the stickies please?

Sphaerophoria said:
Now that there is permanent root you can just download clockwork and install the real stock rom . Speaking of which could a mod remove this from the stickies please?
Click to expand...
Click to collapse
For you, since you asked nicely, yes I will

Hmm, where could i get a Sense-free rom?
I mean there is this, but is the rom available for download sense-less, since it's from HTC?
Sry for posting such a noob question, but oh well, better ask than flash the whole thing in vain

t5k said:
Hmm, where could i get a Sense-free rom?
Click to expand...
Click to collapse
http://android.modaco.com/content/h...n-g2-z-modaco-custom-rom-with-online-kitchen/

sense vs froyo
I am about to switch to a DZ. I am for Sense, but reading this thread I have doubts: will Sense really be so much different from stock Froyo, eating up more resources, is that it?
I'm on a Touch Pro2 right now, I have stock 6.1 (!) because eyecandy never convinced me over performance. So I stayed with and love 6.1 and STOCK!
But I love Sense.
Will I think different about this?

Related

Need pure SU binary

Hi All,
I'm looking for a pure su binary that would simply substitute with root every time its invoked, like in Linux. No looking into databases, no interactions with any Superuser apps.
Thanks.
The su, which used by the superuser apps is the same with original linux su.
Sent from my Galaxy Nexus using Tapatalk 4.
yashade2001 said:
The su, which used by the superuser apps is the same with original linux su.
Sent from my Galaxy Nexus using Tapatalk 4.
Click to expand...
Click to collapse
No, its not. The one with apps refers to the appropriate app's database to see whether this particular request should be granted, it may grant it if will find the requiring app in the database, or prompt or deny depending on Superuser app settings. Thus depends on Superuser app. The original Linux su has no app dependencies and grants all incoming requests. This is insecure, yes.
I will get it from my linux installed computer and send to you tomorrow.
---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------
btw any source codes ?
yashade2001 said:
I will get it from my linux installed computer and send to you tomorrow.
---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------
btw any source codes ?
Click to expand...
Click to collapse
Thanks, but I already tried one from Gentoo compiled for ARM processor and it doesnt work. Probably it needs to be compiled for Android specifically. And I cant even find sources for a "Pure" su, I only found those for Superuser.apk.
https://github.com/ChainsDD/su-binary/blob/master/su.c yeah it seems it's different from original su.

[Q] How To Move Apps 2 Micro SD on Kitkat?

Hello guys
I try to swap sd card to move apps by change it in Settings->Storage->Advanced storage settings option but is still moving apps in Internal Storage, any way to fix?
thanks
haky 86 said:
Hello guys
I try to swap sd card to move apps by change it in Settings->Storage->Advanced storage settings option but is still moving apps in Internal Storage, any way to fix?
thanks
Click to expand...
Click to collapse
Check out this post http://forum.xda-developers.com/showpost.php?p=48610222&postcount=466
Could be useful for u
---------- Post added at 07:59 PM ---------- Previous post was at 07:15 PM ----------
Easy way use this kernel http://forum.xda-developers.com/showthread.php?t=2600629
KitKat does not support moving apps to SD.. In fact there are no known solutions for the issue.
heri kei said:
Check out this post http://forum.xda-developers.com/showpost.php?p=48610222&postcount=466
Could be useful for u
---------- Post added at 07:59 PM ---------- Previous post was at 07:15 PM ----------
Easy way use this kernel http://forum.xda-developers.com/showthread.php?t=2600629
Click to expand...
Click to collapse

So 3.5.2 is being pushed quietly to phones

Cant find release notes.
But I can say the phone is about 80% snappier from a UI perspective so far.
May you can upload your buildprop?
---------- Post added at 06:21 PM ---------- Previous post was at 06:18 PM ----------
Open/install es file explorer and search at /system/
for build.prop
here ya go
thanks - here you go https://fire-phone-updates.s3.amazonaws.com/update-fire-phone-104_1.1.1_user_111010420.bin - FireOS3.5.2

3d touch and camera mod

Hey ,hope u doing well
Here's an awesome mod for all miui 9 users
https://drive.google.com/file/d/0BzECsSl_g89LMEZFMHgwMFF6Zm8/view?usp=drivesdk
By installing it u will get stock like 3d pressure sensed
Shortcuts over apps
Installation:
If u are rooted then
Unroot Ur device with magisk uninstaller
Flash the attached zip
Root back Ur device
Magisk /supersu
Walla!!!
You are done enjoy
How i can uninstall this mode without full flash ?
Is this working for u
Is it stable??
Why it needs to unroot first? Can you post a video using it?
i have non rooted device and TWRP installed with stable rom can i use this mod, and if any thing wrong happens is there any way to uninstall this mode? waiting for your positive reply dear Mohammad Jameel.
It doesn't work and It breaks the camera..
---------- Post added at 06:04 PM ---------- Previous post was at 06:04 PM ----------
It doesn't work and it breaks the camera

Huawei P10 stereo speaker mod oreo [Magisk Module]

This mod enables the earspeaker to act as the second speaker in combination with the main bottom firing speaker.
This mod is tested on the B379 firmware on the VTR-L09. The difference is not night and day in my opinion but try it yourself.
It's not completely tweaked yet but it works.
Module is made for magisk 17 and higher.
Download is in the attachment.
*Disclaimer
Flash and use at your own risk! If you blame me for ruining your phone, you should fish slap yourself
It's not worth it...it is to low on volume.
But still, thanks
---------- Post added at 12:31 PM ---------- Previous post was at 11:48 AM ----------
Can you give a mod to make it back?
Just disable the module. I will tweak it later more.
I disable it but the mod is still activated
---------- Post added at 12:02 PM ---------- Previous post was at 11:56 AM ----------
And now I dont have any sound...can you give me the stock mixer?
Mrawy said:
I disable it but the mod is still activated
---------- Post added at 12:02 PM ---------- Previous post was at 11:56 AM ----------
And now I dont have any sound...can you give me the stock mixer?
Click to expand...
Click to collapse
Did you reboot? If it's still active I'll upload the original file from b379
Sent from my VTR-L09 using Tapatalk
wulsic said:
Did you reboot? If it's still active I'll upload the original file from b379
Click to expand...
Click to collapse
Yeah I reboot it...and now I dont have any sound.
I tried to install it back.and still no sound
Mrawy said:
Yeah I reboot it...and now I dont have any sound.
I tried to install it back.and still no sound
Click to expand...
Click to collapse
That's weird, I don't face those issues. Try to check its permissions if it's rw r r(644) in /odm/etc/audio/hi6403/mixer_volumes_VICTORIA_ce.xml
You can use the terminal to chmod 644 /odm/etc/audio/hi6403/mixer_volumes_VICTORIA_ce.xml
Or use root browser. If those things don't work try to replace the file with a copy of /odm/etc/audio/hi6403/mixer_volumes_VICTORIA_normal.xml. Can't make a flashable zip right now, still odd behavior.
Sent from my VTR-L09 using Tapatalk
Where is download link ?

Categories

Resources