• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM]K2_CL 4.2.2 Stock Rooted Deodexed

I'm about to do something different for our phone. 4.3 and up don't normally use ext4 formats anymore. In some cases they will except for the data partition. They are starting to use a new one called f2fs. Not sure if anyone is aware of this. For your device to use f2fs instead of ext4, you must have kernel support, and the Rom must be f2fs compatible. In addition, it requires the use of a "special" twrp recovery build when using f2fs.

Been researching this. I can easily build kernel support and the twrp support. The Rom is where it gets tricky. But I want to do it to see what it feels like on this device. I hear it is smoother and faster than ext4. :)
 
  • Like
Reactions: svz235
Upvote 0
Dude I'm stoked f2fs kicks ass on my nexus 7

Yea, I have heard it is really nice. Will definitely keep you guys posted. I have to approach this work with some delicacy. Got to get my backups prepped, original twrp, etc, etc. One wrong slip up and I could be in for the long haul of repairing my device if I don't set the cards on the table correctly. Now would be a good time to have a backup phone hahaha. But I love the challenge.
 
  • Like
Reactions: svz235 and irishobo
Upvote 0
The stock camera doesn't work in deodexed version, does in the odexed version, but Qualcomm & NFC doesn't...

I'm sorry but, neither of these are really viable for me, back to regular stock:thinking:

Could you elaborate? I tested the camera, WiFi, 3g/4g and everything else I could think of.

When you say the camera doesn't work, does it fc? Does it not save the photos?
And as far as stock odexed, I did nothing to change it, I adb pulled it from my phone and zipped it up.
 
Upvote 0
Could you elaborate? I tested the camera, WiFi, 3g/4g and everything else I could think of.

When you say the camera doesn't work, does it fc? Does it not save the photos?
And as far as stock odexed, I did nothing to change it, I adb pulled it from my phone and zipped it up.


It force closes on attempting to open it. If I could fix it, I would be happy with De-odexed.
 
  • Like
Reactions: Lordvincent 90
Upvote 0
It force closes on attempting to open it. If I could fix it, I would be happy with De-odexed.

Im planning on redoing the whole thing soon. I really want to have a complete /system (including NFC and Qualcomm)

The odexed version should have nothing broken. I didn't modify it in any way. So no idea about that... :thinking:

But thank you for the input. I'll see about fixing this up soon :)
 
Upvote 0
Im planning on redoing the whole thing soon. I really want to have a complete /system (including NFC and Qualcomm)

The odexed version should have nothing broken. I didn't modify it in any way. So no idea about that... :thinking:

But thank you for the input. I'll see about fixing this up soon :)


The Odexed version force closes Qualcomm every time I open it, but the camera works, I'm flashing from TWRP with no issues, have S-Off, unlocked, formatting first, what am I missing?
 
Upvote 0
The Odexed version force closes Qualcomm every time I open it, but the camera works, I'm flashing from TWRP with no issues, have S-Off, unlocked, formatting first, what am I missing?

I'm not sure. I have by the files on the PC at home and I'm gone for the night. I'll do some additional testing when I get home tomorrow and see if I can reproduce it :)

Honestly though, I only made the stock odexed version as a way of getting back to stock/getting out of a bootloop easier... So if you have stocks and it works, then there is not need to flash that rom
 
Upvote 0
I'm not sure. I have by the files on the PC at home and I'm gone for the night. I'll do some additional testing when I get home tomorrow and see if I can reproduce it :)

Honestly though, I only made the stock odexed version as a way of getting back to stock/getting out of a bootloop easier... So if you have stocks and it works, then there is not need to flash that rom


I wanted to have rooted stock again. I tried re-installing, clearing cache and freezing the apps with TB, no difference.
 
  • Like
Reactions: Lordvincent 90
Upvote 0
Hi, let me first say thanks for the hard work. I tested the flashable zip and it worked really well (i especially enjoyed the lack of bloat, Im currently working on acheiving that level of proficiency myself) except for the actual phone. I posted about it in the main forum, but the barebones of the matter is that the phone was nearly unusable. I wonder if it isn't because I'm on boost mobile and perhaps this Rom did not come from boost? As a last resort before exchanging the device I ran something called the stock RUU and now everything is back to normal. But I'm glad it worked and it was fun to have a debloated Rom for a few days. Thanks again.
 
  • Like
Reactions: Lordvincent 90
Upvote 0
No need to aplologize at all. I had fun playing with it :) I thought it was for boost but wasn't sure (k2_cl is exclusively boost right? ). I just thought you would like to know. And I wanted to know if anyone else had the same issue. Like I said before , thanks for all the hard work. Btw, if you wouldn't mind how about a list of safely removable bloatware? Or was one of missing bloats causing my issue?
 
