yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] stoopendis:
Hi! Just dropped in today. Will the S4 be similar to previous Samsung phones re: rooting and custom recoveries etc.? I love my S2 for its simplicity in these regards.

Thanks

Stew
[Galaxy S 4 Q&A, Help & Troubleshooting] metalfan78:
I would say yes.
[Galaxy S 4 Q&A, Help & Troubleshooting] MultiLockOn:
Samsung phones are pretty much always extremely easy to root and manage.
[Galaxy S 4 Q&A, Help & Troubleshooting] karoolus:
rooting is already available for both i9500 and i9505 so i'd say support is just fine..

as for custom roms, that's all up to the developers, but as soon as a decent CWM recovery is available, you should be able to install roms just like your S2 ;)
[Desire HD Q&A, Help & Troubleshooting] tnt4ever:
Hello Every one

I unlock boot loader via HTC devel and install touch recovery, but cant get into any rom after flashing

i am on s-on , each time i flash a rom i struck on htc stock boot animation, i changed touch recovery to cwm 5.2.0.8 and still no help

i cant understand why its happening...i know its a common question may have already been answered but i got very short time after work so please if any one can direct me towards right direction for flashing...

thanks
[Desire HD Q&A, Help & Troubleshooting] glevitan:
You need to flash the boot.img of the custom rom in fastboot.
[Desire HD Q&A, Help & Troubleshooting] tnt4ever:
You mean simply flash the rom via fastboot usb through cmd...?

stupid question but really dont want to throw this phone into bin..:d
[Desire HD Q&A, Help & Troubleshooting] tnt4ever:
Got that

thanks
[Desire HD Q&A, Help & Troubleshooting] tnt4ever:
Well i will add just one thing, its lack of common sense and knowledge, but honestly you saved my whole day being wasted again.

appreciated....:p:p:p:p
[Desire HD Q&A, Help & Troubleshooting] karraly:
HTC DHD - stuck at bootlogo (HTC logo)

Hi Glevitan!

After when we closed our conversation, i tried to follow your instructions and update/install a rom (eg: MIUI, JELLYTIME...and others too). In the recovery menu it sais that the zip install was successfull, but when I trie to reboot the phone, it stuck at the hct logo (without the: quartly brilliant words).

Can you help meg how to get my phone back to work?

best regards,

Karraly
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
Flash the boot.img. read my sig.
[Android Software/Hacking General [Developers Only]] AggieDev:
I just released my first update for my app, and apparently it wiped all data from each person's app as if it was a fresh install. There are list objects primarily that are stored with a FileInputStream as shown in the code and the settings are stored with SharedPreferences. Does anyone know how to make it where each time I update, these don't dissappear? Thanks!

