Android OS Forum banner

[Rom] 11/11/2011 Naerokrom Beta | Odex By Stevestrong/deodex Bare Bones (~130Mb)

30K views 125 replies 26 participants last post by  Gman  
#1 · (Edited by Moderator)
When I get a new laptop/PC, it pisses me off when there is software installed that I have to remove myself. I don't want the powerful hardware that I purchase to be crippled by unnecessary applications, services, and or processes. Dell Customer Experience? Don't need it. HP Support? Google is better.
Why not make the extra bloatware optional?

I got this phone, Odin'd the rooted odex'd stock tarball (one of the easiest methods to root a phone that isn't a Nexus) and saw that it was almost 450mb.
This was unacceptable to me. What are all these apps I don't want? Why is Gmail included when there is a newer one available from the market? Why would I want to use Samsung's Twitter app when there are much better options in the market (or why is it preinstalled)?

Granted, I knew the phone was going to come with TouchWiz and a few things preinstalled, but my goal is to have a flashable ROM as close to a "bare-bones" experience as possible.
So I made a custom flashable ROM that I can personally use every few weeks when I feel that my phone gets a bit sluggish and need a fresh start.
This is NOT for you if you don't like doing the dirty work, and taking some time to set up your device the way you like.
This is for those people out there like myself that do not like any preconfigured or installed apps. Every app that is available from the Android Market has been removed from the ROM so you can download them yourselves.

If you update an app from the market that is preinstalled into the /system partition (i.e. Gmail, Maps), the market will update the app into the /data partition.
This results in a copy of the old Gmail in /system/app and a updated Gmail in /data/app (little things like this make me RAGE!!!!!!!!)

By letting the user install the apps directly from the market (into the /data partition) to begin with, we can avoid this redundancy.
(example of exception: YouTube app was left installed as our device's fingerprint is incompatible to download the app separately from the ma
rket.)


Before the download link, things you should know:

This ROM...(and mods)
- includes chris41g's LoStKernel (http://github.com/chris41g)
- available in odexed and deodexed
- includes stock AOSP Gingerbread Launcher (tweaked for faster scrolling/opening speeds, you may install any launcher from the market such as Go Launcher EX)
- includes NoCIQ mod (Credits: k0nane, strongsteve http://forum.xda-dev...d.php?t=1286783)
- includes Juwe's Custom Ram script (http://forum.xda-dev...d.php?t=1111145)
note: You need a kernel that has init.d support like the included stock+cwm+init.d for the script to take effect. Installing the "Stock Pulled" or "Stock Pulled with CWM" kernel will disable the script as they do not have init.d support
- includes GPS Configuration tweaks for hopefully faster GPS locks
- includes stock AOSP Gingerbread Keyboard and dependent lib
- includes CRT screen off animation
- ZipAligned APK's (http://developer.and...s/zipalign.html)
- Updated Superuser app

Special thanks/credits to
Snipa (@Snipa_Ablair) and goo-inside.me (@gooinsideme) for hosting my junk and everything they do for the Android community
Rootzwiki for their hospitality!
chris41g (@chris41g) for the kernel that pwns Samsung's broken SPH-D710 Kernel "Source"

WTF IS WRONG WITH THIS ROM!?!?
(The flashable zips below can be flashed in the same recovery session. No need to wipe anything in between if doing so. Please make sure you use the correct zip file depending if you are running the odexed or deodexed rom)

1. Longpressing "Home" to access "Task manager" force closes, freezes, melts, blows up my phone! What do I do?
The stock "Task manager" looks for the Samsung Job Manager APK. Reboot into recovery, wipe cache and dalvik-cache, and flash the following to gain the "Task manager" function back.
NOTE: This will also add the "Task Manager" app to your app drawer.
Odex: http://goo.gl/PZOei
Deodex: http://goo.gl/tIdqP

2. Going into "Voicemail settings" force closes the dialer/resets my signal, and makes my phone radioactive! What do I do?
The "Voicemail settings" tries to access the Sprint Visual Voicemail APK. Reboot into recovery, wipe cache and dalvik-cache, and flash the following if you need Sprint Visual Voicemail (I personally use Google Voice for my voicemail needs).
Odex/Deodex: http://goo.gl/1jv3q

3. I don't have a voicemail app? WTF???? FIX THIS NA0!
See #2 and use the same file if you want Sprint's Visual Voicemail. Google Voice from the market is an alternative.

4. When trying to "Select sound from My files" for custom ringtones within the Contacts app, it just kicks me back out to the contacts view. WTF??
This function looks for the Samsung My Files APK. Reboot into recovery, wipe cache and dalvik-cache, and flash the following if you need the My Files app.
Odex: http://goo.gl/JXP0M
Deodex: http://goo.gl/naJ6r

5. I WANT TOUCHWIZZZZZ
Reboot into recovery, wipe cache and dalvik-cache, and flash the follwing zip which includes:
TouchWiz Launcher, Calculator/widget, Calendar/widget, Clock/weather widget, Program Monitor widget, News Widget, Press Reader, Samsung Music Player, Samsung Apps Services (all stock apks + odex files).
Odex: http://goo.gl/81r46
Deodex: http://goo.gl/3cxyf

6. Your GPS tweaks suck tushy, I got lost on my way to a Thai massage and missed my appointment because of your half-assed effort you call TWEAKS!!
Reboot into recovery, wipe cache and dalvik-cache, and flash the following which will give you the stock GPS configurations.
http://goo.gl/p4RAl

7. I need exchange support...
Reboot into recovery, wipe cache and dalvik-cache, and flash the following for ~7mb of exchange. Suit.
Odex: http://goo.gl/1M3uv
Deodex: http://goo.gl/i9i7U

8. I don't like the kernel, why didn't you just keep the stock kernel with cwm or like something?
Just flash it yourself. If you are reading this and don't know what you lose by flashing a "stock pulled with cwm" kernel, go back to the top and read one of the bolded.
Any current working kernel for our phone should work fine on this ROM.

9. Trying to access "Wallpaper gallery" to change the stock lockscreen wallpaper fc!? this rom SUX!
The "Wallpaper gallery" looks for the Touchwiz wallpapers which are removed. Use the "Gallery" option instead to select a custom image of your own.

If you decide that this ROM may fit your needs after reading my boring, uninformative intro, PLEASE make a nandroid backup. You still may decide that you need to put a little too much effort/work into making this ROM the way you like, and having a solid nandroid backup always makes life a bit easier. Also, please backup all your apps and information you need so that you can easily restore them.
If you skipped straight to the download link below, then please read the full post before asking any questions that may have been answered.

As always, if coming from a different rom, wipe /system and data/factory reset within recovery before flashing.

Download Naerokrom

(Odexed by strongsteve): http://goo.gl/GAqse md5: fbfcfe44b1e0b41389074dc7d11c9819
(Deodex): http://goo.gl/QP6Gu md5: 4fdedf34dc69b7a3c5d2dfc7cc9fa0ac

All Previous versions: http://goo-inside.me/roms/longcat/

changelog 11/11/11
stevestrong odexed my deodexed version and is allowing me to use it as my standard odex build. huge thanks!

Changelog from v1.1 to 1.2

Added AOSP Calculator APK
Removed a few build.prop tweaks that possibly effects call quality
Packaged chris41g's newest stock pulled+cwm+init.d support
Updated display version in About Phone
Removed battery percentage number, recompiled stock framework-res with only change CRT Screen On animation

Changelog from v1.0 to v1.1

Removed AOSP Gallery3D and added stock Galler3D.apk and odex file to fix force close of changing lock screen wallpaper. If you don't need this function because you use Go Lock or some other lockscreen replacement, feel free to flash v1.0
(thanks to paranoid android85 for pointing out the issue)
Trying to access "Wallpaper gallery" from lockscreen wallpaper settings will still force close, as I will not include the stock Touchwiz wallpapers which is another ~12mb of pictures I will never look at


Please remember, I added the BETA tag so I could get a public feedback on bugs/issues I might not have noticed from using this myself. I hope to have covered everything in this post so please read through everything if you have not.

2nd/3rd post will contain random related things, so feel free to read while you download.

This post may be modified at anytime without warning
Image


I am not responsible for your phone in any way! As with everything on Rootzwiki, use at your own risk.
 
#2 · (Edited by Moderator)
Hey, Bare bones? any meat at all? define "bare bones"!

Screenshot of app drawer after a fresh install

Image


Sprint Hotspot is built into the stock settings. I will look into removing this via smali in the future.
Google Search is needed to have a functioning search key to navigate between apps/contacts/websearch/etc.
Voice Dialer is needed if you use bluetooth/handsfree functions.
YouTube is not available from the market for our devices at the moment.

GPS Tweaks: what is it?
I don't guarantee this works for everyone, but it's a popular mod on XDA found here (http://forum.xda-dev....php?p=17088018)
I just modified it to work with North America/US needs
This screenshot was taken indoors where I usually detect ~4 satellites. Obviously this could be coincidence, so try it out.

Image


Anything else you recommend?

Autostarts app (https://market.andro...roid.autostarts)
*I am not affiliated in any way with the developer of this app
This isn't an ordinary "task killer" of sort, but lets you disable/enable processes and apps from starting up in the first place depending on the condition (screen on/off, toggle wifi, etc.)

Description:
Code:
<br />
Keep control over your phone: See what applications do behind your back.<br />
Shows you what apps run on phone startup, and what other events trigger in the background. Root users can disable unwanted autostarts and speed up their phone boot.<br />
Note: Root-Access *is* required to make changes. Otherwise, this application will be read-only.<br />
STOP stuff from running before they even start
Image

Image


Why are apps like Goggles and Maps starting "After Startup"? Don't know, but disable it!

Image

Got in an elevator and lost signal. Get out and when "Connectivity changed" dropbox starts? Not anymore.

Use this app at your own risk. Don't disable random shit like "messaging" and complain about not getting text messages.

Consequences will never be the same!
 
#3 ·
/System/App files removed for reference

Code:
<br />
<br />
<br />
REMOVED<br />
AnalogClock apk/odex<br />
AxT9IME apk/odex (Samsung KB)<br />
BooksPhone apk (Google Books available from Market)<br />
BuddiesNow apk/odex<br />
ChocoEUKor apk (extra font)<br />
ClockPackage apk/odex<br />
DigitalClock apk/odex<br />
Divx apk/odex<br />
Dlna apk/odex<br />
EmailWidget apk/odex<br />
FTC/FTM/FTS apk/odex<br />
Gmail apk (Gmail available from Market)<br />
HelvNeueLT apk (extra font)<br />
install_flash_player apk (Flash Player available from market)<br />
JobManager apk/odex<br />
Kies apk/odex<br />
KiesAier apk/odex<br />
kieswifi apk/odex<br />
LiveWallpapers apk/odex<br />
Maps apk (Google Maps available from market)<br />
MediaHub apk<br />
MinimalHome apk/odex<br />
MobilePrint apk/odex<br />
MobileTrackerEngineTwo apk/odex<br />
MtpApplication apk/odex (used with Kies)<br />
MusicPlayer apk/odex (Use Google Music from market)<br />
MyFiles apk/odex<br />
Personalization apk/odex<br />
PhotoRetouching apk/odex<br />
PolarisOffice apk/odex<br />
PressReader apk<br />
Protips apk/odex<br />
PRUI apk/odex<br />
SamsungAppsUNAService apk/odex<br />
SamsungWidget News/ProgramMonitor/StockClock/WeatherClock apk/odex<br />
SecretWallpaper 1/2 apk/odex<br />
SisoDrmProvider apk/odex<br />
SMTSEngine apk<br />
SnsAccount Fb/Li/Tw apk/odex<br />
SnsDisclaimer apk/odex<br />
SnsImageCache apk/odex<br />
SnsProvider apk/odex<br />
SocialHub apk/odex<br />
SoundPlayer apk/odex<br />
SpeechRecorder apk/odex<br />
Sprint_Installer apk/odex<br />
SprintMobileWallet apk<br />
SprintZone apk<br />
Street apk<br />
Swype apk<br />
Tasks apk/odex<br />
Term apk/odex<br />
TouchWiz30Launcher apk/odex<br />
TouchWizCalculator apk/odex<br />
TouchWizCalendar apk/odex<br />
TrimApp apk/odex<br />
TwCalendarAppWidget apk/odex<br />
TwWallpaperChooser apk/odex<br />
VideoEditor apk<br />
VideoPlayer apk/odex<br />
VoiceRecorder apk/odex<br />
VoiceSearch apk/odex<br />
VoiceToGo apk<br />
vtt-sprint apk<br />
W_Installer apk<br />
wssyncmlnps apk/odex<br />
 
#7 · (Edited by Moderator)
Most themes won't work with odex'd roms, although I know there are a few people over at XDA making progress for our device. So just make sure the theme is made for odex'd roms if you want to try.
I will also make a deodex'd version available that should be compatible with most themes after I see the feedback on the rom as is. I would like to avoid having to keep up with two different versions of the rom in its infancy.

Hope you understand
Image
 
#10 · (Edited by Moderator)
installation aborted for me...assert failed: package_extract_file("zImage", "/tmp/zImage") E:error in /sdcard/NaerokRom_beta_v1_signed-naerok.zip (status 7)

i redownloaded and put back on my sd card and got same error
I just redownloaded and flashed to make sure and I did not see that error.

If you redownloaded, try deleting the copy on your SD Card instead of overwriting it with the newer download.
I also added the md5sum below the download link. Please double check it, and if you're not near a PC to do so, you can grab an app from the market like "MD5 Checker (https://market.andro...?id=com.fab.md5)" to do so.

Either way, I'll tweak the updater-script since status 7 usually means there's something wrong there. Strange that it worked on my phone though.

Edit: Reuploaded. Same link, different md5. Hope it works better!
 
#12 ·
When I get a new laptop/PC, it pisses me off when there is software installed that I have to remove myself.
EXACTLY! I love this because I can customize it to my liking without having all that BS loaded onto my device.
Top notch stuff dude, as always!
Image
 
  • Like
Reactions: naerok
#13 ·
If you decide that this ROM may fit your needs after reading my boring, uninformative intro, PLEASE make a nandroid backup. You still may decide that you need to put a little too much effort/work into making this ROM the way you like, and having a solid nandroid backup always makes life a bit easier. Also, please backup all your apps and information you need so that you can easily restore them.
If you skipped straight to the download link below, then please read the full post before asking any questions that may have been answered.

As always, if coming from a different rom, wipe /system and data/factory reset within recovery before flashing.

Download Naerokrom Beta v1.0: http://goo.gl/poyM4
md5sum: ce30eaa40150f588193b068fd46b30d7

Please remember, I added the BETA tag so I could get a public feedback on bugs/issues I might not have noticed from using this myself. I hope to have covered everything in this post so please read through everything if you have not.

2nd/3rd post will contain random related things, so feel free to read while you download.

This post may be modified at anytime without warning
Image


I am not responsible for your phone in any way! As with everything on Rootzwiki, use at your own risk.
Too frickin' funny. I DL'ed the ROM this morning to check out later today. When I got your gchat, I came looking for your new hotness and I just remembered you are now naerok. LOL I thought all that junk in the OP had a familiar tone
Image
Gonna flash it now. Coming from StarBurst which is pretty slick and even had me OK with missing MIUI.

Knowing you, this will be my new ride. I'll hit you up with my thoughts after I give it a proper run. Good to see you already are attracting a better clientele to RW ^ Yo T!
Image
 
#17 · (Edited by Moderator)
Great rom. The only problem i ran into was getting a fc when i try to change the lock screen wallpaper. Other then that this is the closest to an aosp ROM. Me likes
I know what the issue is. Ill fix that and edit this post.

Edit:
It needs the stock Gallery3D apk + odex for that function so I added it, although hesitantly since its almost 12MB bigger lol.
Trying to access "Wallpaper gallery" from lockscreen wallpaper settings will still force close, as I will not include the stock Touchwiz wallpapers which is another ~12mb of pictures I will never look at

If you use Go Lock or Widgetlocker, I guess you don't really need the function so v1.0 should suffice for those people. If you're already on 1.0 and want the function to change lockscreen wallpaper, I added an update zip under the download link so you don't have to download a full rom.

Thanks for catching that issue, I never even realized you could change the stock wallpaper
Image
 
#15 ·
Guys, try out Go Launcher Ex (https://market.android.com/details?id=com.gau.go.launcherex) with the new Go Locker (https://market.android.com/details?id=com.jiubang.goscreenlock). If you get OCD about having two launchers, just open titanium backup/root explorer and freeze or uninstall Desktop Launcher (launcher2.apk) in /system
Image
 
#16 ·
naerok said:
Guys, try out Go Launcher Ex (https://market.android.com/details?id=com.gau.go.launcherex) with the new Go Locker (https://market.android.com/details?id=com.jiubang.goscreenlock). If you get OCD about having two launchers, just open titanium backup/root explorer and freeze or uninstall Desktop Launcher (launcher2.apk) in /system
Image
Yeah just downloaded go screen lock today. I'm loving it
 
#18 ·
naerok said:
I know what the issue is. Ill fix that and edit this post.

Edit:
It needs the stock Gallery3D apk + odex for that function so I added it, although hesitantly since its almost 12MB bigger lol.
Trying to access "Wallpaper gallery" from lockscreen wallpaper settings will still force close, as I will not include the stock Touchwiz wallpapers which is another ~12mb of pictures I will never look at

If you use Go Lock or Widgetlocker, I guess you don't really need the function so v1.0 should suffice for those people. If you're already on 1.0 and want the function to change lockscreen wallpaper, I added an update zip under the download link so you don't have to download a full rom.

Thanks for catching that issue, I never even realized you could change the stock wallpaper
Image
You rock. Updating in a few. I'm not sure if go lock has the option to change the wall paper. Maybe I've overlooked that option
 
#21 ·
Nice work J! Really really clean. So far everything is great other than my screen seems a little less sensitive to my touch, but that might just be my imagination.

What I'd like to see added:
  • The yellow triangle fix
  • The Hotspot hack
  • Don't know if he'd share or if you'd want 'em, but PhantomHacker's custom lockscreen mod is pretty slick
  • And Swype doesn't seem to work when I add it back in. I'm sure that is a matter of restoring some file, but I don't know which one.
 
#23 ·
Flash this and let me know if Swype works. Our stock Swype depends on a lib file (/system/lib/libSwypeCore.so) that I removed.
Just for future reference, if it ever stops working on a different ROM or whatever
Image


http://dl.dropbox.com/u/8539974/E4GT_Swype_Signed-Naerok.zip

If it works, I'll add to OP tonight. As for other additions, I will see what those are about.

Thanks as always JS
 
#22 · (Edited by Moderator)
well, flashed everything, and it booted up really fast; I thin installed root explorer from the market, and installed my backup pro..
while trying to restore my phone via my backup pro, the restoration stopped after a couple of apps, then the phone rebooted and none of my restored apps were there

tried this 3 times, and the same thing keeps happening...any suggestions?

thanks
 
#24 · (Edited by Moderator)
That doesn't sound right at all. I've never used my backup pro, but I will give it a go.
I've used Titanium Backup without issues so far though.

I'll try my backup pro during my lunch break and update this post.

Edit: I just purchased it and tried it, the backup process was a bit long so I couldn't test in full before the refund period ends. It seemed to work okay, although a bit slower than TB in my opinion.

Could you give me a little more detail?
i.e. which apps it fails to restore at before rebooting your phone, which backup/restore functions you are using, etc.
If we can't figure the issue out soon, I'll bite the bullet and just re-purchase My Backup Pro
Image


If you can grab a logcat while it restores/fails, that would be the best way to figure out whats going on.
 
#28 ·
swype is working for me. not that its a big deal, but could you add the aosp calculator? i wanted to use one today and noticed the calculator app isnt there
Sure, I'll include it in v1.2 and post a update zip like I currently have in the OP for people already on v1.1.
Check back later today.
Thanks for catching that, I forgot to add an alternate calculator after taking out the Touchwiz one
 
#33 ·
Naerock, did you remove anything that would be related to sound quality? My calls are filled with static. I nandroided back to check the previous ROM and it's crystal. Back to this one on a fresh install and it sounds like Charlie Brown's teacher.

Anyone else?
 
#34 ·
Sound quality of the other party? Or sound quality of your voice to the other party?
Also, try whichever kernel you are running on the previous ROM if you can to see if it remains.
I'm almost done with work, so I'll get back on here later tonight and see what others have to say before digging in.
 
#39 ·
PhantomPhreak53 said:
You can fix the yellow triangle pretty easily. Follow this thread. Once you remove it you can flash what ever rom or kernel you want as long as you do it via recovery and not odin.
Yeah, that's the link in my post. I've already fixed it. I linked it so that naerock can build the fix into the ROM. Thanks though.
 
#40 ·
Huh? You can't build that in to a rom. Any time a kernel is flashed in odin that is anything other than the original, it will show that triangle. The reason why that fix works is because you flash the stock kernel and then a script installs the custom kernel with recovery. The only way a rom would be able to do that is if it installed like that script does and that is just not practical. Fix the triangle yourself and then you can flash any rom you want and won't get it.
 
#41 · (Edited by Moderator)
It is a wish list item. I've worked with naerok for a very long time. He knows what I'm indicating.

And just like hundreds of other "impossible" feats on android, the only way to know if something can be implemented/developed/created is to try it.

I already know I can fix the triangle. That's not the point. The point is testing the limits and seeing what new advances can be developed for this device. At some point, someone will figure out how to include or automate this process or the jig method or some new method. That's the beauty of open source and the dev community.

Fortunately for all of us, most devs replaced the word "can't" with "how" a long time ago.
 
#43 ·
wase4711 said:
I wish someone would come up with a triangle "fix" for us Mac users, that can't use Odin...that would be at the top of my wish list!

The triangle doesn't really bother me, since you only see it for a few seconds, when you boot, but, it will still be nice to get rid of it!
Yeah i caved in and went to a friends house with a windows computer to get rid of the yellow triangle. I'm a Linux user but not experienced enough to do it
 
#44 · (Edited by Moderator)
wase4711 said:
I wish someone would come up with a triangle "fix" for us Mac users, that can't use Odin...that would be at the top of my wish list!

The triangle doesn't really bother me, since you only see it for a few seconds, when you boot, but, it will still be nice to get rid of it!
Exactly! That's why I'm hoping that someone can come up with a method for building it into the ROM/flashing process. There are always new users who have a hard time with stuff like this or people not on windows who can't easily do the fix. I've done the fix for half a dozen friends this week alone and while it is super simple, not everyone has the means or capacity.

Like phantomphreak alludes to, this is not an easy accomplishment, but hopefully someone will figure something out. If it works with a jig it seems there would be a way to make it work with a desktop.
 
#47 ·
Any thoughts on odex/deodex for you guys? I'm thinking about making the rom deodexed so that people can still apply themes/mods etc. easily, and I would be able to incorporate some other hacks a lot more easily as well.
If you guys still like the odex'd, I'll just keep this rom as an odex'd, stock, bare-bones and make a separate deodex'd rom for future mods and various hacks
Image
 
#50 ·
Any thoughts on odex/deodex for you guys? I'm thinking about making the rom deodexed so that people can still apply themes/mods etc. easily, and I would be able to incorporate some other hacks a lot more easily as well.
If you guys still like the odex'd, I'll just keep this rom as an odex'd, stock, bare-bones and make a separate deodex'd rom for future mods and various hacks
Gotta say for as much as I like themes and other mods I am truly enjoying the past few days of stability. Would love to be able to theme but I am not wanting to sacrifice the stability factor while working 10+ hrs a day during the week. So can I have my cake and eat it too? Lol awesome rom btw! Looking forward to trying future builds.
Sent from my SPH-D710 using Tapatalk