yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] sendust7:
Solving Gallery Jitter

In my case, rotation in any direction is very smooth… But after rotating the first picture, I get some jitter when scrolling through images. Closing and re-launching Gallery solves the problem until I rotate an image.

But I tried the following solution and it worked:

Download Emerson Pinter’s CM10.1 for Atrix: cm-10.1-20130211-UNOFFICIAL-epinter-olympus.zip from: http://www.linuxmobile.org/atrix/cm10-1 and save zip to phone storage.

Using a good file explorer (recommend Root Explorer), open CM10.1 zip and extract /system/app/Gallery2.apk to explorer's temp directory.

Navigate to /system/app and remount as read-write by tapping the “Mount R/W” button at top right.

Under /system/app, navigate to Gallery2.apk, long-press and rename to Gallery2.apk.bak. This saves the original Gallery2 for later use if necessary.

Move the CM10.1 version of Gallery2.apk from the temp directory in step 1 to /system/app

Remount /system/app as read-only by tapping “Mount R/O” button at upper right.

Launch Gallery and test

Caution: If you wipe Gallery data, you lose all data associated with Gallery --- and I think this includes pictures.

​
[Atrix 4G Android Development] sendust7:
New! Fast Superuser (08 May 2013)

Here is Fast Superuser based on Chainfire’s latest (free) version of SuperSU (v1.25, March 2013):

Link (1MB): http://www.mediafire.com/?dg5hh68l5rg5559

Simply CWM-flash, reboot and enjoy an even faster SuperLite for your Atrix 4g!

Root apps like the popular ones shown below launch much faster than with SuperLite’s stock Superuser --- and they may be less prone to force close. Better security too, I think.

ROM Manager

Titanium Backup

Root Explorer

Terminal Emulator

SManager (Script Manager)

SetCPU

ADB (Android Debug Bridge)

It is important to note here that the SuperSU app found on Google Play is actually a superuser

management

app, in contrast to the “su” binary which is the

engine

. Thus the latter is necessary to achieve superuser on a rooted device. My flashable zip includes both SuperSU and the su binary.

Also, my flashable zip is unique in that the script command code invokes regular expressions (pattern recognition) to find and remove any existing versions of Superuser and related files from the /system, /cache, /data and /preinstall partitions prior to flashing the new, more efficient Superuser.apk and su binaries:

#!/system/bin/sh

# Find and remove all instances of superuser in ROM
# sendust7 @ xda-developers

MOUNT_DEVICE=$1
MOUNT_POINT=$2

if [ -d "${MOUNT_POINT}" ]
then
echo "Directory: ${MOUNT_POINT} exists (OK)"
else
mkdir ${MOUNT_POINT}
fi

mount -t ext4 ${MOUNT_DEVICE} ${MOUNT_POINT}

/sbin/busybox find ${MOUNT_POINT} -name su -exec rm {} \;
/sbin/busybox find ${MOUNT_POINT} -name *[Ss][Uu]per[Ss][Uu]* -exec rm -r {} \;
/sbin/busybox find ${MOUNT_POINT} -name *[Ss][Uu]per[Uu][Ss]* -exec rm -r {} \;

umount ${MOUNT_POINT}

Fast Superuser is a good candidate for my next version of SuperLite.

And Chainfire offers a “no-nag” version of SuperSU which disables the “please upgrade” prompt. He simply requests that ROM developers include a minor advertisement in the ROM description, e.g. "Powered by SuperSU" or "Please support SuperSU" :)

Enjoy :D

Standard disclaimers apply.

Kudos to Chainfire. http://www.chainfire.eu/
[Atrix 4G Android Development] atrix4g18:
This should work with any ROM, correct?
[Atrix 4G Android Development] sendust7:
The one thing it does not do is remove any pre-existing "su" binaries in hidden directories related to OTA updates.