public ObjectStorage readListFromFile()
{
ObjectStorage temp = null;
String filename = "storefileobj";
FileInputStream fis;
try {
fis = getActivity().openFileInput(filename);
ObjectInputStream is = new ObjectInputStream(fis);
temp = (ObjectStorage) is.readObject();
is.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (StreamCorruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

return temp;
}

public void updateStorage()
{

String filename = "storefileobj";
FileOutputStream fos;
try {
fos = getActivity().openFileOutput(filename, Context.MODE_PRIVATE);
ObjectOutputStream os = new ObjectOutputStream(fos);
os.writeObject(mainObjectList);
os.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}
[MDA, XDA, 1010 General] Jhorra:
These might be some dumb questions, but after some searching I can't seem to find the answers.

1. Answered.

2. If this is an XDA I am I corrent in understanding there is no camera attachment for that model?

3. I use T-Mobile and have e-mail forwarding vis SMS for an e-mail account. How do I get it to give me an alert tone when a message arrives? I can't seem to find this option.

4. If my pocket PC version says 3.0.12039 does that mean I have 2003?

5. Does XDA I have bluetooth?

Thanks in advance for the help.
[MDA, XDA, 1010 General] Biso007:
2. Yes there is a SD Camera for XDA I ... check Expansys.com

3. Setting -> Personal -> Sounds & Notifications -> Notifications -> event = New E-mail Message

4. No, WM2003 usually starts with 4.20xxx

5. No
[MDA, XDA, 1010 General] Jhorra:
Thanks for the response.

What is the best earpiece you have found for the XDA I? I have just the standard one that came with it, but I would like something a little easier to use.
[Galaxy Note II Accessories] nkstn007:
I love the large screen, but damn the fingerprints and smudges are so annoying! I've been looking into maybe getting a screen protector that has "Anti-fingerprint" or "Fingerprint Resistant." Has anyone actually tried/tested them? Which work to help with fingerprints?? I searched around but see so many conflicting results. A lot of them seems like people put on the screen protector wrong, and thus thought it was bad.
[Galaxy Note II Accessories] w7excursion:
Wash your hands every once in a while lol. J/k I just wipe mine off with my shirt during the day.
[Galaxy Note II Accessories] Note_2:
My experience with screen protectors is that it only makes the issue worse, with more oils. What you are looking for is an oleophobic screen protector, I believe.
[Galaxy Note II Accessories] srkoza:
carry around a micro fibre cloth those work magic try it one wipe n everything is gone
[Galaxy Note II Accessories] afrojoc:
ismooth does a fantastic job in hiding them.
[Galaxy Note II Accessories] LittleRedDot:
You can try not touching your phone...

Seriously I don't know how you guys can even see fingerprints when the screen is on. My screen has buku fingerprints and oil from my face but I can only see them when the screen is off.
[Galaxy Note II Accessories] -EViL-KoNCEPTz-:
Fried chicken and fast food fingers would be my guess:confused: micro fiber cloth, alcohol lens cleaner wipes for glasses, or the bottom of your tshirt all work pretty well tho. Screen protectors, at least the film ones get all smudgy when you try to wipe them clean unless you buy oleophobic films. But the oleophobic coating comes off fairly quick with a few cleanings.

☆SoA: Son's of Android™☆

I like to break stuff! :D
[Galaxy Note II Accessories] harajyuks:
Did someone say fried chicken? mmmmMMMMMmmm
[Galaxy Note II Accessories] w7excursion:
I want a chicken burrito so bad now.
[Galaxy Note II Accessories] -EViL-KoNCEPTz-:
Chipotle steak and chicken burritos, mmmMMMmmm :salivates all over phone:

☆SoA: Son's of Android™☆

I like to break stuff! :D
[Galaxy Note II Accessories] mufaddalezzi:
I walk with my micro fibre cloth..lol
[Galaxy Note II Accessories] yungtexas:
Get the ghost armor screen protector! They don't stick at all... Plus it makes the screen even easier to wipe! It's got a lifetime warranty and you can exchange it with a new one if you ever get a different phone!
[Galaxy Note II Accessories] donec:
That is one of the things I am still surprised at with the BoxWave screen protector I have. After months of use it still does not get dirty. Oh! I sometimes see a little dust or what looks like a oily smuge but I just use the edge of my hand and or a micro cloth or my shirt and swipe it across the screen once (not rubbing or polishing just a quick wipe) and it is back to new.
[Galaxy Note II Accessories] jmacdonald19:
I second that. Big fan of Ghost Armor. I have the full coverage in a bumper case and I just give it a good once-over every few days with a microfiber cloth.

Sent from a van down by the river on an AT&T Galaxy Note 2 and Tapatalk.
[Galaxy Note II Accessories] bushako:
But wait I thought the alcohol based lense cleaner can take off the oleophobic coating of the screen over time. I know that eventually it does wear off but this reduces that time. I just fill up the small spray bottle with water and use micro fibre which does the job pretty well. I took off the screen protector today, although a bit worried, I figured wth at least I get to experience my phone the way I should, I feel like I was keeping it pristine for the next guy who owns my phone.
[Galaxy Note II Accessories] ronfiveo:
One hyphenated word, Rain-x.

Just apply about once a week or so.

It is not a preventer, just a reducer.

But it wipes off prints easier.
[Galaxy Note II Accessories] Bright.Light:
And do you mean the yellow one (for outside car windows) or the black one (for inside)?
[Android Software/Hacking General [Developers Only]] lippol94:
What can I say... :D

SUBSCRIBED

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] phillysmako:
Far superior
[Android Software/Hacking General [Developers Only]] ak:
thanks

Franco Team always made a great work .... Keep it up.

Thanks for these great useful infos! :D
[Android Software/Hacking General [Developers Only]] pmbabu:
Bookmarked, subscribed and rated a well deserved 5 stars :good:
[Android Software/Hacking General [Developers Only]] efrant:
Thanks for sharing. Very useful.
[Android Software/Hacking General [Developers Only]] le_prof:
Nice...

Envoyé depuis mon Galaxy Nexus avec Tapatalk
[Android Software/Hacking General [Developers Only]] opz187:
Nice collection osmosis
[Android Software/Hacking General [Developers Only]] Puzzlegirl:
Many thanks osm0sis, to you and all the team for all your contributions :) Almost feel as though I know you since I've been hanging round GNex and N7 franco.Kernel threads for so long and if you pop up on the N4 thread it's like seeing an old friend :) I'm mostly quiet, but really appreciate all you do :thumbup:
[Android Software/Hacking General [Developers Only]] mixtapes08:
Subscribed... Thanks dude...

