[Q] OmniGears - Omni Q&A

Can someone please tell me what it is? I see the commits for it on Gerrit but I don't have any OmniGears app installed, and I haven't seen any other thread about it..

rickoslyder said:
Can someone please tell me what it is? I see the commits for it on Gerrit but I don't have any OmniGears app installed, and I haven't seen any other thread about it..
Click to expand...
Click to collapse
It's a way of partitioning our custom Settings code into a separate component from Settings. It uses tricks similar to how DeviceParts (Settings->Advanced) worked in CM10.1 to have all of the UI appear within the Settings app.
e.g. it doesn't appear as its own app, it appears in various places in Settings, such as Interface->Bars and Menus

Entropy512 said:
It's a way of partitioning our custom Settings code into a separate component from Settings. It uses tricks similar to how DeviceParts (Settings->Advanced) worked in CM10.1 to have all of the UI appear within the Settings app.
e.g. it doesn't appear as its own app, it appears in various places in Settings, such as Interface->Bars and Menus
Click to expand...
Click to collapse
I am trying to add some omnirom features to slimkat.
Suppose the status bar network traffic speed
>repo start networkspeed frameworks/base
>cd frameworks/base
> cherry pick link from here https://gerrit.omnirom.org/#/c/5129/
solved the conflicts
( I don't know if what I did was right, but after resolving the conflicts I did
git add <each error file location>
git commit)
>repo start networkspeed packages/apps/OmniGears [ I put the OmniGears package in Local_manifest, it is downloaded but don't know what do with it ]
>cd packages/apps/OmniGears
> Gerrit commit gerrit.omnirom.org/#/c/5130/
now after this I built the rom with brunch command.
But the feature was not there. Can you please point out what I am doing wrong.

Related

CM7 Lockscreen Mods

Alright. Now that Cyanogenmod has fixed the android.git.kernel.org sync errors, I have continued my CM7 Development (lockscreen stuff for now).
There are currently four new features:
1) Changeable pattern lockscreen size (3x3 - 5x5).
2) Visible dot toggle, for pattern unlock screen.
3) Custom lockscreen message (on normal and keyguard ones).
4) Carrier name change. NOT MINE anymore. Thanks Frederic Van Assche
After I get these problems fixed and setting for all of the features, I will release the mods here, and hopefully into official CM7.
Now for some pictures. See attached (untill i upload). Note: all images are at 180 lcd density (sortof needed for 5x5)
---------- Post added at 01:28 PM ---------- Previous post was at 01:10 PM ----------
Development Section
Im currently really busy with school, so most of the work will be done on the weekends.
Current development status, and todo list.
1) The lockscreen size mod works fine. Few small code cleanup things and stuff needed.
2) The visible dot toggle has a setting and works perfect. The checkbox sometimes doesn't display right so you may have to click it twice to turn it on/off (not sure whats wrong, low priority).
3) Custom lockscreen message works great. Sometimes you have to enable+disable it for it to update (work on auto do/fix). And I haven't added it to the PIN lock and stuff (have to check). In the end I would like the enable/disable and message to be on a different settings screen (like on Honeycomb).
4) And the carrier name thing is now obsolete. Thanks to the patch by Frederic Van Assche, shown to me by one_love_420.
Ohh. And if any of you have any suggestions on things to add or change, i'm happy to listen and try.
Beta Testing.
Current Bugs
Code:
1. Choose pattern size, press back, doesn't revert size (ex: unlock problem from 5x5->3x3)
2. Change lock pattern size. Can't unlock from the actual lockscreen, in settings its fine. (IMPORTANT!)
Fixed by rebooting. Changing to same size is fine
Notes
These builds are buggy. Use at your own risk.
If you cannot unlock your phone, you can fail 5 times and then log in with your google account.
Downloads
http://androtransfer.com/development/smasher816/cm7 beta/
For a better way to do the custom carrier text and to have it in the settings as an option check this over at the gerrit. I have used since he posted it for review and it works great.
http://review.cyanogenmod.com/#change,7314
And
http://review.cyanogenmod.com/#change,7313
Sent from my PG06100 using Tapatalk
Thanks man.
I'm assuming I would run the patch command (git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_frameworks_base refs/changes/14/7314/2 && git format-patch -1 --stdout FETCH_HEAD)
Edit: that seemed to do nothing but output the changes.
I did the checkout one ("git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_frameworks_base refs/changes/14/7314/2 && git checkout FETCH_HEAD") and now it says
Code:
~/android/system/packages/apps/CMParts$ git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_packages_apps_CMParts refs/changes/13/7313/3 && git checkout FETCH_HEAD
From http://review.cyanogenmod.com/p/CyanogenMod/android_packages_apps_CMParts
* branch refs/changes/13/7313/3 -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5ed9b01... Custom carrier label (2/2)
Sorry, i'm still pretty new at git. What do I do now?
I'm new to the git and I do it probably the more difficult way but it gets the job done. What I do is download each change one by one, use "meld" to compare my java/xml files and add the new edits in. Like I said the more difficult way to do it.
Sent from my PG06100 using Tapatalk
Smasher816 said:
Alright. Now that Cyanogenmod has fixed the android.git.kernel.org sync errors, I have continued my CM7 Development (lockscreen stuff for now).
There are currently four new features:
1) Changeable pattern lockscreen size (3x3 - 5x5).
2) Visible dot toggle, for pattern unlock screen.
3) Custom lockscreen message (on normal and keyguard ones).
4) Carrier name change. No setting yet.
After I get these problems fixed and setting for all of the features, I will release the mods here, and hopefully into official CM7.
Now for some pictures. See attached (untill i upload). Note: all images are at 180 lcd density (sortof needed for 5x5)
---------- Post added at 01:28 PM ---------- Previous post was at 01:10 PM ----------
Developer Help Needed Section.
1) For the carrier name replacement I edited
Code:
String plmn = "<WHATEVER>"; //ss.getOperatorAlphaLong();
(line 587) in GsmServiceStateTracker.java. I would like to find a way to add this as a setting to CMParts but haven't looked around enough to figure out how yet. If any of you could hint me in the right way or something that would make my life easier.
2) SOLVED
Click to expand...
Click to collapse
how do we change our pattern size???
maxib123 said:
how do we change our pattern size???
Click to expand...
Click to collapse
If you read, he's developing it. Hence, you can't get it as of this moment.
sixstringsg said:
If you read, he's developing it. Hence, you can't get it as of this moment.
Click to expand...
Click to collapse
sorry, it wasnt that clear first time i read it
If you want a tester btw, you know where to find me
Thanks dude. I was out of town this weekend but started work on getting the pattern size setting more formal and correct.
However my Ubuntu vm decided to not boot.
Edit: fixed it with commands in slax, then in some terminal on ubuntu reboot.
However everything seems to be only. And I can't change the folders permissions due to read only filesystem. Any ideas?
e2fsck /dev/sda2 from root recovery seems to say it was fixed. but continues to not boot, and allowing me to run that command again and again.
If this doesn't get fixed soon. I think I'm gone to attempt to get my edited files from the read only (but bootable) snapshot, and add them back into the last working snapshot.
Smasher816 said:
Thanks dude. I was out of town this weekend but started work on getting the pattern size setting more formal and correct.
However my Ubuntu vm decided to not boot.
Edit: fixed it with commands in slax, then in some terminal on ubuntu reboot.
However everything seems to be only. And I can't change the folders permissions due to read only filesystem. Any ideas?
e2fsck /dev/sda2 from root recovery seems to say it was fixed. but continues to not boot, and allowing me to run that command again and again.
If this doesn't get fixed soon. I think I'm gone to attempt to get my edited files from the read only (but bootable) snapshot, and add them back into the last working snapshot.
Click to expand...
Click to collapse
have you tried chmod 777? if im on the right page, that should work. if not i have no idea mate, sorry
Smasher816 said:
Thanks dude. I was out of town this weekend but started work on getting the pattern size setting more formal and correct.
However my Ubuntu vm decided to not boot.
Edit: fixed it with commands in slax, then in some terminal on ubuntu reboot.
However everything seems to be only. And I can't change the folders permissions due to read only filesystem. Any ideas?
e2fsck /dev/sda2 from root recovery seems to say it was fixed. but continues to not boot, and allowing me to run that command again and again.
If this doesn't get fixed soon. I think I'm gone to attempt to get my edited files from the read only (but bootable) snapshot, and add them back into the last working snapshot.
Click to expand...
Click to collapse
e2fsck -A /dev/sda2
Try that
I ended up getting my read only changes and putting them on my actual computer,
then re doing my VM and melding my changes back in.
I got a backup, and a build made.
However settings crashes (doesn't look like my edits). I will attempt to fix it. Worst comes to worse go back to the good build and merge piece by piece.
Edit: The last two weeks and weekends have been super busy, barely able to turn on my PC. Anyways I got a 4 day weekend coming up, I should hopefully have everything worked out then.
any progress yet?
maxib123 said:
any progress yet?
Click to expand...
Click to collapse
He's got most of the work done, he just needs to get it all merged and get it all up on github. He got distracted by a fun new build system for our kernel.
Edit: Disregard the old information. I now have some freetime over this weekend, the last two weeks have been crazy busy. I am slowly putting my tweaks into the latest nightly and making sure everything is working (vm redo). Anyways the newest build works! - You go to settings -> location and security -> Change Screen Lock -> Confirm saved pattern -> Choose unlock type (pattern) -> Choose pattern size (3-5) -> Draw new pattern (x2).
Where in the settings should the custom lockscreen message be? CMParts -> Lockscreen -> Widget Options -> Custom Message, or Security -> Owner Info (like honeycomb), or somewhere else?
i prefer
CMParts -> Lockscreen -> Widget Options -> Custom Message
Click to expand...
Click to collapse
what i like best about this project is
a) i`ve always wanted a 5*5 unlock pattern
b) you`re working this into the Cyanogenmod Project
Thanks.
Heres a little development update. Im working on getting the 5x5 lockscreen perfect before adding back in the lockscreen message and stuff. The actual 5x5 works fine, all my problems come from the dynamically changing size. Im trying to fix these two important bugs I have found. Hopefully I can get it solved, if not I might upload my work and see if you guys can help me out
Code:
#BUGS#
1. Choose pattern size, press back, doesn't revert size (ex: unlock problem from 5x5->3x3)
2. Change lock pattern size. Can't unlock from the actual lockscreen, in settings its fine. (IMPORTANT!)
Fixed by rebooting. Changing to same size is fine
If your willing to put up with these bugs check the OP.
Is there anyway to add this on to a current build of cyanogen nightly rather than flashing an older one?
Sent from my Nexus One using XDA App
Ummmmm. I edited frameworks/base and packages/apps/Settings
So So replace the Settings.apk and framework folder or something.
This is something,I don't mind testing out. hopefully it'll work on cm7.1
From my fist to your face, enjoy.