But that is not a consideration for SuperLite ;) (Why try removing something that isn't there?)

That said, feel free to try it on other ROMs, though I would research the matter first, e.g. http://xdaforums.com/showthread.php?t=1431341
[Atrix 4G Android Development] ravilov:
Great work! I just have a few quick observations if you don't mind. :)

You're not actually using regular expressions but rather shell globbing patterns. Small and subtle but sometimes important difference. ;)

I would quote the patterns if I were you, to protect them from unwanted early expansion by the shell.

Many versions of find support the -iname argument for case-insensitive matching. That could be more efficient than complicated patterns? Just an idea.

As always, keep up the good work!
[Atrix 4G Android Development] sendust7:
Hi ravilov, thanks for ideas and encouragement :)

It looks like CWM's busybox find command includes the "-iname" action, among others. I will consider them for my next version.

C:\Program Files\Android\android-sdk\platform-tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # /sbin/busybox find --help
/sbin/busybox find --help
BusyBox v1.19.1-cm71 static (2011-09-01 03:30 +0200) multi-call binary.

Usage: find [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

-follow Follow symlinks
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
actions to command line arguments only
-mindepth N Don't act on first N levels
-depth Act on directory *after* traversing it

Actions:
( ACTIONS ) Group actions for -o / -a
! ACT Invert ACT's success/failure
ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2
ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2
Note: -a has higher priority than -o
-name PATTERN Match file name (w/o directory name) to PATTERN
[COLOR="Blue"] -iname PATTERN Case insensitive -name
[/COLOR] -path PATTERN Match path to PATTERN
-ipath PATTERN Case insensitive -path
[COLOR="Blue"] -regex PATTERN Match path to regex PATTERN
[/COLOR] -type X File type is X (one of: f,d,l,b,c,...)
-perm MASK At least one mask bit (+MASK), all bits (-MASK),
or exactly MASK bits are set in file's mode
-mtime DAYS mtime is greater than (+N), less than (-N),
or exactly N days in the past
-mmin MINS mtime is greater than (+N), less than (-N),
or exactly N minutes in the past
-newer FILE mtime is more recent than FILE's
-user NAME/ID File is owned by given user
-group NAME/ID File is owned by given group
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-prune If current file is directory, don't descend into it
If none of the following actions is specified, -print is assumed
-print Print file name
-print0 Print file name, NUL terminated
-exec CMD ARG ; Run CMD with all instances of {} replaced by
file name. Fails if CMD exits with nonzero

~ #
[Atrix 4G Android Development] spasi:
Hello, I am using this android with this kernel version 2.6.32.60-MB860-CM10-g7cb3b49 epinter@s1 #3 and i cant connect flash disk (usb) or external keyboard by OTG cable. this kernel does not support the connected device?
[Atrix 4G Android Development] sendust7:
OTG for SuperLite?

Actually OTG is on my original list of things not working :o But it does appear to work on epinter CM10…

http://xdaforums.com/showthread.php?p=31562018

So I would Nandroid backup (if necessary), then flash epinter CM10 and try OTG again. If it still doesn’t work, there may be a problem with your setup. If it does work, and you were using epinter’s CM10 kernel to boot SuperLite, then the OTG fix for SuperLite may not be very difficult ;)

[EDIT] I've been very busy at work lately. But I enjoy working SuperLite and hope to be back on it soon :)
[Atrix 4G Android Development] ga_santos:
This ROM works on Atrix MB860?
[Atrix 4G Android Development] sendust7:
Screenshot: SuperLite Running on MB860

Here's a screenshot of my Atrix MB860 running SuperLite CM10 4.1.2 ... ;)
[Atrix 4G Android Development] ga_santos:
Thanks, is that my friend who has an Atrix, and he asked me to install a rom for it .. I have only one Xperia S
[Atrix 4G Android Development] aaurnab:
This thread for Motorola Atrix 4G MB860, so never confused :eek:
[Atrix 4G Android Development] ga_santos:
in Brazil, the new phones compatible with 4G internet, has the "4G" in the name of the phone, so I was confused, and as the Atrix is a bit older, I thought this was a new cell phone .. And as I said, the phone is not mine but a friend.
[Atrix 4G Android Development] j.v.fouts:
I love this rom on the Atrix, it brought new life to it and if i ever need a back up i have this phone to use again.

