yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Accessories] jimsey:
As the title says, I need a case for my new note.

I want to transfer my powermat charging mod which i made for my s2 to my note.

The mod requires a case with both a soft and hard shell so I can cut the soft shell for the inductive charging coil, then put the hard shell over the mod. I've scoured Ebay and Amazon, but can't find anything suitable, has anyone seen one?
[Galaxy Note GT-N7000 Accessories] zkyevolved:
So far there are very very few.

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

This is the thread to watch since it's about that: hybrid cases.
[Nook Touch Android Development] Googie2149:
(I'm terrible at making my posts make sense, so just ask if you're confused with anything I say in here. Sometimes I even confuse myself!)

I was looking through the framework-res.apk and noticed that in the assets folder there's a folder named nookcol_512 with some Nook Color related images, and another folder named gossamer that looks like the booting screen for the NST. I've been comparing the framework-res.apk to one I got from a 2.1 AVD, and the two folders aren't there in the AVD's framework.

I edited the files in the gossamer folder, and they changed the booting screen!

I was wondering if it's possible to change some of the non-image files in the framework-res.apk and change the way some things function.
[Nook Touch Android Development] notriddle:
Can be and has been done. That's how XorZone's mod works.
[Nook Touch Android Development] Renate:
I've modified the files in assets/images/gossamer

I deleted the entire assets/images/nookcol_512

assets/sounds could probably go too
[Nook Touch Android Development] Googie2149:
How would I edit the xml files? Use notepad or something? Or is there a specific program I need?
[Nook Touch Android Development] ApokrifX:
eclipse | xml spy | MS visual studio.

Any of the three will be quite overkill for a simple XML editor... :o
[Nook Touch Android Development] brendan10211:
Would you replace the framework-res.apk with your own? How would you do that?
[Nook Touch Android Development] Googie2149:
You should be able to replace it with ADB, but that always got me stuck in boot loops, so eded333 made a zip that you run via CWM Recovery that replaces the framework. You can pull the framework from your nook onto the computer with this command with ADB:

adb pull /system/framework/framework-res.apk
[Nook Touch Android Development] Renate:
I've never had a problem (knock on wood) with ADB push replacing framework-res.apk

I usually just push it and then immediately do an ADB reboot.
[Nook Touch Android Development] Googie2149:
When I push it, it immediately reboots and gets stuck in a boot loop.

Someone feel like helping in messing with the xml's? These things are confusing, so much referencing to other things...
[Nook Touch Android Development] brendan10211:
I have the same problem as Googie, yet I know absolutely nothing about anything.
[Nook Touch Android Development] marspeople:
While I was messing with framework-res, I've had bootloops issues too when replacing the file.

The solution I've found is to replace while android is not running, i.e., with CWM update.zip feature. Just replace the framework-res.apk inside this zip with yours and apply "custom zip" via CWM.
[Nook Touch Android Development] brendan10211:
That seems like a good idea, but I can't seem to even boot into CWM. I followed the steps on the CWM post, but they are really vague. Can someone tell me what they did?

Oh, another thing, how do I get that zip that eded33 made? I saw it mentioned way up there, but I don't see a download link or anything.
[Nook Touch Android Development] Renate:
As long as you're messing with framework-res.apk you might as well fix the list divider.

It was speced at 600 wide because they never thought of landscape.

If you have any lists in landscape the dividers will not extend the full length.

This goes in res/drawable-mdpi/divider_horizontal_bright.png

Oh, dear. I have to put it in a zip or the forums here will try to turn it into a JPEG.
[Nook Touch Android Development] brendan10211:
When you say custom zip do you mean install zip from SD card? Because that did not work for me.
[Nook Touch Android Development] marspeople:
Yes, "choose zip from SD card" or something similar. Did you notice output messasges from the script and if it showed any errors?
[Nook Touch Android Development] brendan10211:
I will now type exactly what happened in CWM.

-- Installing: /sdcard/framework-update.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.

What?
[Nook Touch Android Development] marspeople:
That is weird. I've just tested here and it went normally. Are you running CWM from SD Card or via recovery mode?
[Nook Touch Android Development] brendan10211:
From the SD card, I have no idea what recovery mode is... :D
[Nook Touch Android Development] Unrealwolf:
Hey guys. Can someone help me out? When i change framework-res.apk to edited (decompiled-edited-compiled-signed with apk-multi-tool), the whole Android permission thing is falling apart and i lose the ability to launch most apps - only preinstalled Nook system ones are continuing to work. I've tried CWM fix permissions and manual ch... commands, nothing changes, logcat is full of errors like

