yashsingh1/xdaforums huggingface dataset:
[Off-topic] dbzfanatic:
Decrypting is a real pain in the ass, at least for me. A good way to tell if something is encrypted is if you don't see any plain-text in the save file. If you do it's probably not encrypted, maybe it just has a checksum. Decryption isn't really my specialty but I do know a bit about basic ciphers. I'm assuming most people who read this will at least know what encryption is so I don't need to explain that or how it works. Maybe someone with more decryption experience than myself can post more info but for now I'll stick to examples that don't use any real encryption, just checksums or no security. If there is encryption on the save file the easiest way is to get 2 or 3 saves that have no difference but what you're looking to change (such as gold). Just load those into your hex editor and do a file compare, you should see the areas that are different. Normally values for most things in games (stats, gold, items, etc) won't be too large. If you see a large difference then there are 1 of 2 possibilities. 1) If the chunk is somewhat large but not the entire file that's probably a checksum area. 2) If the entire file is different even though only one value changed then the encryption uses something as a seed (probably the checksum) so the encryption algorithm is the same but the output is different every time.
[Off-topic] dbzfanatic:
Code Examples​

Now most of these will be in AutoIt since it's my preferred language but I will post some code in other languages as well if I know the conversions off-hand. Most of these will be snippets (small pieces of code that do something specific).

For loop: *assuming you have an integer variable declared that's named iCount*

AutoIt

For $iCount = 1 to 6
*do something here*
Next

This loops the code 6 times, each time doing what's between "For" and Next. It also adds 1 to $iCount.

C++

for(iCount = 1, iCount = 6, iCount++){
*do something here*;
}

Same as above

While loop: *assuming you have an integer variable declared that's named iCount

AutoIt

While $iCount < 12
*do something*
WEnd

Checks if $iCount is less than 12 and if so executes

C++

While(iCount < 12){
*do something*;
}

Same as above

Do loop: *assuming you have an integer variable declared that's named iCount

Do
*do something*
Until $iCount = 48

Executes until $iCount equals 48

Open a file:

AutoIt

$fSave = FileOpen("*savegame*")

Creates a filehandle to a file that can be used with other File* functions and opens in read-only mode

C++

FILE * fFile;
fFile = fopen ("*savegame*","r");

Same as above

Read a file: *uses the filehandle created earlier*

$sFileData = FileRead($fFile)

Reads the file's contents into a variable named sFileData

Write to a file: *uses the filehadle created earlier*

FileWrite($fFile,$sData)

Writes the string $sData to the file, either appending it (adding it to the end) or replacing the file's entire contents depending on the mode used to open the file.

Open a file in binary mode: *since we're modders we'll need the hex of the file so this will help a lot*

$fFile = FileOpen("*savegame*",16)

Opens the file in binary read-only mode. The binary is represented as hex. This will give us the hex data.

Read one byte from an offset: *uses filehandle created earlier*

FileSetPos($fFile,Dec(*offset*))
$sOffsetData = FileRead($fFile,1)

Goes to the offset (converted from hex to decimal with Dec) and reads one byte. Number of bytes read can be changed by changing the "1".

Will add more as needed/as I think of them
[Off-topic] dbzfanatic:
This was quoted from a buddy of mine.
[Off-topic] dbzfanatic:
In case you guys were afraid feel free to ask any questions or make requests for examples here :) the worst that'll happen is I'll say "I don't know how to do that :/" and it'll allow someone who does know how know they need to post an example :)
[Off-topic] Kspalahyia:
Hi is this thread to mod an apk??
[Off-topic] CnC-ROCK:
cant you read the OP? 10 poster. use search button for modding apk.

@OP

this is what i have always wanted. i tried learning hex-editing on .gba modifying sites for games:p but was never able to do it. will get back at this guide after exams. Thanks :eek: no thanks button in OT forum
[Off-topic] Kspalahyia:
Just confirming... Must do this after my exams....
[Off-topic] Gogeta:
THIS program compiled successfully correctly but output is wrong ...

Can you help me??

wanna thank xda? here
[Off-topic] Kspalahyia:
Wowa I learned that thanks...
[Atrix 4G Q&A, Help & Troubleshooting] Android The Greek:
I am having issues with my ear speaker. For some reason when I flash a rom it works for 5 minutes then cuts out. I really do not want to use my loudspeaker to answer calls. It started after I flashed Neutrino 2.5p2, then I flashed CM7.2 CR and it keeps doing the same thing. Sometimes when I turn the speaker on and off it kicks on the ear speaker. Anyone have this issue before, I am prepared to replace the ear speaker, but will be disappointed if it was a software issue not a hardware issue.