Only one issue i have is the battery will no longer charge to 100%, idk what happened from MROM to the install of this one, but if any one can help its appreciated, i reset battstats in recovery with it not helping at all.
[Atrix 4G Android Development] ianseer:
Already tried... this rom is very good... stable, no screen jittering :) really.... love this rom thanks:good:
[Atrix 4G Android Development] sendust7:
Hi...

Try clearing the /cache partition in recovery and rebooting.

And here's a good, lightweight battery monitor: https://play.google.com/store/apps/details?id=com.macropinch.pearl
[Atrix 4G Android Development] jhonnyx:
Dear Sendust, is it possible to use the latest kernel with this phone? I'm trying to port the zImage into a ramdisk from CM10 but no luck. Can you please guide me to see what I'm doing wrong?

Thanks in advance
[Atrix 4G Android Development] atrix4g18:
I have a CM10 kernel if you want it. It won't work with this ROM though.
[Atrix 4G Android Development] jhonnyx:
PM Mode on.
[Atrix 4G Android Development] sendust7:
Typically the kernel, ramdisk, framework, libs etc all undergo changes for a major release like CM10.1. Thus, back-porting the CM 10.1 boot image (kernel + ramdisk) to CM10 SuperLite would require changes to framework, libs etc to make these compatible with CM 10.1.

In fact I researched this last April by doing an Araxis Merge folder/file comparison between SuperLite /system and epinter 10.1 /system. The differences were massive: http://www.mediafire.com/?d7ncmqy7oonse3s.

So if SuperLite does not boot with latest CM10.1 boot image, I would be inclined to integrate Boot-TIme Auto SuperLog: http://xdaforums.com/showthread.php?t=2232502 into CM10.1 ramdisk, flash the modified boot image, reboot and use log results to determine if and where the system hangs up.
[Atrix 4G Android Development] atrix4g18:
I am currently uploading a CM10 that works with the new kernel. I will also post a flashable zip of the latest kernel.

Are you able to take a boot.img extract the zImage then take a different boot.img and extract the ramdisk and then put the zImage and ramdisk together?
[Atrix 4G Android Development] jhonnyx:
Yes, I can do that. In fact; thats what I did with the latest kernel released, just to test some stuff.

---------- Post added at 09:35 PM ---------- Previous post was at 09:32 PM ----------

Dear Sendust:

I'd like to ask the following:

1 - the comparision you made was between githubs or between the FS of the zip images?

2 - actually; what matters for a kernel AFAIK are: zImage and Ramdisk. Framework goes with the rom. So, If I compile a CM10.... oh wait.... I actually should compile a CM10 (not cm10.1) with the current kernel, once zipimage is done, extract boot.img, do the zImage+ramdisk surgery then test it! it should work! (not actually a question, sorry!)
[Atrix 4G Android Development] atrix4g18:
ROM: http://www.gdriveurl.com/?idl=313740212393&out=1

Kernel: http://www.gdriveurl.com/?idl=913740214280&out=1

Flash the ROM then flash the kernel.
[Atrix 4G Android Development] jhonnyx:
Ok, I'll do the frankestein move ;). I'll post back if it boots with the Sendust's work
[Atrix 4G Android Development] atrix4g18:
Okay, I hope this doesn't confuse you too much:

Above I have posted the ROM and Kernel. That kernel zip works fine, however there is a newer one.

Unfortunately the new one is only for CM10.1, but here is how that will change:

Download this file "Kernel-Stuff.zip" here: http://www.gdriveurl.com/?idl=413740218374&out=1

Extract the contents of the zip file.

Go to the CM10.1 folder

Extract the zImage from the boot.img inside the CM10.1 folder