[Q] Google Now always says "Location Service is off."

Hi guys.
I've flashed PURE Android image on Nexus 4.
The image is that I've built from AOSP. (branch: android-4.2.2_r1.2)
And I've flashed CWM recovery and install GAPPS. (gapps-jb-20130301-signed.zip from goo.im/gapps)
Everything is OK.
But I have some problems about the Network Location.
Google Now always says "Location Service is off."
And 3rd-party maps cannot find my location.
I checked the following.
Settings > Location access
- Access to my location is ON
- GPS satellites is CHECKED
- Wi-Fi & mobile network location is CHECKED
Settings > Accounts (Google)
- Maps & Latitude > All items are CHECKED
- Location > Let Google apps access your location is ON
I attach Log.
W/LocationProviderProxy(526): com.google.android.location resolves service com.android.location.service.v2.NetworkLocationProvider, but has wrong signature, ignoring
W/LocationManagerService(526): no network location provider found
W/GeocoderProxy(526): com.google.android.location resolves service com.android.location.service.GeocodeProvider, but has wrong signature, ignoring
How can I fix it ?
Thank you
Hi,
Apply the following patch in frameworks/base:
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index cb7804c..9b91387 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -645,7 +645,8 @@
-->
<string-array name="config_locationProviderPackageNames" translatable="false">
<!-- The standard AOSP fused location provider -->
- <item>com.android.location.fused</item>
+ <item>com.android.location.fused</item>
+ <item>com.google.android.location</item>
</string-array>
<!-- Boolean indicating if current platform supports bluetooth SCO for off call
This will allow the framework to use NetworkLocation.apk from gapps as well as the AOSP FusedLocation.apk.
medialaxis said:
Hi guys.
I've flashed PURE Android image on Nexus 4.
The image is that I've built from AOSP. (branch: android-4.2.2_r1.2)
And I've flashed CWM recovery and install GAPPS. (gapps-jb-20130301-signed.zip from goo.im/gapps)
Everything is OK.
But I have some problems about the Network Location.
Google Now always says "Location Service is off."
And 3rd-party maps cannot find my location.
I checked the following.
Settings > Location access
- Access to my location is ON
- GPS satellites is CHECKED
- Wi-Fi & mobile network location is CHECKED
Settings > Accounts (Google)
- Maps & Latitude > All items are CHECKED
- Location > Let Google apps access your location is ON
I attach Log.
W/LocationProviderProxy(526): com.google.android.location resolves service com.android.location.service.v2.NetworkLocationProvider, but has wrong signature, ignoring
W/LocationManagerService(526): no network location provider found
W/GeocoderProxy(526): com.google.android.location resolves service com.android.location.service.GeocodeProvider, but has wrong signature, ignoring
How can I fix it ?
Thank you
Click to expand...
Click to collapse
Sorry for the late reply.
It's perfect on android 4.3
Thank you!!!
Sent from my AOSP on Mako using Tapatalk 2
medialaxis said:
Sorry for the late reply.
It's perfect on android 4.3
Thank you!!!
Sent from my AOSP on Mako using Tapatalk 2
Click to expand...
Click to collapse
Can you describe the procedure to patch frameworks/base? Also will it work on a nexus s with the same problem?
antipasti said:
Can you describe the procedure to patch frameworks/base? Also will it work on a nexus s with the same problem?
Click to expand...
Click to collapse
1.
you can just modify config.xml using your editor directly.
and rebuild, flash, check whether it is working
2.
i don't have nexus s.
but i believe it will work.
good luck
medialaxis said:
1.
you can just modify config.xml using your editor directly.
and rebuild, flash, check whether it is working
2.
i don't have nexus s.
but i believe it will work.
good luck
Click to expand...
Click to collapse
Hi, I can't seem to find that config.xml file. Where is it? After editing it, should I flash the ROM and gapps again?
Thanks, i'm new to that stuff
filipeglfw said:
Hi, I can't seem to find that config.xml file. Where is it? After editing it, should I flash the ROM and gapps again?
Thanks, i'm new to that stuff
Click to expand...
Click to collapse
1. you can find here. $AOSP_PROJECT/frameworks/base/core/res/res/values/config.xml
2. i think you don't need to do. just update system image. but i don't know exactly... sorry