I have already:

Factory Reset

Restored Roms

Cleared Cache and Div Cache

I think it might have to do with programming. The reason why is because the speaker does work for a few minutes after factory reset and rom restore. And when I turn speaker on and off it sometimes triggers the speaker to work.

Please Help me!!!!!!!:confused:
[Atrix 4G Q&A, Help & Troubleshooting] CaelanT:
Try a full wipe and flashing again:

reboot to recovery

wipe dalvik

wipe cache

reboot to fastboot

fastboot erase boot

fastboot erase system

fastboot erase userdata

fastboot erase cache

fastboot erase webtop

fastboot erase preinstall

fastboot reboot (to recovery)

flash ROM

If you are unsure about fastboot, there are several threads which will help you if you do a search in the Atrix forums.
[Atrix 4G Q&A, Help & Troubleshooting] Android The Greek:
Fastboot has to be done through command prompt right? Do you have a link to erasing all the fastboot.
[Atrix 4G Q&A, Help & Troubleshooting] Android The Greek:
The problem is internal going to try to repair first. Then replacement
[Atrix 4G Q&A, Help & Troubleshooting] robeknight:
Have you had any luck with this?

I had the same issue for the past few days and I assumed it was due to my ear speaker hardware. I ordered a new cable with those parts on it and replaced it this morning. $16 later, NO LUCK! GRRRR... So apparently it is a software problem at some level.

On the + side, my new front facing camera takes much clearer pictures now! haha.. (The camera was part of the same ribbon cable)
[Desire Q&A, Help & Troubleshooting] schhh87:
I've rooted with revolutionary and used 4ext revovery. if i want to unroot and go back to stock, delete custom revovery and s-on again, can i just use official 2.3 RUU and overwrite all ? or its not that simple?

thanks
[Desire Q&A, Help & Troubleshooting] keith456:
ruu wipes all root etc it should also remove your custom recovery as ruu reverts phone back to stock settings and software , so yes you can use 2.3 htc dev ruu to to retore you back to stock however you are much better using a 2.2 ruu as 2.3 feels more half baked then 2.2 roms .

if you want to remove su you can try gingerunroot from the market which i think just wipes su and the applicalbe binaries from your phone
[Samsung Galaxy Nexus] itch808:
Anything available?
[Samsung Galaxy Nexus] JosepiOT:
Looked briefly for one with no avail; someone laid out the framework years ago for accessing focal length for a full manual focus control, but I've yet to find anything :(
[Samsung Galaxy Nexus] klobkelosh:
Camera 360 allows you to set infinite focus.
[Samsung Galaxy Nexus] itch808:
Variable focal length control would be nice, but I'd imagine difficult.

I would imagine exposure and focus LOCK once set by touching would be doable. But I guess not? Nothing I could find has this.

Searched:

Stock 4.0

Camera360

CameraFX

Pudding Camera

Vignette

ICS Camera+

Any developers looking at doing something like this? :D
[Samsung Galaxy Nexus] dailong:
Try Camera FV-5
[HTC Amaze 4G] jcllings:
K, the phone is unlocked with custom recovery, rooted, ROMed (Energy/Sense) and put in the faux kernel released this month ( March 2012 ).

There are some apps I still can't remove. These are things I don't use at all. I don't Twitter, for example, so I don't need Twitter Widget. Thing is that I go to Settings | Applications | Manage Applications | Select All tab | Scroll to Twitter Widget

I don't get an enabled uninstall button.

Some other apps that are like this:

Facebook for HTC Sense (I use Google+)

Peep (twitter related)

People (I use Google Contacts)

Picasa Web Albums (I copy my photos to my phone instead of using Picasa)

...

Etc. etc. etc.

Hopefully this isn't too idiotic a question for a thread but my searches have revealed several possibilities and I am not sure what the deal is. The overall implication seems to be that I missed wiping something somewhere or that I need to remove some files manually, or that I need to get an app that uninstalls apps.

Question: Request advice or some idea on which way to jump first?

Jim C.
[HTC Amaze 4G] aj_2423:
You cant remove them the way u are trying to because they are system apps.. easiest way to go is to use titanium backup, pro version, which u can use to uninstall or freeze any of your apps. BUT, be careful uninstalling system apps it can lead to other issues or cause ur phone to "misbehave".. this shouldnt be a problem if u remove things like twitter, but no promises... but ya, that is ur easiest way of going about it. Let me know if u have any more questions