Now go to the CM10 folder

Extract the ramdisk from the boot.img inside the CM10 folder

Now use the zImage from the CM10.1 and the ramdisk from the CM10 and make a new boot.img

Finally, send me the boot.img you have created

If all goes well I will post an updated kernel zip 5 minutes later.
[Atrix 4G Android Development] jhonnyx:
That was exactly what I was doing ;)

I think we should create a group to learn about this tidbits we learn little by little in the search of a better kernel compilation, haha
[Atrix 4G Android Development] atrix4g18:
Where are you stuck? If only I had my Ubuntu machine..

Be specific if you can
[Atrix 4G Android Development] jhonnyx:
I'm not stuck atm

I'm doing a little test before trying what you've suggested ;)

I'm getting the ramdisk and stuff from your CM10 image merged with a late compilation of a CM9 kernel from a time ago.
[Atrix 4G Android Development] atrix4g18:
I have absolutely no idea what you mean by that. Good luck though.
[Atrix 4G Android Development] sendust7:
Guys, can you start another thread or do PM? This thread is about SuperLite.

Thanks :)

sendust7
[Atrix 4G Android Development] jhonnyx:
Dear Sendust, will do. Sorry for the inconveinence. If we get the kernel working for your work, can we publish it here?
[Atrix 4G Android Development] atrix4g18:
Yeah we will switch to pm. Can you make a superlite out of the CM10 I posted? I think you build from source but can you still replace files etc while keeping the new kernel related stuff the same?
[Atrix 4G Android Development] sendust7:
I'll see what I can do :) I'm kind of busy this week.
[Atrix 4G Android Development] patolin_01:
Hello

I just installed this firmware and its great! My atrix works just like new

I just have one question. Does anybody have the wifi thetering working? I cant enable on mine.
[Atrix 4G Android Development] teerypark:
sensational rom!

Had issues with poor battery life - removed holo locker and now all good....?

Anyway no apparentl loss of features on lock screen

Only "complaint" is google play and My Tracks often lockup/unresponsive.

previously neutrino rom but had issues with youtube and other apps for android 4+ only not working
[Atrix 4G Android Development] trujap:
Hi,

I was wondering if this ROM works with the laptop dock?

thanks
[Atrix 4G Android Development] CyberpunkShadow:
It's CM based...
[Atrix 4G Android Development] jman316:
does the camera work?

can i flash without wiping?
[Atrix 4G Android Development] andresrivas:
1) Not sure what you are asking here, but AFAIK, this rom can take pictures

2) only in two cases: when you are upgrading the same rom or want to have a LOT of troubles
[Atrix 4G Android Development] jman316:
how light is this compared to other CM10 , 4.1's?
[Atrix 4G Android Development] palmbeach05:
Typically trying a ROM out will not cause aliens to invade and destroy the Earth, so why not give it a shot instead of asking questions?
[Atrix 4G Android Development] andresrivas:
Mine dropped a few pounds, we are getting ready for the summer here! :)

Read the first post. The things that list as removed should get you an idea
[Atrix 4G Android Development] Tushcool:
Currently on Cyanogen 2.3.7 rooted. Bought cell from friend which has written Singapore ver. Not AtnT , Bootloader is unlocked , My que is i want to install this rom. But does not want issue of sim relocking.. will this happen ?
[Atrix 4G Android Development] palmbeach05:
Read this thread. Sim relocking was already covered. running a search would have given you the answer it took me less than 5 mins to find.

http://xdaforums.com/showthread.php?t=1920408

---------- Post added at 12:39 PM ---------- Previous post was at 12:37 PM ----------

damn, that is one fine Atrix 4G on CM10 ;)
[Atrix 4G Android Development] jman316:
How's the battery life guys?
[Atrix 4G Android Development] andresrivas:
When i tried, it was the same as cm10.1, nearly 15 hours of sift ussage, less than 9 with medium