[UTILITY][APP][WINDOWS] AndroidFileUtils | Grab the Logs you need!

This is my first Windows App written in Visual C#
Pre-req's: You will need .NET 4.5 installed to work
ADB not needed, comes packaged with AndroidLib.dll <- Embedded in application (thanks to regaw_leinad)
Does not work with Windows XP or lower
This app is for Windows that will quickly grab a:
-Logcat log : Verbose(default), Debug, Info, Warning, Error, Fatal, Silent
-dmesg log
-last_kmsg log
To use this App effectively, you will need to grab the log AFTER the problem has occured!
Also will copy to your clipboard so you can just paste it to your favorite site or file!
Nothing fancy or elegant about this but it gets the job done! Help out our devs by getting them the Logs they need!
Credit also goes to @regaw_leinad for the AndroidLib.dll
Feedback is needed as this is my first Windows application!
Also, if anybody can come up with a better name for this app, I will gladly change it!
Credit goes to [insert xda-member handle here] for renaming this app to "[insert new name of application]"
Downloads can be found here: http://forum.xda-developers.com/devdb/project/?id=1544#downloads
================================================
Code:
v1306
+Kills all threads if any are running upon exit, small other optimizations.
v1305:
+Fixed two small bugs that caused crashes.
v1300:
+Another overhaul in code, thanks again to regaw_leinad for the help (he did 100% of this update)
+AndroidLib.dll is no longer needed ^
+ADB is now properly killed when closing the application ^
v1200:
+Cleaned up code, ui, added a logcat filtering option { Verbose, Debug, Info, Warning, Error, Fatal, Silent }
v1100:
+Added save log feature, changed up the UI a tiny bit
v1004:
+Major overhaul to code, now speedier! (thanks to regaw_leinad for the help)
v1003:
+Updated App again: Now should support ANY device :)
v1002:
+Cleaned up code, more aesthetics !
v1001:
+New Release, Cleaned up some things and added some device info !
v1000:
+Initial Release
XDA:DevDB Information
[Windows] AndroidFileUtils | Grab the Logs you need!, a Tool/Utility for the Android General
Contributors
.torrented, http://forum.xda-developers.com/member.php?u=3766545, regaw_leinad
Version Information
Status: Stable
Current Stable Version: AFU - v1305
Created 2013-11-12
Last Updated 2013-11-12