Sent from my NRGized Amaze...

via xda premium
[HTC Amaze 4G] glacierguy:
Purchase the app Root Explorer. Open it. Navigate to /data/app and you will have your app list. You can also navigate to /system/app and access your system apps.

Long press the apk you don't want and click uninstall or remove (whichever terminology used).

Make sure you delete the right apps though. The ROM is deodexed so you shouldn't have any issues. I removed about a dozen apps this way from Energy ROM
[HTC Amaze 4G] Keylogger_0:
Or for a free alternative, get Estrong's File Explorer, then go into settings and enable options for root users, then follow the directions as above.
[HTC Amaze 4G] aj_2423:
Jcllings, check your pm's...

Sent from my NRGized Amaze...

via xda premium
[HTC Amaze 4G] wardfan220:
What I do is remove them from the rom before I install it. I do that with a lot of the bloatware.
[HTC Amaze 4G] glacierguy:
Really? Didn't know we could do that... That would make it so much easier.
[HTC Amaze 4G] wardfan220:
Just go to the sys/app folder and delete the apk for what you want to remove, making sure you don't remove one that has a dependency. Also some roms have an app folder in the root of the zip that has "extra" apk to install, I remove a few from there as well.
[HTC Amaze 4G] glacierguy:
How do I navigate to sys/app without the ROM installed for me to use Root Explorer on? I get your theory if some ROMs have app folder in root of the zip (great nugget of info btw), but I don't get the sys/app part w/o ROM installed.
[HTC Amaze 4G] wardfan220:
Just use winzip(or something like it) and edit the zip before you flash, then in there go to the system/app. then you can reflash over what you have, with any luck you won't lose your data, or what I do is backup just my data and restore that after a rom flash. Root explorer will only work for you on the rom after it's installed, but like I said personally it's easier to remove it before flash using winzip.
[HTC Amaze 4G] glacierguy:
U are the man! Thanks bro
[HTC Amaze 4G] wardfan220:
You're welcome, glad I could help.
[HTC Amaze 4G] jcllings:
SOLVED! Thanks to all who helped

I sure do appreciate it. :-)

Copious clicking of "Thanks" button.
[HTC Amaze 4G] wardfan220:
If you need it re-opened for any reason, pm me.
[Sony Ericsson Xperia Neo, Pro] mohamedawad:
Hi there, i am new to flashing and roms but i recently tried to install CM7 on my Neo

i rooted my phone and unlocked it by fastboot ..installed CWM recovery and everything was going well untill i tried to flash CM7.2 rom and then my phone got stuck at the SE logo...and i can't even get to the recovery mode ...now my phone is useless and i need help
[Sony Ericsson Xperia Neo, Pro] Pandemic:
did you read good and do this?

HOWTO

to flash cm7 rom you have to take 3 steps (after unpacking the 7z archive)

step 1 - copy update.zip to sdcard

step 2 - flash new kernel (always use the kernel provided in CM7 / it is incompatible with stock ROM)

ON PC - run fastboot flash boot boot.img (an black window will open and will stay open untill kernel is flashed)

ON PHONE - put phone in fastboot mode (power off then press lower right key and plug usb cable) and phone LED will light BLUE

step 3 - when phone is booting (first 5 seconds) press volume down key several times to enter recovery and choose apply update from sdcard

WARNING - if you used another rom (stock or custom) you have to wipe data or device will not boot

DOWNLOAD

look in my signature

please don't mirror (we want to have download conunt)
[Sony Ericsson Xperia Neo, Pro] Akizella:
Hi :)

When you were installing CM7 on clockworkmod did you remeber to wipe everything? before you install the rom, on the first screen of clockworkmod you see wipe data and wipe cache. Wipe them both then go to advanced and wipe dalvic cache and battery stats, after that install CM7. So what should you do:

1. turn of phone

2. connect to pc on fastboot and flash kernel with built in recovery (Command: fastboot flash boot boot.img)

3. now disconnect phone and go to cwm and wipe everything like i said

4. install cm7 :)

if works hit thanks ^^

btw. sony ericsson logo, seems like you didnt even flash kernel?
[Sony Ericsson Xperia Neo, Pro] Moursy93:
Since u are saying u seeing sony ericsson logo seems u didnt flash kernel properly, use flashtool in xperia neo dev section makes things way easier.