-3StarsAndaSun
[Android Software/Hacking General [Developers Only]] sleshepic:
Subscribed. Thanks
[Android Software/Hacking General [Developers Only]] osm0sis:
Thanks back to you, everyone! I've learned a hell of a lot about Linux and Android in the year since I got my GN, and I mostly have xda to thank for that, even though I've always been the type to tinker and Google things. Still lots more to learn though! But, at the very least I guess nobody can say I haven't been busy since becoming a RC, huh? :p
[Android Software/Hacking General [Developers Only]] irminsul:
Nice to see all these settings are adopted by others, also the interactive tuneables are used in ak kernel now.

Verstuurd van mijn Nexus 7 met Tapatalk
[Android Software/Hacking General [Developers Only]] Ashtrix:
Subscribed :good: !
[Android Software/Hacking General [Developers Only]] osm0sis:
New version of testvalue.sh up. I added the input value to the output.txt file to make it easier to read since it starts at 0. Right now we're trying to work out the equation for the scale of certain cfq and deadline tunables on the GN, which is a bizarre one:

7, 15, 23, 31, 39, 46, 54, 62

Increases by 8s but occasionally (on the 5th jump, though sometimes 6th) it increases by 7.

Edit: Every 3rd increase of 7 occurs on the 6th instead of the 5th. :p

Edit 2: Stats genius of the group, [MENTION=4793042]pkgnex[/MENTION] worked out what the trick was; dropping the decimals once calculated.

So in Excel: y=TRUNC(x*7.8125,0)

:good:

The "why" of the GN tunables working this way, with a value of 125/16 is a very good question. No ideas there, personally. Something to do with the GN having a HZ value of 128 (where on others it's 100 or even 200) I'd assume, but I don't see the direct connection.

This was very handy to know though, because the cfq+deadline source requires the number of jumps (x) to hardcode the values, not the actual desired numbers like you'd expect.
[Android Software/Hacking General [Developers Only]] abalam:
Perfect!!!
[Android Software/Hacking General [Developers Only]] Midomad:
Very interesting
[Android Software/Hacking General [Developers Only]] osm0sis:
Created a getprio script last night for use in /system/xbin as a runnable script to check the niceness of a process. It's up in the 2nd post now. It attempts to make up for Android not having "getpriority", and not displaying the niceness in "top" or "ps" like it would on mainstream Linux. :D

usage: getprio [-p] <pid> | -c <class> | -s <search string>
note - class name search will only use the top result

So you can either -p the numeric pid of a process if you know it (this is the default so the -p argument is optional), -c the class name of the process (eg. com.android.systemui), or -s a search string using part of the class name (eg. systemui). If there is more than one result for the search only the top result will be returned so if you are trying something like "-s mms", you'll only see the system mms process and not com.android.mms until you get more specific with "android.mms" or something. It's likely you've got a lower level process if you get the response "Warning: empty class name!" so that's your tip your search was too broad. Naturally, processes must be running in order to return info as well. :good:

Edit: ps -p will display niceness on Android, but it's not ideal if you want it only for a specific process like with getpriority. Thanks boype.
[Android Software/Hacking General [Developers Only]] demlv:
Since you asked, I tried a fresh backup, and it completed successfully. Hopefully that will be the end of these troubles. Thanks for the script! I suspect that it will save me from a lot of unnecessary work one of these days. :good:
[Android Software/Hacking General [Developers Only]] demlv:
osm0sis,

I recently tried (unsuccessfully) to modify your SD card backup script. What I want is a way to pull to the PC only the nandroid backups found at data\media\clockworkmod on my Gnex. I made what I thought were a few simple changes that I hoped would work, but I ended up with an error -- "the root 'data/media/clockworkmod' does not exist". Below is how the .bat reads now.

I'm open to learning, as a lot of this remains little more than "magic" to me. Thanks for any guidance.

----------------------------

[MENTION=279333]ECHO[/MENTION] off

set mountPoint=/data/media/clockworkmod

set ignorePattern=

set onlyPattern=

cd %~p0

echo.

echo ADB Sync Utility Copyright (c) Temblast 2012-2013

echo by Renate NST @ xda-developers

echo.

echo sdcard Backup Automation by osm0sis @ xda-developers

echo.

if not exist nandroid (

echo Creating backup folder . . .

md nandroid

echo.

echo Backing up %mountPoint% . . .

) else (

echo Syncing %mountPoint% . . .

)

call bin\adb shell mount /data > nul 2>&1

if not "%ignorePattern%" == "" set "ignorePattern=/i%ignorePattern%"

if not "%onlyPattern%" == "" set "onlyPattern=/o%onlyPattern%"

if exist longfilenames-ignore-list.ini (

setlocal EnableDelayedExpansion

for /f "delims=" %%i in ('type longfilenames-ignore-list.ini ^| bin\grep -Ev ^#') do (

if not "%%i" == "" (

bin\adb push bin\.noadbsync %%i

set "ziplist=!ziplist!%%i "

)

)

setlocal DisableDelayedExpansion

)

bin\adbsync /hscu /s /ld /v "%~p0\nandroid" "%mountPoint%" %onlyPattern% %ignorePattern%

if errorlevel 1 goto end

echo.

echo Logging remaining differences . . .

bin\adbsync /s /ld /v "%~p0\nandroid" "%mountPoint%" %onlyPattern% %ignorePattern% > backup.log

if errorlevel 1 goto end

echo.

echo Removing old files . . .

type backup.log | bin\grep -E ^H" " | bin\cut -c 36- | bin\cut --delimiter=+ --fields=1 > host.log

echo ..\host.log >> host.log

for /f "delims=" %%f in ('type host.log') do [MENTION=220077]bin[/MENTION]\rm -r "nandroid/%%f"

echo.

echo Cleaning up empty directories . . .

for /f "delims=" %%d in ('dir /s /b /ad ^| sort /r') do [MENTION=243472]RD[/MENTION] "%%d" > nul 2>&1

echo.

if not "%ziplist%" == "" (

echo Zipping long filenames . . .

bin\adb push bin\zip /tmp/ > nul 2>&1

bin\adb shell chmod 755 /tmp/zip

bin\adb shell /tmp/zip -9rq /tmp/sdcard-longfilenames.zip %ziplist%

echo.

echo Pulling "sdcard-longfilenames.zip" . . .

bin\adb pull /tmp/sdcard-longfilenames.zip

bin\adb shell rm /tmp/zip /tmp/sdcard-longfilenames.zip

echo.

)

echo Done!

:end

bin\adb kill-server > nul 2>&1

echo.

pause
[Android Software/Hacking General [Developers Only]] osm0sis:
Hey sorry it took me awhile to get back to you, I broke me leg on the 26th and I'm just rediscovering your post now. :)

Great attitude! Awesome to see. So the only thing you'd need to alter is the path, by changing

set mountPoint=/data/media

to

set mountPoint=/data/media/clockworkmod

Try downloading the package again and making only that change using something like Notepad2 so we know nothing screwy is going on.
[Android Software/Hacking General [Developers Only]] osm0sis:
Also, I just put a new version of getprio up in the OP; has better commandline handling using the "case" command, which is pretty slick compared to ifelse. The new Nexus BootUnlocker will use that too for the device stuff once a new Nexus device comes out requiring support. Easier than ever to add support this way. :D
[Android Software/Hacking General [Developers Only]] nicesoni_ash:
Well get well soon mate..

_____________

Sent from my GT-I9300 powered by Temasek Rom & Kernel

Fueled by 7000mAh ZeroLemon Battery
[Android Software/Hacking General [Developers Only]] ahmadairfan:
Hi os :D

Sorry to bother, I am a real noob at this. But I am in interest to start studying your scripts.

Where should I get started? Like how to apply those init.d scripts, 925vmsettings, how to edit it, etc.

I think you could add some knowledge-base (can be links) like in boype's thread to help many person learning with basics just like me lol

Thank you! :)
[Android Software/Hacking General [Developers Only]] osm0sis:
Good idea I'll definitely give that some thought! If you're editing on device you should be good; if in Windows you'll want an editor that preserves Linux LF format line endings, since these are all Linux shell scripts. They also require a blank line at the end (I usually leave two). :)

In the OPs I explain correct file permissions and link to the sysfs file commands for a lot of kernel functions. Check those out and start reading my scripts to see how if-else statements and things need to be formatted. That'll put you off on the right foot. ;)

I myself am always Googling methods I'm not sure about when I'm writing them. Going back and rechecking my old scripts for the right way I did it before and stuff. :good:
[Android Software/Hacking General [Developers Only]] ahmadairfan:
Okay, here goes nothing...

Studied over many threads, copy-paste here and there..

I've downloaded your f.K dev team init.d pack installer, and begin editing 925vmsettings.

- If I'm on Ubuntu, is it okay if I use Gedit?

- I have no idea with I/O Tunables editing. In your script, it defined this command:

# cfq tweaks
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum;
echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync;

But when I checked those location on my phone, /sys/block/mmcblk0 is an empty file, not even a folder directory. Am I missing something? Where are the exact location? (in my case I am using fiops)

- The same with SmartReflex control. I've realized DirtyV's settings are different than f.K settings lol. I don't even know what exact location to bring Core, IVA, and MPU min calibrated voltages.

- (again) the same with Regulator Voltages.

Again, sorry if I am still a quite noob lol. :)

I was lurking DirtyV thread everyday and got interested with this scripting commands. It's kinda like terminal lol it can do almost everything.

Many thanks! :good:
[Android Software/Hacking General [Developers Only]] osm0sis:
Are you looking when booted to recovery? Those files are there only when booted to Android. The sysfs is sneaky like that. It gets recreated on every boot.

Oh and it is terminal and you pretty much can do everything. That's why I like it too. :D
[Android Software/Hacking General [Developers Only]] ahmadairfan:
I looked it using Root Browser. So should I stay with above command?

Will be back at night, going back to college lol. Thanks :)
[Android Software/Hacking General [Developers Only]] osm0sis:
Sounds like Root Explorer doesn't follow the symlinks. Check out FX Explorer. By far my favorite. Even has proper media storage db support when adding or deleting media. :good:
[Android Software/Hacking General [Developers Only]] saikoz:
great collection of script :) can you make deodex script also?
[Android Software/Hacking General [Developers Only]] osm0sis:
Checked it out since I wanted to include it in the same script, but deodexing is a lot less straight forward, so is best left to the desktop scripts that pull the frameworks and deodex from there.

Titanium Backup seems to deodex when you convert system apps to user apps as well, so I thought it best to leave that complicated work to them.
[Android Software/Hacking General [Developers Only]] demlv:
Sounds like there may be a story in there somewhere - skydiving, motorcycle backflip? Regardless, I hope your leg is mending well.

So I downloaded the zip again and used Notepad2 to make that one change only and I ended up with the same error -- the root "data/media/clockworkmod" does not exist. :confused:
[Android Software/Hacking General [Developers Only]] osm0sis:
Haha I wish it was something that epic. :p

Hmm I'll test and see what I can work out. You using the latest CWM?
[Android Software/Hacking General [Developers Only]] Setting.Out:
I know this is a bit off subject... I've been searching for a script to keep Google apps and services at bay.. I don't want to remove them, just keep them from devouring my battery when they are not in direct use.. I am using media kill scripts, could this concept be applied to google's services too?
[Android Software/Hacking General [Developers Only]] demlv:
Ok, so the issue was that I was running the script with the phone booted into full Android. I guess I keep wanting to run it that way because it worked when I first tried it a few months ago. But when you asked about the recovery (yes, latest CWM by the way) I changed things up and ran the script with the phone in recovery, and of course it seems to be working perfectly. User error . . . :eek:
[Android Software/Hacking General [Developers Only]] osm0sis:
Better off using App Ops either via custom ROM or Xposed and module. Greenify is more comprehensive and pretty much based around this concept entirely. :)

Whew, that's a relief! Hahah. Yes, anything adb should be done via recovery, almost always, to avoid issues with the FuseFS **** Android is doing with the sdcard mounts these days. ;):good:
[Android Software/Hacking General [Developers Only]] Setting.Out:
Though I use Greenify (not in the xposed module) and have my permissions set not to auto-start or wake my device, I still see their processes constantly running and would love to have them frozen until I actually open an app or request a service...
[Android Software/Hacking General [Developers Only]] Setting.Out:
Could this work to limit the processes from running unless directly opened?

# Google Killer

killall -9 google.android.gms

killall -9 google.android.gsf

killall -9 google.process.gapps

killall -9 google.process.location

killall -9 google.android.googlequicksearchbox

# Facebook killer

killall -9 facebook.katana

I took the idea from a media killer script..

# Media Killer

killall -9 android.process.media

killall -9 mediaserver
[Android Software/Hacking General [Developers Only]] NLBeev:
[MENTION=4544860]osm0sis[/MENTION] Adb-sync.sdcard.backup

Use it on my Essential PH-1 and is easy and fast, because only the new/changed stuff is copied.

In adbsync.bat I needed to change the backup path to /storage/emulated/0 and I've updated the adb files.

Got the idea to do it via Wifi. Installed a Wifi Adb app on the PH-1 and added call bin\adb connect <ip>:5555 in adbsync.bat .

Sync/backup the sdcard of my PH-1 is now wireless. Many thx. It's very useful.