What am i to do? I REALLY do want to make changes in framework (built-in png and strings Russian localisation), but this thing is stronger than me.
[Nook Touch Android Development] brendan10211:
How did you replace it?
[Nook Touch Android Development] Unrealwolf:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system/

adb shell rm /system/framework/framework-res.apk

adb push framework-res.apk /system/framework/

adb reboot

i've also tried to fix permissions after push

adb shell chown root.root /system/framework/*

adb shell chmod 644 /system/framework/*

adb shell rm -R /data/dalvik-cache/*

but it didn't fix this. And, i guess, it couldn't 've fixed this, since i found out that the problem is in /data/system/packages.xml : apps don't have any permissions there (and they should). I've tried to delete it (hoping that Android will recreate the proper version), but it've only resulted in bootloop (which didn't allow me to adb, so i had to restore from backup image).

Maybe, it's not the replacing i'm doing wrong, but decompiling-compiling? Is there a properly changed framework-res.apk to try out?

upd: tried to get proper packages.xml and then edit corrupted one so it would match the original and revrite, tut it still gives me the boot-loop.
[Nook Touch Android Development] Googie2149:
Try replacing the framework-res.apk with this zip with CWR
[Nook Touch Android Development] Renate:
chmod on framework-res.apk shouldn't matter than much, it is on a read-only mount.

You can snarf a clean framework-res.apk out of the 1.12 update.

There's not much in this apk to get screwed up. Still the round trip on XMLs could be doing something.

I'd try a simple unpack/pack with a few new graphics.

Signatures are not important if you are whacking it in and not "installing" it.
[Nook Touch Android Development] Unrealwolf:
I've tried that, it didn't help.

Thanks. I've added graphics in original APK without decompiling and it works OK. So, now i know source of my problem. I still need to change some text in strings, so, i guess, i'll keep digging into it.

Hmmmph. I suppose, compiling apk with changed strings, taking resources.arsc from it and overwriting resources.arsc in original apk won't work?.. That would be too easy, right?

Didn't work. Who would've guessed.
[Nook Touch Android Development] ApokrifX:
Interesting... Very beginner question then:

Do you mean, if we have 2 apk configured run as same user and signed with same key (for example: Home + Library)

I can copy over (not install) another Library.apk (signed with different key) existing one AND it’ll still run as sane user (i.e. share stuff with Home.apk) :confused:
[Nook Touch Android Development] Renate:
That's a good question, ApokrifX.

There certainly doesn't seem to be any problem with framework-res.apk

Signatures and other nonsense are used for installing.

Shared users are noted in /data/system/packages.xml, userId="10000" (or anything else).

I just changed an app of mine to be run as the same user as the B&N stuff.
[Nook Touch Android Development] Unrealwolf:
It seems like i've defeated it, guys!

The right solution for me was the next sequence of actions:

1. set apk compression level in Apk Multi Tool to 0

2. Decompile framework-res.apk

3. Change resources

4. Compile apk ("is this a system apk" - y; "do you need to do second thing" - n)

5. Open original apk and new unsigned apk with 7zip.

5. Move drawable-mdpi (images) and resources.arsc from new unsigned to original framework-res.apk

6. push changed original to the device through adb

All apps are working now, whhooh.
[Nook Touch Android Development] Renate:
Since I only change graphics:

Unzip framework-res.apk

Copy new graphics into the directory

Zip framework-res.apk

If I were going to change XML or strings I'd probably still prefer to extract them individually.
[Nook Touch Android Development] brendan10211:
How do you get the new framework on to the nook without android running?
[Nook Touch Android Development] Renate:
I just do it quickly and carefully while the Nook is running.

adb shell mount -o rw,remount /dev/block/mmcblk0p5 /system
adb push framework-res.apk /system/framework/
adb shell chmod 644 /system/framework/framework-res.apk
adb reboot

Ouch, I just realized that some folks are deleting framework-res.apk!

Don't do that! Just copy it over.
[Nook Touch Android Development] brendan10211:
Are there any special programs that need to be installed to do this? Also, what is chmod?
[Nook Touch Android Development] Renate:
ADB is just the Android Debug Bridge, the link to get things done on the Nook.

You get it when you install the Android SDK.

(I had to look up the acronym even though I must type "adb" a hundred times a day!)

chmod just changes the permissions on the file.

It's part of the toolbox installed in /system/bin.

Using chmod is more cosmetic than anything else.

Framework-res.apk is already in a read-only mount.

When you copy the file in it already has more relaxed permissions.
[Nook Touch Android Development] brendan10211:
Thanks! Now to back up and replace an image :D
[Nook Touch Android Development] Googie2149:
I noticed with the XMLs, if I just extracted them without apktool, they were meaningless and weren't even in the correct format to allow me to edit them.
[Nook Touch Android Development] Renate:
Yes, that is the dreaded "Binary XML format".

As far as I know it is undocumented.

People who have written tools have just hacked it.

It's basically a binary format so you don't have to parse the XML.
[Nook Touch Android Development] ApokrifX:
Aha. That’s the right way to run my apps as shared user with not-mine packages.

You are the man! :)

Could you suggest an easy way to automate shared user patching in /data/system/packages.xml after installing packages?

Assuming, NST is rooted + busybox is installed already.

Basically the same question we discussed before - how to make installation as simple as possible for the "end users".
[Nook Touch Android Development] Unrealwolf:
Hmmm, that's strange. I've found a string in framework-res.apk that ignore changes:

It's the page indicator in lists, you could see it everywhere. I change its values to Russian, but everywhere on the Nook it's still in English. I also can't find a resource for charger-connected events (it shows a battery and percents when you plug-unplug charger). Could there be another apk that gives string resources to the system?
[Nook Touch Android Development] Renate:
@Unrealwolf:

I don't know where you are seeing "Page 1 of 99".

At the bottom of the book you're reading it says just "1 of 99".

That "of" is in the code (not the resources) of Reader.apk in ReaderActivity$36.

@ApokrifX:

:eek: The what? I think that I need to post an avatar.

User patching doesn't really give you a whole lot besides file permissions.

In real life you are much better going through providers to access some info.
[Nook Touch Android Development] ApokrifX:
Right!

Or I wish!

Current example - On the problem of broken bookmarks

Running in the same context (user) let my app add/remove database triggers easily (to another app database, we sharing user with)

Provider (Reader.apk) only let us change data, not metadata.

Although, it’s not clear, which approach requires less efforts from both a user and a programmer: sharing user or running su scripts…

But I think it’s very convenient still! ;)
[Nook Touch Android Development] Unrealwolf:
I'm talking apout Page X of Y in system menus, like on this screenshot.
[Nook Touch Android Development] Renate:
But clearly that is not the right string. It says "Page", the lists say "page".

You'll find "page 1 of 99" in /system/framework/framework.jar inside PageIndicatorView.

Too bad that страница is 8 characters long (and even longer in UTF-8) or else you could just do a binary hack.

You'll have to do a apktool d, apktool b.
[Nook Touch Android Development] Unrealwolf:
Unfortunately, Apk Multi Tool doesn't compile this jar correctly (it outpoots a 1kb jar with manifest and something). I've also found "Battery Charge: " in services.jar, but it doesn't compile either.
[Nook Touch Android Development] Renate:
I use apktool.

On framework.jar I get around 2.7 Megs.
[Nook Touch Android Development] Unrealwolf:
My messing with apktool went surprisingly well, both "Battery Charge: " and "Page X of Y" are showing exactly what i want now. I've also replaced latinime with russian keyboard, edited build.prop in /boot/romrestore.zip to have no need to use MoreLocale after hard reset.

Now i only need to find out where does the device take this exact timezone string (i've changed timezones xmls in framework-res.apk,and it works, but this string is taken from elsewhere) and forbid OTA updates (i'm going to give the device away in a couple of weeks (it's the biggest reason for me translating stuff - if i'd bought the device for myself, i wouldnt have bothered, english is good enough) and OTAs could broke everything).
[Nook Touch Android Development] ApokrifX:
Not that many chooses so far... :o
[Samsung Captivate Glide] aZzz.bZzz:
Could I get that? I'd really want to use built in feature, not 3rd party app.

It shows "mobile data isn't available or invalid sim" when I try to turn it on
[Samsung Captivate Glide] DanielRdzU:
Hi, I have the same problem, anybody has the solution for that?
[Samsung Captivate Glide] dudejb:
Did it work before you rooted?
[Samsung Captivate Glide] vil33:
The Rogers ROM has unlocked tethering but I'm not sure if you can use it with your provider without getting in trouble.
[Samsung Captivate Glide] gabby131:
Rogers ROM has tethering enabled, but I believe, a Rogers customer needs a data plan of at least 1GB to be able to use it.

if you are rooted and unsure if your tethering is enabled, view /system/build.prop and look for the line

ro.tether.denied

false means tethering is enabled, and vice versa

not sure for ATT Glides but you may have this too

ro.wifi.hotspotUI

0 means disabled and vice versa

Reboot if you did enable (change) those build.prop lines
[Samsung Captivate Glide] R_captivate:
I have the AT&T stock ROM rooted and it happens the same to me i look in the system folder and I find that in the AT&T ROM it said

ro.tether.denied=false

What these mean? How i can fix these?
[Samsung Captivate Glide] eddiert:
I posted how to do this. Here's the thread I think.

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

Basically if you are already rooted use titanium to remove the tethering manager package.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] liorlevy:
Hi,

is there a "patch" or an update that i can install on the galaxy ace that shown the battery percent usage - on the right side (instead of the original battery icon) ?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] gbueno6:
Hello,

If you're using a CM7 ROM, you can display it my friend (CM settings, interface, status bar tweaks, battery status style)!!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] liorlevy:
First of all thanks a lot for your replay !

where can i get the CM7 ROM ?

can you post the link ?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] madman:
56 posts in xda and still don't know cm7 roms strange things :D:D

if you don't want to show percentage in battery icon then install some small widget apps from market which enables you to show percentage as widget
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] liorlevy:
Great

found it

thanks a lot :) :) :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] gbueno6:
You can find them in development thread. There are lots of ROMs in there! Pick the one you like the best!

Regards
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] tmz83:
Hi. Is there something similar for stock firmware?

UPDATE I've found UOT kitchen. thanks
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] benna:
marker .apk's

doesnt the widgets use battery? how to disolay with NO drain????? please
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] KcLKcL:
Charge your phone while displaying it. No drain. Legit bro
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] grafenberg:
Use UOT kitchen. You can change your battery icon with almost any type...
[Samsung Epic 4G Touch] John John 615:
Is there app for I can sync my twitter contacts on my phone, thanks, please help
[Samsung Epic 4G Touch] J3ff:
http://bit.ly/wEpIUM

Maybe if you try correct grammar and a few details, you'll do better.
[Samsung Epic 4G Touch] John John 615:
Lol haha my fault, I need a app for I can sync my contacts with my twitter for galaxy s2
[Samsung Epic 4G Touch] ÜBER™:
Lol mods :D.

Yo puedo ver todo tu haces :eek:
[Samsung Epic 4G Touch] cidica:
LOL that just made me laugh.
[Samsung Epic 4G Touch] tkemack:
OP you should watch the XDA noob video again. Pay attention this time

Sent from my Blazing ET4G
[Samsung Epic 4G Touch] phatmanxxl:
Wow you guys are being harsh lol, that being said.....
[Samsung Epic 4G Touch] tkemack:
Hey pot.... It's kettle calling :p

Sent from my Blazing ET4G
[Samsung Epic 4G Touch] CBowley:
Epic response is epic.
[Samsung Epic 4G Touch] gpgorbosjr:
Just use the official twitter app.
[Samsung Epic 4G Touch] phatmanxxl:
That's too simple, I'm sure there's more to it than that.
[Samsung Galaxy Nexus] Cheyse:
41.875 days. Just rebooted for the first time after the messaging app stopped working. Haven't really had any other slow downs or anything like that. I'd consider this to be very stable.

Previously my longest uptime with my Droid Eris was about 4.1875 hours. :D
[Samsung Galaxy Nexus] Geezer Squid:
That's pretty darn good!!

With my Droid 1 and Droid Bionic I got in the habit of rebooting every day or so just because it seemed to make them run better. On my Galaxy Nexus I don't have to do that, but not because the phone's OS is so stable. What gets me is the frequent updates of roms, kernels and such. I am constantly flashing something new.

Yours has to be some sort of record - I would think.
[Samsung Galaxy Nexus] DaF1974:
Wow, I usually have an uptime of 1-2 days as I keep flashing new ROMs and kernels frequently. But it's great to see that the Galaxy is stable enough to last for 6 weeks.
[Samsung Galaxy Nexus] El Daddy:
Mine went 1017 hours. I only rebooted because I figured it needed a nap :)
[Samsung Galaxy Nexus] joshnichols189:
My friend hasn't rebooted since November 28 haha
[Samsung Galaxy Nexus] mobilehavoc:
The longest I've gone is 10 days. Not by choice it just decides its had enough and does a reboot then its fine. Its probably all the crap I have installed and what not.
[Samsung Galaxy Nexus] appel_:
Mine does the same. Think it is because of a memory leak in system_server that takes about 10 days to reach critical levels. Or it is just a coincidence.
[Samsung Galaxy Nexus] Leandros_Ger:
The Galaxy S from my girlfriend isn't rebooted since July or so. Running CM7. :rolleyes:

I have to reboot often because of flashing new things. I have ODR. :D

Gesendet von meinem Galaxy Nexus mit Tapatalk
[Samsung Galaxy Nexus] Smokeey:
I've had people tell me "My phone sucks, the apps keep crashing, I should have bought an iPhone"....long behold they hadn't turned off there phone in a year and a half. Simple reboot. Really should be in the manual some where "REBOOT ONCE IN A LIFETIME"
[Samsung Galaxy Nexus] mohdazuan:
until this time, my uptime is 44 days 6 hours 6 minutes and 3 seconds

have a screenshot but the forum don't allow me to link since i have less than 8 posts. ;)

anyway, it is a true story :D
[Samsung Galaxy Nexus] b0ris_:
Maximum 2 days for me I think. Because of freezing touch screen, randomly reboots and some days I need restart to get any connection. A really awful phone this Nexus! I hope the 4.0.4 fix these problems, if it will not... I will need to choose a different phone, this it's not reliable enough.
[Samsung Galaxy Nexus] Scottatron:
Nice troll job.
[Samsung Galaxy Nexus] baadaq:
hahahha

mine never rebooted by himself since i have him (like 1 month and a half).
[Samsung Galaxy Nexus] woohoo70:
just checked mine because i haven't rebooted in ages and its uptime is 757 hours still running great too i will see how long i can get out of it before i have to reboot
[Samsung Galaxy Nexus] joshnichols189:
My friend still hasn't rebooted since November 28.. sigh
[Samsung Galaxy Nexus] mobilehavoc:
Get a screenshot.
[Samsung Galaxy Nexus] joshnichols189:
Will do when I go home.
[Samsung Galaxy Nexus] ffix:
2 weeks for me.

Sometimes it reboots randomly when I'm sliding down the notification area.
[Samsung Galaxy Nexus] jnr21:
I'm crackflasher, so max few days when i had sgs :P

Now with nexus, i flash something almost every day.
[Samsung Galaxy Nexus] Mach3.2:
You could actually do a hot reboot and the up time will not reset.

Sent from a GSM Nexus
[Samsung Galaxy Nexus] andQlimax:
now i understand why people often have the strangest problems in the world and terrible battery life

my longest uptime ever is like 18 hours i think... :rolleyes:

before i put i t to charge in the night, i reboot the phone to avoid problems during the night (like apps keeps cpu wake or somethign similar)

"My friend hasn't rebooted since November 28" ur friend must have android 4.0.1 then.....
[Samsung Galaxy Nexus] joshnichols189:
He does.

"Long is the way, and hard, that out of hell leads up to light."
[Samsung Galaxy Nexus] stkiswr:
This is ignorant lol. Like having a Ferrari and only running 87 Oct when 93 is available. Maybe your friend enjoys having the slowest buggiest nexus that exists?
[Samsung Galaxy Nexus] msavic6:
I have noticed that after 100 hours up time the launcher will begin to redraw almost every time you open an app and return to the home screen.
[Samsung Galaxy Nexus] HinotoriBR:
My iPad 2 has rebooted only to update its software, it works just fine, has never been turned off...

Also, don't have any issues with my Galaxy Nexus, works just fine without rebooting.

This, in my oppinion, is how it is supposed to work. If you have to reboot anything in a short period of time, then this is not ok, it is a device that has not been properly programmed and is full of memory leaks and other bad behaviors.
[Samsung Galaxy Nexus] joshnichols189:
His runs just fine actually, but I'm sure he appreciates your analogy and concern.

---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------

I've seen a lot of former blackberry users just reboot daily because they got into the habit of it and feel it is necessary.
[Samsung Galaxy Nexus] SnrSuave:
163 hours so far. Basically been running since I got this replacement last week.
[Samsung Galaxy Nexus] ZeroBarrier:
My personal best so far.
[Samsung Galaxy Nexus] Cabal_:
I have yet to make it past 7 days, running completely stock Takju on a GNex from the Play Store. The biggest issue I seem to run into is that after a while, anytime I connect to wifi, it will completely freeze up the phone for 1-2 seconds while it negotiates the connection. Eventually this will devolve into a spontaneous reboot.

Pretty sure it's not supposed to work that way.