Good luck bro hope this helps !
[Sony Ericsson Xperia Neo, Pro] mohamedawad:
i am trying to flash the kernel via fastboot but i can't and it says phone must be rooted first....before you call me a noob XD i know my phone IS rooted and i flashed the kernel earlier by using kernel manager....now i can't flash the new kernel ...what can i do now ?
[Sony Ericsson Xperia Neo, Pro] Moursy93:
Try re rooting ur device bro seems there is an error phone cant get root access something is missed up with the root mayb ! All the best !
[Sony Ericsson Xperia Neo, Pro] Madfysh:
just flash that kernel via fastboot. don't use apps to flash kernels :-)

fastboot flash boot nameOfKernel.img
[Sony Ericsson Xperia Neo, Pro] ThilinaC:
I think you forgot to flash the custom kernel,cos if you flashed the CM kernel it should not show Sony Ericsson boot logo,it should show CM boot logo ;)
[Sony Ericsson Xperia Neo, Pro] mohamedawad:
update

I flashed .42 firmware again using flashtool and the device is now working

Now i realized that the problem was that i didn't properly unlock the bootloader...what i want now is a way to unlock it..bcz everytime i try it gives me this error

(bootloader) Unlock phone requested

FAILED (remote: oem unlock failed!)

finished. total time: 0.003s

I searched the forum and tried this thread

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

but it didn't give any kind of solution, Anybody can help ?
[Sony Ericsson Xperia Neo, Pro] Moursy93:
Did u try sony's official unlock from there site?,its the easiest way to unlock bootloader i guess
[Sony Ericsson Xperia Neo, Pro] Madfysh:
wtf, he is trying that :-)
[Sony Ericsson Xperia Neo, Pro] Moursy93:
my bad, i misunderstood his post :P
[Sony Ericsson Xperia Neo, Pro] mohamedawad:
LOL, that's what i am doing in the first place, Thanks for your contribution anyway bro
[Nook Touch General] irishtexmex:
Is it possible to do this? I have both an Android phone and Android tablet and I would love to be able to sync my last-page-read between my Nook, but most of my content is from inkmesh or public domain.

I know you can run either of the mentioned readers on a rooted Touch, but I just can't give up the native reader (and partial refresh mode) to run a non-optimized, always-refreshing reader.
[Nook Touch General] Renate:
Where your books are from makes no difference.

Nook Reader.apk keeps track of it all.

Reading the last read page location is easy.

I'll have to see if writing it is easy too.

More later.

It's later.

The problem with syncing books is that it's not as easy as just using page numbers.

Reader.apk uses fragments to store last reading point.

For instance, in my book I'm at:

Shel_9781588369284_epub_c03_r1.htm#point(/1/4/2/2/1:0)

Even though that's page 75, you can't just say page 75.

I would be interested to know how the other readers store last point.

If it uses some form of DOM fragments then maybe it could work.
[Nook Touch General] Mollusk:
My guess is that all RMSDK-based apps (like Aldiko, Mantano Reader, and probably Nook Reader) use the same location format. So you'll probably find similar locations on Aldiko and Mantano Reader, and copy-pasting those around should work.
[Nook Touch General] Renate:
Oh! That's a new acronym for me: RMSDK.

In point of fact, that's what the column is called in the Nook Reader database.

I'll have to look at that stuff.
[HD2 General] ananasas:
After installing http://xdaforums.com/showthread.php?t=1434860 this ROM I have a problem where my top left corner of HTC HD2 not responding, everything around it works fine, but it not reacts in presses on that place, noticed when trying to enter options menu in angry birds, any suggestions is it hardware or software problem ?
[HD2 General] bib*oops:
IMO: the only way to find out is a software vs. hardware issue is to flash your device with stock ROM and find out what happens!
[Captivate Q&A, Help & Troubleshooting] mtyermom:
Just flashed Slim ICS and Glitch kernel b5, coming from THS build 17 w/ Glitch b5. Having issues with not being able to access certain apps due to my device being "not compatible". These are apps that were running fine before flashing Slim ICS. Anyone else having similar issues or have an idea how to fix this?
[Captivate Q&A, Help & Troubleshooting] sailzfast:
read this ---> http://xdaforums.com/showthread.php?t=1488096