[Issue] Omni 4.4 wifi can't find network

Hey guys,
I finally built omni 4.4 for Gtab2 10.1
My wifi is turned On, but can't find any network.
I used latest blobs from samsung stock rom 4.2.2 to be sure.
logcat:
http://pastebin.com/xm6un9Tg
During the build process i faced an error :
Code:
out/target/common/obj/APPS/framework-res_intermediates/src/com/android/internal/R.java
out/target/common/obj/APPS/framework-res_intermediates/src/android/R.java
expected "}"
public static final class string-array{ }
^
this is not the exact error code but it was almost this.
To bypass this error i just comented both class, i wonder if this can be related?
thanks
I'd suggest looking at other device bringup commits first.
4.4 requires wifi configuration changes and storage configuration changes.
Entropy512 said:
I'd suggest looking at other device bringup commits first.
4.4 requires wifi configuration changes and storage configuration changes.
Click to expand...
Click to collapse
mmhh still no luck.
I don't have any error message in logcat now but still scanning for network and can't find any.
I based my change on aries bring up commit.
Now my ext sdcard work if i'm root, i may need to change some permission in fstab,
and i add edit this line in init.espresso10.rc
Code:
service wpa_supplicant /system/bin/wpa_supplicant \
-Dnl80211 -iwlan0 -e/data/misc/wifi/entropy.bin [email protected]:wpa_wlan0 \
-c/data/misc/wifi/wpa_supplicant.conf -O/data/misc/wifi/sockets
and if I try to add an ssid by hand i got this error in logcat:
Code:
E/WifiConfigStore( 441): failed to set SSID: "mywifi"
E/WifiConfigStore( 441): Failed to set a network variable, removed network: 0
E/WifiStateMachine( 441): Failed to save network
thanks.
Did you add it, or change the one that was already there?
Entropy512 said:
Did you add it, or change the one that was already there?
Click to expand...
Click to collapse
I add it to try, there is no wifi network, it loop on "searching network"
I wonder if my error can be related to what i said earlier
sevenup30 said:
During the build process i faced an error :
Code:
out/target/common/obj/APPS/framework-res_intermediates/src/com/android/internal/R.java
out/target/common/obj/APPS/framework-res_intermediates/src/android/R.java
expected "{"
public static final class string-array{ }
^
this is not the exact error code but it was almost this.
To bypass this error i just comented both class, i wonder if this can be related?
thanks
Click to expand...
Click to collapse
Do you face this error while building omni? can it be because of my java version? i'm on java 6
finally got it working, it was related in init conf file like you said.
Does someone just know how can I disable hardwar keyboard at first boot?
Because of that keyboard never show up so i have to skip the first settings and disable it in language & input.
sevenup30 said:
finally got it working, it was related in init conf file like you said.
Click to expand...
Click to collapse
Could you precise which mod you did in init conf file ?
Because I've the same problem with a build for Acer A200 : loop on AP scan, no results, no possibilities to configure an AP manually....
Thanks
sevenup30 said:
finally got it working, it was related in init conf file like you said.
Does someone just know how can I disable hardwar keyboard at first boot?
Because of that keyboard never show up so i have to skip the first settings and disable it in language & input.
Click to expand...
Click to collapse
Fix or remove the broken kernel driver that's reporting a keyboard as being present when it's not.
Another possibility is you're missing KL/IDC files for some input device that is being treated as a hardware keyboard when it's not. (See the galaxys2-common family - the sii9234 or whatever it is IDC file was needed to keep that input device from being detected as a HW keyboard)