[MENTION=4895937]palmbeach05[/MENTION] Yeah, now is time to put those abs to work hehe

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] jman316:
I use maps/navigation a lot so does this work ok in superlite?
[Atrix 4G Android Development] palmbeach05:
to ask this question, it means you did not do the other big thing ppl keep forgetting. READING! go to post #8 and follow the link to see the difference between this version and epinter's version. actually look at the chart and you will see why this is called superlite. but in case you choose not to do the work i just advised, superlite = stripped down version of epinter's, few tweaks to improve performance. so with that said, no issues with maps.
[Atrix 4G Android Development] sendust7:
Status

Hi all,

My Atrix finally broke after lasting almost two years --- even after being used as a development platform on many different projects since the beginning of 2012. A few months ago I complained to my 11 year-old daughter that my screen was acting up and she said “Dad, it’s because you’re always rebooting.”

So now my primary device is a Galaxy S4. But after attempting to develop on it and on several other platforms, my favorite is still the Atrix: It is simply one of the most capable, developer-friendly and affordable devices available today.

Thanks for all your helpful feedback on SuperLite! I hope to resume support for this project and/or others once I acquire another Atrix 

Merry Christmas and Happy New Year :D

---sendust7
[Atrix 4G Android Development] jman316:
Which chart are you referring too? :confused:
[Atrix 4G Android Development] andresrivas:
Go read the damn #8 post. the chart is there :)
[Atrix 4G Android Development] jman316:
Ok. I will..:)
[Atrix 4G Android Development] jman316:
Loving superlite :)
[Atrix 4G Android Development] jman316:
So first hurdle... I can't get my Google calendar to sync.. everything else is fine.
[Atrix 4G Android Development] andresrivas:
I assume you installed that addon

Hit the damn thanks button instead!

Enviado desde mi MB860
[Atrix 4G Android Development] KCKitsune:
I tried to look at the chart for the changes from EPinter's ROM and I saw that bluetooth was one change, but I don't really know how to read that file. Does BT audio work? The reason I'm asking I use BT for my car's Sync system and I don't want to lose that. I'm right now on Paranoid Android 2.99.
[Atrix 4G Android Development] palmbeach05:
Woohoo! Another person who can't read! I love it. Post 1 containing the link to epinter's CM10. I'll be nice and not lay onto you like i did on the last page.
[Atrix 4G Android Development] KCKitsune:
Excuse me pal! :rolleyes:

I did read the fragging post #8, and I even downloaded the html file to read it, so back the frak up!

The problem is that I had problems UNDERSTANDING the comparison!
[Atrix 4G Android Development] palmbeach05:
Normal CM10 vs Superlite CM10

Fully loaded vs Bare minimum

Post #1

Not Working / Not Available:

Quote:

Themes

NFC

P2P Supplicant

OTG (USB hosting)

Playready

Vibetonz

mDNIe

ROM updates (for now)