This has been covered a zillion times.
[LG Optimus 2x] jony5ku:
Hello, my P990 was 15min (I tried turn him ON)dead, for 1sec. I saw the red triangle exclamation mark. The phone is now ON but the battery is on 1% (???), I use [CM9][ROM][MAR19] Nova HD . What happend ? Should I use the Battery Calibration apk

https://play.google.com/store/apps/details?id=com.nema.batterycalibration&feature=search_result

Thanks for U advice peeps :o
[LG Optimus 2x] world_of_ursus:
yes. i'd suggest trying to calibrate bat.
[LG Optimus 2x] jony5ku:
The Battery Calibration doesn't change anything, 100%= 4139mV. It looks something blow off the Battery & 10-15min need the phone for charging to 1% :confused::eek::confused:
[LG Optimus 2x] world_of_ursus:
have you got the possibility to try another bat? I think a drain of 90%+ in 10 min is hard to brun the bat... even with full cpu power and io, wlan etc. on no chance to do it in that time for me here.
[LG Optimus 2x] jony5ku:
NO I don't have another battery, and 10min need the phone from 0% (-10%:) to 1%. I had this phone on desk charged on 70-80% I wanted go in bed, take look on my brick & the Phone was dead :mad: (I'm happy owner of this 1st 1mil freezing pieces from DE,bought in SK I'net shop) :mad:
[LG Optimus 2x] world_of_ursus:
sorry for that- u may backup via cwm and try another rom to be shure that it is not a bug, but i think the chance for that is quiet low
[Android Q&A, Help & Troubleshooting] nikolas60:
i have a problem to this port the defy its from htc hero g2 ported to p500 the only problem i have now and remaining is the boot img i get boot img error plz help me to this to Features wiil be maby working

GSM

sd card

Audio

3d

2d

Smooth UI

Bluetooth

WIFI

phone can shutdown

FM radio only with sprint fm

Sensors

no microphone i wiil fix it in the next version
[Xperia Play Q&A, Help & Troubleshooting] silmes:
Ok. I would be glad if someone could point me in the right direction here, and answer this question.

I am planning on buying an Xplay, mainly for phoning and gaming. I am very keen on keeping the Xplay "clean" and fast, and therefore wish to remove all bloatware from the beginning.

Could someone point me in a direction to where to start when I first unpack my phone? Should I accept all the updates and so on? What´s the best thing to do if I want to remove the bloatware. I might as well say that I´m pretty much a beginner when it comes to all the terms "rooting" and stuff. But I want to do it a safe way, without taking risks of breaking or bricking anything.

Thanks.
[Xperia Play Q&A, Help & Troubleshooting] Fußbodenheizung:
Some of the bloatware can be simply uninstalled, some cannot. For the latter you need to root your phone. I like to use SuperOneClick for rooting. Note that some firmwares (the ones whose version ends with .62 or greater) cannot be rooted, so I wouldn't update to them.

Once rooted, removing the bloatware is pretty simple. The most common way is to use Titanium Backup to uninstall it or you can even do it manually by deleting the relevant .apk files from /system/app.
[Xperia Play Q&A, Help & Troubleshooting] davidbar93:
Root your phone ,this is the first step that you must to do. After rooting ,you can remove bloatware from your phone and gain more free space on you internal memory.

I think that the best rooting way is the (zergRush Method):

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

After rooting ,download 'Root Explorer' ,go to system/app and remove all the things you don't need.
[Xperia Play Q&A, Help & Troubleshooting] Spectre51:
If you are getting an AT&T Xplay I would suggest installing the generic north American rom which is 2.3.4 and missing the AT&T bloat. I backed up the games from the stock rom first then installed the NA rom and reinstalled them.
[Xperia Play Q&A, Help & Troubleshooting] Potato13:
First use pc companion and install the latest update. Then root and remove bloat and get everything set up like your contacts and apps. After that install cwm and make a nandroid backup and start flashing roms! Back-up your info if the rom won't carry it over. Optional: Unlock bootloader before roms. There are plenty of stock based roms to for people with locked bootloaders.
[Xperia Play Q&A, Help & Troubleshooting] juzza87:
EDIT: Don't do the below, just read you don't want risk!

1. Unlock the bootloader

2. Use flashtool to install a generic ROM .FTF file (.368 has CRT animation but is old, .42 is good, .62 is good)

3. Install a kernel (DooM's is great). This will allow you to overclock, and give automatic ROOT (no need to exploit or install anything else)

4. Buy/acquire an app called "Titanium Backup" (it needs ROOT to run), and check the guide in these forums for which apps are safe to remove