[ROM][PA-JB4.3][RECOVERY][KERNEL][DEV][SGH-I757M]UNOFFICIAL CM10.2 For Bell SGH-I757M

PA-JB4.3 for Canadian Samsung Galaxy S2 HD LTE (SGH-I757M)
Code:
[COLOR="red"][B][SIZE="4"]*** Disclamer ***[/SIZE][/B]
THIS ROM IS FOR THE CANADIAN SGH-I757M ONLY... DO NOT FLASH IT ON ANOTHER DEVICE!
By flashing this ROM, you are voiding your phones warranty (Unless you return it
to complete stock which is possible, but beyond the scope of this thread). You
also agree that I will in no way be held responsible in the event that your
device becomes bricked (Not likely to happen). In addition, you are responsible
to take the necessary backups of your apps, data, sms, contacts, calendar events, etc.
If you agree, then please continue on ;)[/COLOR]
Code:
[COLOR="red"][B][SIZE="4"]*** NEW RECOVERY REQUIRED ***[/SIZE][/B]
Due to the addition of user control in PA-JB4.2/PA-JB4.3, you are required to update
your recovery to a supported recovery. As of this writing, the latest available
version is CWM6.0.3.9/Philz Touch 6.07.9 for the SGH-I757M.
If you flash the new ROM with the old incompatible recovery, you risk loosing
your sdcard under a bunch of subfolders.[/COLOR]
Code:
[COLOR="red"][B][SIZE="4"]*** NEW RADIO FIRMWARE REQUIRED ***[/SIZE][/B]
As of PA-JB4.2, ICS radios (I757MUGLH2) are no longer supported. You must download the new JB radios (I757MUGMC5).[/COLOR]
Introduction
It's finally here :-D ParanoidAndroid JB4.3 (Android4.3.x) for the Bell Canada Samsung Galaxy S2 HD LTE (SGH-I757M). Among the most notable new features are new adreno graphics drivers with triple buffering (this is project butter). Among the most notable features in PA is the ability to set on a per/app basis, the colour and dpi. Other sought out features are HALO (onscreen notification and quick app access), and phablet mode which makes apps load as if they were on a tablet. This makes them use the tablet layouts instead of the phone layouts.
Click to expand...
Click to collapse
Images
SEE SCREENSHOTS TAB AT THE TOP OF THIS PAGE.
Click to expand...
Click to collapse
What Works
* Phone
* Wi-Fi
* Mobile
* GPS
* Bluetooth
* SMS/MMS
* Data Usage
* Camera/Camcorder
* BLN Notification (Enabled in Advanced Device Settings)
* VM Notification
* Youtube Overlays
* init.d is fully supported
* USB Mass Storage (UMS Mode)
Click to expand...
Click to collapse
What Doesn't Work
* I haven't found anything as of yet. Let me know if you find something that is not working as it should ;-)
Click to expand...
Click to collapse
Pre-Installation instructions
1) Download to your sdcard, the new CWM6.0.3.9 flashable zip which is compatible with CM10.1/CM10.2
2) Enter your existing CWM Recovery
3) Install Zip From sdcard
4) Select the CWM_RECOVERY_6.0.3.9_I757M_20131005.zip that you downloaded to your sdcard
5) Flash the new Recovery
6) Go back to the main recovery menu and go Advanced -> Reboot Recovery (This might not actually reboot you into recovery, you may have to do that manually by turning off phone and using 3-button combo)
Click to expand...
Click to collapse
Now that you have the new recovery flashed to your device, you can continue to install this ROM.
Please be aware that the new recovery detects your sdcards (internal/external) in a different way. Your internal sdcard is recognized as /storage/sdcard0 and your external sdcard is recognized as /storage/sdcard1.
Installation instructions
1) Download the Rom and Gapps (Use only the Gapps downloded from this thread. It is customized due to our small cache partition)
2) Enter CWM
3) TAKE A NANDROID BACKUP
4) Wipe Data/Factory Reset
5) Format Cache
6) Advanced -> Format Dalvik Cache
7) Mounts and Storage -> Format /data,/cache and /system (Required for a clean flash)
8) Flash the Radios
9) Flash the ROM
10) Flash the Gapps
11) Reboot Phone
Click to expand...
Click to collapse
NOTE: If you are using Philz Touch/Advanced Recovery, you can replace steps 5 - 7 by selecting the "Clean to install a new ROM" option.
Download
ROM Downloads
Build: 20140410 (Latest)
ROM: pa_celoxhd-3.99-RC2-20140410.zip (157.7MB)
GAPPS: pa_gapps-full-4.3-20140121-signed.zip (221.6MB)
JB Radios: JB_modem_I757MUGMC5-flash_this_in_CWM.zip (21.3MB)
Build: 20140130
ROM: pa_celoxhd-3.99-RC2-20140130.zip (153.9MB)
GAPPS: pa_gapps-full-4.3-20140121-signed.zip (221.6MB)
JB Radios: JB_modem_I757MUGMC5-flash_this_in_CWM.zip (21.3MB)
Recovery Downloads
NEW CWM6.0.3.9 compatible with CM10.1/CM10.2
CWM_RECOVERY_6.0.3.9_I757M_20131005.zip (7.6MB)
NEW Philz Advanced Recovery 5.18.4 (CWM 6.0.4.4) compatible with CM10.1/CM10.2
PhilzAdvancedRecovery5.18.4-CWM6.0.4.4-SGH-I757M.zip (9.5MB)
NEW *** RECOMMENDED *** Philz Touch Recovery 6 (CWM 6.0.4.5) compatible with CM10.1/CM10.2/CM11.0
[celoxhd][SGH-I757M][CWM Advanced Edition] PhilZ Touch
* The downloads can also be found here on XDA. Use the "Download" tab at the top of the page to access both direct download or torrent download of this ROM.
Click to expand...
Click to collapse
Tips and Tricks
Checkout the second post for some tips and tricks on setting up the ROM.
Click to expand...
Click to collapse
Changelog
Code:
[B]April 10, 2014 - Build 20140410[/B]
* Added USB Mass Storage
[B]January 6, 2014 - Build 20140105[/B]
* Initial release
* Added CM performance settings
Click to expand...
Click to collapse
FAQ
Q. The UI feels very slow, how do I speed it up?
A. This ROM does not seem to run very well while on the Interactive governor. Go to Settings -> About Phone and tap on the Build Number 7 times to activate the Developer Options and the Performance Settings. Then open Settings -> Performance and change the Governor to "OnDemand" and the I/O Scheduler to "Deadline". This will get you the best operation possible from this ROM.
Click to expand...
Click to collapse
Thanks To/Credits
Code:
* Paranoid Android Team - ROM Base
Without all of the hard work and efforts of the Paranoid Android team, this ROM would not be possible, so we owe them our thanks for providing us with such excellent ROMs.
In addition, I have received a lot of help on my journey to understand and be able to develop for the android platform, so I owe the following people my thanks for helping me to make this ROM possible.
* @dsixda - Initial port of CM9/CM10 for SGH-I757M
* @Strange Peer - Continued development of CM10
* @rukusx7 - Contributor
* @bijon440 - Contributor
* @kj2112 - Contributor
* @Tronith - Contributor
* @Zippy Dufus - Contributor
* @formercontra - Contributor
Thanks guys you've all been so awesome to work with ;)
One last group of people to thank. It's YOU! Without all of you guys and girls who come to download our creations, there would be no reward for doing this. Thank you for downloading, providing feedback and being part of this small family. You are all appreciated ;)
XDA:DevDB Information
UNOFFICIAL PA-JB4.3 For Bell SGH-I757M, a ROM for the Samsung Galaxy S II
Contributors
titanic_fanatic
ROM OS Version: 4.3.x Jellybean
ROM Kernel: Linux 3.0.x
ROM Firmware Required: SGH-I757M
Based On: CyanogenMod
Version Information
Status: Alpha
Created 2014-01-06
Last Updated 2014-04-12
Tips & Tricks
Tips and Tricks
APN
Use the Bell Flex APN. You can select it by going to:
Settings -> Wireless & Networks -> More -> Mobile Networks -> Access Point Names
This helps fix some issues with VPN and some other system services.
Governor & I/O Scheduler
The Interactive governor does not work well on this ROM, so you must change it to "OnDemand" and the I/O Scheduler to "Deadline". To do this, got to Settings -> About Phone and tap on Build Number 7 times to activate both the Developer Options and the Performance settings. Then go to Settings -> Performance and change the Governor and I/O Scheduler as mentioned above. Do not forget to check the box for "Set at boot" so that it gets set every time you boot the phone.
Logcat what is it and how do I get one?
A logcat is the system log of events that occur on your device. This log provides the developers with some useful information pertaining to crashes and other bugs you may encounter while using the ROM and/or apps running on the ROM. Getting a logcat is generally a very simple thing. Just open your terminal emulator on your phone and type the following commands without typing the $ as it denotes a command on the command line:
$ su
$ logcat -v long > /sdcard/logcat.txt
Click to expand...
Click to collapse
The first command above will ask you to grant superuser permission to the terminal emulator which you must accept. The second command will create a file at the root of your sdcard called logcat.txt and then start writing the logs to this file. Since the logcat is a continuous function, your terminal emulator will not return you to the command prompt after the second command as it will continue to write logs until you stop it by pressing the x to close the emulator.
If you are experiencing an issue with an app, then you need to do the steps above to get the logcat recording, then press your home button so that you don't close the emulator, but put it in the background. Then you do the action that causes the bug to occur and then open the emulator and terminate it to stop the log from writing. this ensures that the error is located somewhere around the end of the log and makes it easier for us to spot
What is dalvik-cache and why do I need it?
To explain dalvik cache, you must understand how an app is pieced together. An apk (android app) is like a zip file and contains a bunch of files inside. Two important files to note are the resources.arsc and the classes.dex files. They are compiled versions of the resources (images, sounds, xml files) and classes (source code files) of the app. When android boots into a ROM for the first time, and everytime you install an app, the system performs an optimization called dex optimization which means that is pulls the dex file out of the app and places it into what is called your dalvik cache. The system can then pre-load these dex files and allow the app to start quickly.
Dalvik cache is stored in two locations, at /data/dalvik-cache for user apps and at /cache/dalvik-cache for system apps. We unfortunately have a very small partition for /cache, only 100MB and this sometimes causes a side effect on first boot where it fills up to much with apps that only ever run on the first boot to setup the system and then other dex files cannot be written to the /cache partition which causes them to Force Close (FC). The trick in this situation, is to bear through the FC messages to get the system to the home screen, then reboot into recovery and Wipe Dalvik Cache from the Advanced sub-menu. This will delete all the dex files in both locations I mentioned above and will force the system to regenerate them upon reboot, and this time, those 1-time running apps don't start up and don't end up being optimized which allows the necessary dex files to be created for the apps that were FC'ing.
I have moved what I could from the system partition to the data partition to spare some extra space on /cache but this still sometimes happens, especially as the ROM's get slightly bigger every new major version.
Awesome! A PA build! This are coming along with this device TF, great work. Ill install as soon as I get bored of your KK build, still using that as a daily driver for now haha
Sent from my SGH-I757M using xda premium
Does this build have the new cache?
formercontra said:
Does this build have the new cache?
Click to expand...
Click to collapse
No, it still has the old cache. I'm working on a way to make it permanent and from first boot.
This will be implemented after I figure out the fstab file.
Sent from my SGH-I757M using XDA Premium 4 mobile app
Well my morning routine of perusing your threads is taking a little longer TF. Lol.
I tried the pa build and no hiccups. I find it somewhat sluggish compared to my preferred slim ROMs.
I was thinking since you seem to be on a roll. What are your thoughts on an AOKP build? I have always enjoyed the features it has. I was messing with porting it with no success. Stuck at boot animation.
Sent from my SGH-I757M using Xparent Cyan Tapatalk 2
manfromgta said:
Well my morning routine of perusing your threads is taking a little longer TF. Lol.
I tried the pa build and no hiccups. I find it somewhat sluggish compared to my preferred slim ROMs.
I was thinking since you seem to be on a roll. What are your thoughts on an AOKP build? I have always enjoyed the features it has. I was messing with porting it with no success. Stuck at boot animation.
Sent from my SGH-I757M using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
It's definitely more sluggish. Did you change the governor and io scheduler to "OnDemand" and "Deadline" respectively? These provide the smoothest operation of this particular Rom which is why I had to add back the performance settings from CM which requires fairly extensive porting.
How are you "porting", by building? If so, you should check out my github. All of the code is there for our device and it's proprietary blobs. You will need to modify the build to work with AOKP, but most of the work has already been done by me in maintaining an updated device tree.
You would most likely need to modify the vendor/aokp files to include our device. Best to create a github account for managing that. Abs you would Assisi have to change done things in our device tree tree, such as cm.no probably changes to aokp.mk abs cm.dependencies probably changes to aokp.dependencies. Best to find a skyrocket device tree for AOKP if you can and then you can see how they did it. Then just diff the two folders to see where the differences are and modify as necessary.
I'll see what I can find, but I want planning on an AOKP, but rather an omni when it becomes more stable. And to my knowledge right now, there is an issue with the emmc brick bug code and that has to be fixed before I bother.
Sent from my SGH-I757M using XDA Premium 4 mobile app
titanic_fanatic said:
It's definitely more sluggish. Did you change the governor and io scheduler to "OnDemand" and "Deadline" respectively? These provide the smoothest operation of this particular Rom which is why I had to add back the performance settings from CM which requires fairly extensive porting.
I forgot about changing to on demand and deadline. Much better now.
How are you "porting", by building? If so, you should check out my github. All of the code is there for our device and it's proprietary blobs. You will need to modify the build to work with AOKP, but most of the work has already been done by me in maintaining an updated device tree.
No not building. Not that far advanced yet. I was just doing the amateur cut and paste using an aokp ROM for skyrocket. Thanks for your info. Hope to learn more in days to come.
Sent from my SGH-I757M using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sent from my SGH-I757M using Xparent Cyan Tapatalk 2
Hi TF, I just flashed this ROM using philz recovery and the vibration issue from your CM 4.3 build is still haunting me
I've rebooted at least 3 times since flashing and I have no vibration at all
PS thanks for all the hard work you put into this device, its made it worth keeping this phone :thumbup:
Sent from my SGH-I757M using xda app-developers app
B.Moreira said:
Hi TF, I just flashed this ROM using philz recovery and the vibration issue from your CM 4.3 build is still haunting me
I've rebooted at least 3 times since flashing and I have no vibration at all
PS thanks for all the hard work you put into this device, its made it worth keeping this phone :thumbup:
Sent from my SGH-I757M using xda app-developers app
Click to expand...
Click to collapse
I actually found a fix for this (I think) and released a patched kernel in the CM-10.2 thread. I was going to wait a week before updating the other kernels, but since you are in need, I'm building it right now. Please give me a little bit to test it after it's built. About an hour or so and I'll post a link
New Kernel Fixes Vibration Issue
So here is that new kernel I promised. This kernel implements a fix to ensure that all modules get loaded on each boot. It's still in testing phase, so if you experience no vibration at any time please let me know. I've been running the new kernel for almost 2 days now and have not lost my vibration at all, even after aggressively rebooting the phone several times. I'm pretty confident that this is the fix, but as I said, it's still in testing.
Remember to take a nandroid backup before flashing just in case something goes wrong. Then simply flash the new kernel without wiping anything and reboot the phone. You can verify that you are running the new kernel by going to Settings -> About Phone and check that you are running kernel dated Jan. 8, 2014.
DO NOT FLASH THIS ON MY OTHER ROMS. DOING SO MAY GET YOU INTO A BOOTLOOP. NEW KERNEL RELEASES FOR ALL ROMS ARE PLANNED WITHIN THE NEXT WEEK.
boot-ONLY-VIBFIX-cm10.2-20140108.zip (5.8MB)
Thanks for the kernel! I've been running the rom for about 24 hours now with no issues at all
Sent from my SGH-I757M using xda app-developers app
Any and All Video files cause the app to crash stating : "unfortuantely _______ has stopped working" .
Anyone else having this issue? Or ideas to resolve?
oa12 said:
Any and All Video files cause the app to crash stating : "unfortuantely _______ has stopped working" .
Anyone else having this issue? Or ideas to resolve?
Click to expand...
Click to collapse
Which app? The gallery or video player, or both?
Sent from my SGH-I757M using XDA Premium 4 mobile app
titanic_fanatic said:
Which app? The gallery or video player, or both?
Sent from my SGH-I757M using XDA Premium 4 mobile app
Click to expand...
Click to collapse
YouTube . Google Movies . videos in Browser or Chrome . Gallery can playback recorded videos.
oa12 said:
YouTube . Google Movies . videos in Browser or Chrome . Gallery can playback recorded videos.
Click to expand...
Click to collapse
Cheers, I'll run some tests to see what I can find. Also, a logcat would be helpful. Check out the second post as I have instructions posted on how to take a logcat. You can send that to my email [email protected] and I'll be able to see what's happening on your phone that might be different from mine.
Sent from my SGH-I757M using XDA Premium 4 mobile app
My first bug to report is that my performance settings will not stick after I reboot, I have set on boot checked but it keeps reverting back and memory settings do the same. :banghead: I haven't however had the video player player problem.
Sent from my SGH-I757M using xda app-developers app
B.Moreira said:
My first bug to report is that my performance settings will not stick after I reboot, I have set on boot checked but it keeps reverting back and memory settings do the same. :banghead: I haven't however had the video player player problem.
Sent from my SGH-I757M using xda app-developers app
Click to expand...
Click to collapse
This is most likely due to my "port" of the these settings. I will look into this
Sent from my SGH-I757M using XDA Premium 4 mobile app
B.Moreira said:
My first bug to report is that my performance settings will not stick after I reboot, I have set on boot checked but it keeps reverting back and memory settings do the same. :banghead: I haven't however had the video player player problem.
Sent from my SGH-I757M using xda app-developers app
Click to expand...
Click to collapse
Please try this new Settings.apk. I see very clearly I forgot to import the boot receiver code which is why it doesn't work, sorry :-\
This is a flashable zip, and remember to take a nandroid just in-case something goes wrong. It will replace your current settings.apk and set the correct perms.
SETTINGSFIX-cm10.2-20140108.zip(6.5MB){/B]
Thanks for your feedback
QUOTE=titanic_fanatic;49477936]Please try this new Settings.apk. I see very clearly I forgot to import the bootver code which is why it doesn't work, sorry is a flashable zip, and remember to take a nandroid just in-case something goes wrong. It will replace your current settings.apk and set the correct
The new settings fix works for me and is appreciated!
As for my video playback problem, I kept wiping for new Rom via the touch cwm and realizedit was not formatting /system . I formatted this manually and the video playback was fixed. My guess mismatch in app data and rom id between
ROM INSTALLS.
Wrote this ntvia phone. Excuse the keypad issues im having .

Categories

Resources