CM10 Atrix-specific (see http://www.linuxmobile.org/ ) <------Link refered to in my post from about 2 hrs ago (should really be http://www.linuxmobile.org/atrix/atrix)

Others I am not aware of

List from Epinter's site

Known to be working:

Calls

Vibration

Audio (notifications, calls, ringtones, alarm, ...)

Wifi

GPS

Bluetooth

Mobile Network

Browser (rotation works)

Music

Gmail

Camera

Button lights

Facelock (with correct gapps)

Dock Audio

Wireless Tethering

many things working...

To further clairify things by doing the research, SuperLite is based off of Epinter's CM10. So we go to that thread and we get this

http://xdaforums.com/showthread.php?t=1781970&page=581

Specifically paying attention to post 5804 by andresrivas
[Atrix 4G Android Development] KCKitsune:
I saw that post, but I also saw that in post #8 there was mention of changes as compared to EPinter's CM10.1.

THAT is the reason I asked. I'm not trying to be an idiot and get the answers without doing some research.
[Atrix 4G Android Development] jman316:
Of course.. But when I select "Calenders to sync" none are displayed..
[Atrix 4G Android Development] jman316:
Also...erm what?
[Atrix 4G Android Development] jman316:
Anyone else having sync and calender sync issues?
[Atrix 4G Android Development] MikePysh:
I just flashed this last night and it is ruling so far. The only problem I've come across is google+ will not display my photos. Says "unfortunately google+ has stopped". Only when I try to view photos in g+ or the photos app. Anyone else having this issue?
[Atrix 4G Android Development] ravilov:
http://xdaforums.com/showpost.php?p=48165015&postcount=3
[Atrix 4G Android Development] qipengart:
This ROM bricked my phone on the CMW 4.0.1.2(?). So I am wondering what went wrong.
[Atrix 4G Android Development] schwarzlichtkind:
A ****load of things can go wrong - read the disclaimer...?

Informations are the key. Something went wrong? What? Brick? Soft? Hard?:confused:

Gesendet von meinem MB860 mit Tapatalk 2
[Atrix 4G Android Development] palmbeach05:
update your recovery
[Atrix 4G Android Development] jt41time:
I'm stupid right now and do not remember how to put a new ROM on this phone. It has been a long time since I rommed a phone. Can someone step by step me through this. Just got this phone from my folks and I want to see how much better it is then what I have..... Plz. Thank you. Please don't beat me up on this one.....
[Atrix 4G Android Development] palmbeach05:
I can't search for instructions on how to flash a rom, even if its not stated in this rom thread.
[Atrix 4G Android Development] jman316:
Will this be updated anytime soon? or do we head elsewhere now? :)
[Atrix 4G Android Development] palmbeach05:
CM10 is not getting any updates. CM10.1 is the version you want until we get 10.2 a bit more stable
[Atrix 4G Android Development] jman316:
Cool..thank you :)
[Atrix 4G Android Development] leboreiro:
im having Fcs on espanish (spain) keyboard .. i flashed both new zip keyboard files

Theme: http://www.mediafire.com/?a0a2vq134hu1aok

Keyboard: http://www.mediafire.com/?jjdd7io6jssn4ue

but they seem not to work .. what do im doing wrong?
[Atrix 4G Android Development] Killerin:
i dont know why ppl still having trouble with stock keyboards existing some cool keyboards in the store as swiftkey lol
[Atrix 4G Android Development] palmbeach05:
Perhaps they don't want keyboards like swiftkey?
[Atrix 4G Android Development] Burllz:
Poor batery life.. can i fix this?
[Atrix 4G Android Development] sendust7:
SuperLite NFC (Near Field Communication) and Battery Life

Please read my OP if you have not done so already. Please also read my follow-up post #76: SuperLite NFC (Near Field Communication) and Battery Life.

http://xdaforums.com/showthread.php?p=40480634#post40480634

Other mainstream solutions include, but are not limited to:

Reboot to recovery and wipe /cache partition (if battery monitor shows incomplete charge). This however does not increase battery life

Reduce display brightness and/or timeout

Increase wireless signal strength --- battery drain can occur when phone's radio tries to bind with weak signal

Turn off wireless, GPS and/or bluetooth when not in use

Disable email sync/data push or increase the time interval between sync

Hope this helps :)
[Atrix 4G Android Development] Burllz:
Everyone know this basic thing about battery life! Im talking for rom side problems here. Its charging too quickly and its draining quickly (its not cuz of my charger or the battery) also phone start reboting for no reason and some time can not switch wifi on.. im not playing with my phone all day but if i do im sure im going to find more problems... swiching back to avatar ... i dont want to ofend you dont get me wrong im just sharing my expiriance with the rom.

btw, i like the wallpaper :P can you give me download link?
[Atrix 4G Android Development] andresrivas:
Hum...

Usually, fast charge/discharge cycles usually means 2 things: either the battery is crap or battery is dying.

Enviado desde mi MB860 usando Tapatalk 2