Upvote 0
I can try to compile a list of removable bloat ware later tonight.

The issue is that somewhere in the process of deodexing the rom several apps broke. They are all included in the rom (with the exception of nfc and Qualcomm enhanced location) I'm plugging away at it, but it's slow going. My computer had a hard drive failure and the "loaner" I'm using has a 1.6GHz single core processor and one gig of ram. My phone is literally more responsive than it :eek:
 
Upvote 0
I can try to compile a list of removable bloat ware later tonight.

The issue is that somewhere in the process of deodexing the rom several apps broke. They are all included in the rom (with the exception of nfc and Qualcomm enhanced location) I'm plugging away at it, but it's slow going. My computer had a hard drive failure and the "loaner" I'm using has a 1.6GHz single core processor and one gig of ram. My phone is literally more responsive than it :eek:
Same phone same comp , until a manual upgrade I was running a 1.6 as well (which was still faster than anything I've ever had) got a much faster processor online for dirt cheap but the phone still wipes the floor with comp. Ill check back to see the bloat list. Thanks again.
 
Upvote 0
I adapted this list from THIS POST (for the k2_ul variant)

This list should be safe to remove. But, be sure to have a current backup just in case :)

AndroidHtcSync.apk - HTC Mobile Sync
Automotive_Home.apk - Car in app drawer, Carmode
Automotive_InternetRadio.apk -
Automotive_Traffic.apk -
Basic.apk - Livewallpaper
BasicDreams.apk - Daydreams
Books.apk - Google Play Books crapware
Calculator.apk - RealCalc is way better
CalculatorWidget.apk - widget
ChromeWithBrowser.apk - can install from play store
CIMEXT9.apk - Chinese
EAGamebox.apk - crapware
Facebook.apk - can install from playstore
FacebookEngine.apk -
Facebook_Client.apk -
FaceLock.apk -
Flashlight.apk - can use another from playstore
FlexNet.apk
Flickr.apk -
FlickrEngine.apk
Frisbee.apk
GenieWidget.apk
Gmail2.apk can be downloaded from okay store
GMS_Maps.apk - download from playstore
GoogleFeedback.apk
GoogleTTS.apk - safe to delete, can download new from playstore
Hangouts.apk - new from playstore
HoloSpiral.apk - LiveWallpaper
Htc3DRichNotesWidget.apk
HtcAirplaneModeWidget.apk
HtcAlbumMapView.apk
HtcAutoRotateWidget.apk
HtcBackgroundDataWidget.apk
HTCBackup.apk
HtcBackupReset.apk
HtcBtWidget.apk
HtcCarGps.apk
HtcContactWidgets.apk
HtcDataRoamingWidget.apk
HtcDataStripWidget.apk
HtcDeals.apk - crapware
HtcDropboxGLRPlugin.apk
HtcFMRadioWidget.apk
HtcGetStarted.apk
HtcGpsWidget.apk
HtcHotspotWidget.apk
HtcImageWallpaper.apk
HtcLavaLiveWallpaper.apk
HtcMailWidgets.apk
HtcMobileNetworkWidget.apk
HtcMsgWidgets.apk
HtcMusic.apk
HtcMusicEnhancer.apk
HtcMusicWidget.apk
HtcNotes.apk
HtcNotesPainterView.apk
HtcNotesProvider.apk
HtcPhotoWidget.apk
HtcPowerStripWidget.apk
HtcProfilesWidget.apk
HtcRingtoneTrimmer.apk
HtcRingtoneWidget.apk
HtcScreenBrightnessWidget.apk
HtcScreenTimeoutWidget.apk
HTCShoeboxEngine.apk
HtcSkydriveGLRPlugin.apk
HtcSoundRecorder.apk
HtcSyncWidget.apk
HtcVideoPlayer.apk
HtcWeatherClockWidget.apk
HTCWeatherClockWidgetAgent.apk
HtcWeatherLiveWallpaper.apk
HtcWiFiWidget.apk
HTC_Widget_ShowMe.apk
HTMLViewer.apk
IMEXT9Arabic.apk
IMEXT9BahasaIndonesia.apk
IMEXT9BahasaMalaysia.apk
IMEXT9Bulgaria.apk
IMEXT9Croatian.apk
IMEXT9Czech.apk
IMEXT9Danish.apk
IMEXT9Dutch.apk
IMEXT9Estonian.apk
IMEXT9Finnish.apk
IMEXT9French.apk
IMEXT9German.apk
IMEXT9Greek.apk
IMEXT9Hebrew.apk
IMEXT9Hungarian.apk
IMEXT9Italian.apk
IMEXT9Kazakh.apk
IMEXT9Latvian.apk
IMEXT9Lithuanian.apk
IMEXT9Norwegian.apk
IMEXT9Polish.apk
IMEXT9Portuguese.apk
IMEXT9Romanian.apk
IMEXT9Russian.apk
IMEXT9Serbian.apk
IMEXT9Slovak.apk
IMEXT9Slovenian.apk
IMEXT9Spanish.apk
IMEXT9Swedish.apk
IMEXT9Turkish.apk
IMEXT9Ukrainian.apk
Instagram_SN_Plugin.apk
LinkedIn_Fsplugin.apk -
LMIRescue.apk - can be freezed, dont need rescue i think...
Locations.apk - crapware
Magazines.apk - crapware
Mail+nonprime.apk - I use Gmail, not stock mail
MediaUploader.apk
Music2.apk
MusicVisualization.apk
MyBreeze.apk
[leTaskPlugin.apk[/B] - gTask
MyHTC.apk
MySkydrive.apk
MyTask.apk
MyTaskWidget.apk
NewsPlugin.apk - crapware, for new opera mini is ok (it have rss option)
NoiseField.apk
PDF_Viewer_F_A.apk - crapware
PermissionToAccessLocApi.apk
PhaseBeam.apk
Phonesky.apk - new is autodownloaded, so if present updated app in /data/app, then this is obsolete
Picasa_GLRplugin.apk
PlayGames.apk - crapware
PluginManager.apk
PlusOne.apk - G+ new from playtore if you like crapware
PolarisOffice.apk
Prism.apk - SENSE
SenseTV_Home.apk
SocialManager.apk - Maybe something with fiendstream
StockWidget.apk - crapwareWidget
Street.apk - can be downloaded from playstore
Tips_Help.apk
Transfer.apk
Tube2_Configuration.apk
TuneIn.apk - download new from playstore
Twitter.apk - download from playstore
TwitterEngine.apk -
Twitter_Client.apk -
UDove.apk
Videos.apk
VoiceSearchStub.apk
VpnDialogs.apk - VPN services, i dont use them
Watch.apk
Weather.apk
WeatherProvider.apk
WeatherSyncProvider.apk
YouTube.apk - delete new from playstore
ZeroEditing.apk - Galery Video Highlights
 
  • Like
Reactions: laralynmowers
Upvote 0
Thanks for the list btw, that's going to the bookmarks :)
The other thing from the title: the "developer options" in settings are different on it Rom. The only one I know off the top of my head is that yours is missing the "screen always awake" option ( I like this one and was dissapointed not to see it) but it IS in the stock OTA update. Just fyi. And thanks again.
 
  • Like
Reactions: Lordvincent 90
Upvote 0
Look at what I can do on my phone now ;-)

8uvuse7a.jpg
im going to try this, i hope it works for me K2_CL
 
Upvote 0
im going to try this, i hope it works for me K2_CL
Fair warning, if you grab the source from my repo on my github then it will fail unless you modify it. After getting it to work on my phone (yes the K2_CL) I modified it in hopes to get it to work within the recovery so it would use up less resources and run much quicker. I have yet to get it to successfully work within the recovery. So be warn, you must make some changes. If you know what you are doing then it won't be hard to do.
 
Upvote 0
I adapted this list from THIS POST (for the k2_ul variant)

This list should be safe to remove. But, be sure to have a current backup just in case :)

AndroidHtcSync.apk - HTC Mobile Sync
Automotive_Home.apk - Car in app drawer, Carmode
Automotive_InternetRadio.apk -
Automotive_Traffic.apk -
Basic.apk - Livewallpaper
BasicDreams.apk - Daydreams
Books.apk - Google Play Books crapware
Calculator.apk - RealCalc is way better
CalculatorWidget.apk - widget
ChromeWithBrowser.apk - can install from play store
CIMEXT9.apk - Chinese
EAGamebox.apk - crapware
Facebook.apk - can install from playstore
FacebookEngine.apk -
Facebook_Client.apk -
FaceLock.apk -
Flashlight.apk - can use another from playstore
FlexNet.apk
Flickr.apk -
FlickrEngine.apk
Frisbee.apk
GenieWidget.apk
Gmail2.apk can be downloaded from okay store
GMS_Maps.apk - download from playstore
GoogleFeedback.apk
GoogleTTS.apk - safe to delete, can download new from playstore
Hangouts.apk - new from playstore
HoloSpiral.apk - LiveWallpaper
Htc3DRichNotesWidget.apk
HtcAirplaneModeWidget.apk
HtcAlbumMapView.apk
HtcAutoRotateWidget.apk
HtcBackgroundDataWidget.apk
HTCBackup.apk
HtcBackupReset.apk
HtcBtWidget.apk
HtcCarGps.apk
HtcContactWidgets.apk
HtcDataRoamingWidget.apk
HtcDataStripWidget.apk
HtcDeals.apk - crapware
HtcDropboxGLRPlugin.apk
HtcFMRadioWidget.apk
HtcGetStarted.apk
HtcGpsWidget.apk
HtcHotspotWidget.apk
HtcImageWallpaper.apk
HtcLavaLiveWallpaper.apk
HtcMailWidgets.apk
HtcMobileNetworkWidget.apk
HtcMsgWidgets.apk
HtcMusic.apk
HtcMusicEnhancer.apk
HtcMusicWidget.apk
HtcNotes.apk
HtcNotesPainterView.apk
HtcNotesProvider.apk
HtcPhotoWidget.apk
HtcPowerStripWidget.apk
HtcProfilesWidget.apk
HtcRingtoneTrimmer.apk
HtcRingtoneWidget.apk
HtcScreenBrightnessWidget.apk
HtcScreenTimeoutWidget.apk
HTCShoeboxEngine.apk
HtcSkydriveGLRPlugin.apk
HtcSoundRecorder.apk
HtcSyncWidget.apk
HtcVideoPlayer.apk
HtcWeatherClockWidget.apk
HTCWeatherClockWidgetAgent.apk
HtcWeatherLiveWallpaper.apk
HtcWiFiWidget.apk
HTC_Widget_ShowMe.apk
HTMLViewer.apk
IMEXT9Arabic.apk
IMEXT9BahasaIndonesia.apk
IMEXT9BahasaMalaysia.apk
IMEXT9Bulgaria.apk
IMEXT9Croatian.apk
IMEXT9Czech.apk
IMEXT9Danish.apk
IMEXT9Dutch.apk
IMEXT9Estonian.apk
IMEXT9Finnish.apk
IMEXT9French.apk
IMEXT9German.apk
IMEXT9Greek.apk
IMEXT9Hebrew.apk
IMEXT9Hungarian.apk
IMEXT9Italian.apk
IMEXT9Kazakh.apk
IMEXT9Latvian.apk
IMEXT9Lithuanian.apk
IMEXT9Norwegian.apk
IMEXT9Polish.apk
IMEXT9Portuguese.apk
IMEXT9Romanian.apk
IMEXT9Russian.apk
IMEXT9Serbian.apk
IMEXT9Slovak.apk
IMEXT9Slovenian.apk
IMEXT9Spanish.apk
IMEXT9Swedish.apk
IMEXT9Turkish.apk
IMEXT9Ukrainian.apk
Instagram_SN_Plugin.apk
LinkedIn_Fsplugin.apk -
LMIRescue.apk - can be freezed, dont need rescue i think...
Locations.apk - crapware
Magazines.apk - crapware
Mail+nonprime.apk - I use Gmail, not stock mail
MediaUploader.apk
Music2.apk
MusicVisualization.apk
MyBreeze.apk
[leTaskPlugin.apk[/B] - gTask
MyHTC.apk
MySkydrive.apk
MyTask.apk
MyTaskWidget.apk
NewsPlugin.apk - crapware, for new opera mini is ok (it have rss option)
NoiseField.apk
PDF_Viewer_F_A.apk - crapware
PermissionToAccessLocApi.apk
PhaseBeam.apk
Phonesky.apk - new is autodownloaded, so if present updated app in /data/app, then this is obsolete
Picasa_GLRplugin.apk
PlayGames.apk - crapware
PluginManager.apk
PlusOne.apk - G+ new from playtore if you like crapware
PolarisOffice.apk
Prism.apk - SENSE
SenseTV_Home.apk
SocialManager.apk - Maybe something with fiendstream
StockWidget.apk - crapwareWidget
Street.apk - can be downloaded from playstore
Tips_Help.apk
Transfer.apk
Tube2_Configuration.apk
TuneIn.apk - download new from playstore
Twitter.apk - download from playstore
TwitterEngine.apk -
Twitter_Client.apk -
UDove.apk
Videos.apk
VoiceSearchStub.apk
VpnDialogs.apk - VPN services, i dont use them
Watch.apk
Weather.apk
WeatherProvider.apk
WeatherSyncProvider.apk
YouTube.apk - delete new from playstore
ZeroEditing.apk - Galery Video Highlights

Look at what I just found haha
 
  • Like
Reactions: Lordvincent 90
Upvote 0
Fair warning, if you grab the source from my repo on my github then it will fail unless you modify it. After getting it to work on my phone (yes the K2_CL) I modified it in hopes to get it to work within the recovery so it would use up less resources and run much quicker. I have yet to get it to successfully work within the recovery. So be warn, you must make some changes. If you know what you are doing then it won't be hard to do.
i didnt see a link to download so i wasnt able to do anything. i see alot of themes and custom roms that require deodex, was curious how to do it and is it worth it?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones