yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] torpedo mohammadi:
Maybe you're right.

But before the Tut، I collected some info on build.prop.

I read different files from different devices with different ROMs.

And I gained a result : The file differs from ROM to ROM and from device to device.

I had thought of this knowing that in device Nexus 4 "ro.x.y" is in line "z" forexample :

1. Create BufferedReader to read the build.prop file.

2.

// Let's consider ro.x.y : outcome in build.prop

int x = 0;

String y ="";

If ((y = br.readLine()) != null) {

x++;

String line = y;

if (x = z){

// So we have found ro.x.y

String result = line;

result = result.replaceAll("ro.x.y", "");

result = result.replaceAll(" :", "");

}

}

Using this procedure we have retreived the ro.x.y value in Nexus 4.

But does anybody promise that ro.x.y is in line "z" in all devices?

The answer is NO as I mentioned above.

Maybe someone has changed his build.prop file and ... .

I hope it helps.
[Java for Android App Development] nikwen:
Shouldn't the title be [Guide], not [Guilde]?
[Java for Android App Development] torpedo mohammadi:
Thanks sir.

Didn't notice at all.
[Java for Android App Development] Dr.Alexander_Breen:
Well, we are supposed to write smart parser which is indifferent to line number, it searches by key name...and gets the value. However, that is the reinvention of the wheel - getprop does exactly the same.

Just saying that the same result is available without the getprop. But it will be (or will not if you're really good in regular expressions) harder, yes.
[Java for Android App Development] GuestK00178:
@ whoever's code I decide to use: Thanks, I'll make use of this in my library :) I'll put you in the credits :good:
[Java for Android App Development] GuestK00178:
I'm using the code in the OP and it's returning the default value, but not the actual value... This is really weird...

EDIT: Ok, so it won't update values until I reboot the device. Is there any workaround?
[Java for Android App Development] vektor88:
The system properties are not reloaded after you edit the build.prop, you need a reboot, or you've to read from build.prop file.
[Java for Android App Development] GuestK00178:
But whenever I read directly from build.prop something screws up, like build.prop becomes empty or deletes itself. In my last test my sdcard became corrupted and build.prop became blank.

Sent from my Galaxy Nexus
[Java for Android App Development] Androguide.fr:
Use setprop and getprop in addition to the changes you make to the build.prop, this way you can get the current value without the hassle or performance loss of having to parse the whole build.prop for each value you want to read.

For example, if you change ro.whatever=true to ro.whatever=false, also do a setprop ro.whatever false so that you can retrieve the value from getprop ro.whatever
[Java for Android App Development] amfa84:
If this is true (and i think it is), why <ou don't simply use the Java Properties class to read the prop file?

developer.android.com/reference/java/util/Properties.html

Sorry for answering in this old Thread, but i dont see why you read the properties file by yourself.
[Java for Android App Development] GuestK00178:
Yeah, it should work, in theory.. But in practice it screw things up a lot. It ends up deleting the whole contents of build.prop or not reading correctly and it's very unpredictable :-/

And yes I was using the Properties class (and still do)

Sent from my sushi grade tuna

---------- Post added at 08:48 AM ---------- Previous post was at 08:47 AM ----------

Btw I tried this ^^ and it didn't work :(

Sent from my sushi grade tuna
[Java for Android App Development] beksi:
one x new in android

Hi, Is anyone nood friendly to explain me or some tutorial where and how to put this comand, to change my build.prop without unlocking bootloader on my HOX tegra 3..grateful for any response

---------- Post added at 01:25 PM ---------- Previous post was at 01:13 PM ----------

Hi, Is anyone nood friendly to explain me or some tutorial where and how to put this comand, to change my build.prop without unlocking bootloader on my HOX tegra 3..grateful for any response
[Java for Android App Development] zurih:
Hey,

Sorry for bumping this old thread.

How a non-developer user could use this to change/add build.prop lines?

I got a complete stock Nexus 5X that I'd like to add some new lines into build.prop without root.

Is it possible?

Thanks in advance!
[Java for Android App Development] IacobIonut-DW:
How to integrate that to show in textView?
[Thunderbolt Q&A, Help & Troubleshooting] triaddraykin:
Yes, another thread like this. I looked through the suggested threads, no dice.

I have a Thunderbolt that won't make it past the HTC boot screen, or HBOOT.

The HBOOT reads

MECHA XD ENG S-OFF

HBOOT-1.04.2000 (PG0510000)

MICROP-/

RADIO-1.16.00.0402w_1

EMMC-BOOT

Feb 23 2011, 20:36:02

HBOOT

FASTBOOT > Asks for Bootloader, Reboot, Reboot Bootloader, and Power Down

RECOVERY > Sends it into the usual loop

FACTORY RESET > Sends it into the usual loop

SIMLOCK > -5 SD Init Simlock failed Reboot?

HBOOT USB > Sends it into the usual loop

SYSTEM INFO > I'll only type all that up if I have to...

IMAGE CRC > Calculates some things, and stops.

It responds if I have a PG05IMG file, but none of the ones I have seem to work, and all the guides I've looked at so far give me links to Megaupload.

At this point, I don't care if I have to go clear back to unrooted stock. I can probably figure out how to get back to Cyanogenmod 7.1 from there if I have to. Most of my stuff is backed up on my SD card anyways; the beauty of Androids... Two years back I could have probably figured all this out, but it's been a while.

So... Help, guys?
[Thunderbolt Q&A, Help & Troubleshooting] necosino:
Luckily you're on an older hboot. All you'll need to do is find the ICS OTA RUU .zip file and flash that through hboot. You'll lose root, but will be able to boot into stock and can then follow the downgrade procedure to get root again.
[Thunderbolt Q&A, Help & Troubleshooting] triaddraykin:
As I suspected, but that leads back to one of my problems: Where do I find the files? Everything leads to a shut down site, Megaupload.
[Thunderbolt Q&A, Help & Troubleshooting] disconnecktie:
There isn't an ruu for the ics ota but I think santod did put together a version that will fastboot flash.
[Thunderbolt Q&A, Help & Troubleshooting] triaddraykin:
Oh, I forgot about the 4.0 for Thunderbolt... I never upgraded, actually. I believe I was running 2.3.7, or 2.3.4 somewhere around there.... At this point, I just want it to -work-. I did nothing to cause it (no flashing or anything for months) and this was just out of the blue. I'm smart enough that I don't use a unstable modded phone for business, but it is part of my lifestyle, and I miss it!
[Thunderbolt Q&A, Help & Troubleshooting] triaddraykin:
Okay, so I found Santod, which of these do I flash, then?

http://www.androidfilehost.com/?a=show&w=files&flid=144
[Thunderbolt Q&A, Help & Troubleshooting] triaddraykin:
UPDATE:I followed http://xdaforums.com/showthread.php?t=1310014 and got the bootloader to 1.05.000, LOCKED. I flashed the first IMG just fine, and it went through, no errors at all; I'm still bootlooping, but now in a locked bootloader.

At this point, I need to find a stock ROM for Thunderbolt, and flash it with that. Not sure where to get one, or to even be sure of what filename I'm looking for.

Also, my Radio is now 1.49.00.0406w_1. Is this correct still?
[Thunderbolt Q&A, Help & Troubleshooting] BigBlackDodge:
Anyone?
[Motorola Droid RAZR] Arthur Wong:
Can anyone list all the methods that can unbrick RAZR (xt910)

Thx!!!
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Not sure why it's force closing now? I uninstalled it and reinstalled it and clear data/cache and I even restored from TB to a point where it worked perfectly,

Please help!
[T-Mobile Samsung Galaxy S 4] Andrey2790:
THIS POST WILL NOT FIX YOUR PROBLEM

Now that I said that, I had the same issue after I used Titanium Backup to uninstall some TW apps, before I did that the stock music app worked perfectly fine. After it would not launch, as you said it force closes, I tried to uninstall it and flash it from recovery and everything. If you have uninstalled some TW apps you might have gotten rid of something that is necessary for the music app to work. I believe your options are either use another app instead, or flash a different ROM to get the app back. Personally I would recommend this one (http://xdaforums.com/showthread.php?t=2363523) because it fixed my low impedance headphone issue as well as the text legibility.
[Verizon Samsung Galaxy S III] david7598:
I switched to T-Mobile today. I'm using my Verizon s3. I have data and can make calls and text. And I only get 2g....which is know is because of the radio in the phone. But I'm just wondering if I can put a T-Mobile ROM on my Verizon s3 since I have their service and what not. Its for nothing more than an esthetic thing for me.
[Verizon Samsung Galaxy S III] The Sickness:
If its ported

Sent from my Wicked T999
[Verizon Samsung Galaxy S III] mybook4:
A lot of the ROMs for the US S3 are shared between carrier editions. Which ROM are you interested in specifically?
[Verizon Samsung Galaxy S III] david7598:
Well that was going to be my next question. I currently use clean ROM. Is there a ROM comparable to that?
[Miscellaneous Android Development] gowtham121:
The complete kernel source, along with all the drivers are available through Wiki CINK 5, a french company. The Android sources are still at large so no dual SIM support, but with this kernel source, Cyanogenmod or AOSP can be ported to mt6589 based drivers ? Can a dev do it, (with only support for a single SIM alas)

The CM source tree is huge, I am downloading, it's gonna take days, can anyone else please look into this ...

http://geek.wikoplus.com/index.php?tel=33e75ff09dd601bbe69f351039152189
[Miscellaneous Android Development] _ossie_:
Any update on this please?
[Miscellaneous Android Development] adhrinova:
after now, we just wait.. i also need rom mt6589 (for ever cross a88 mobile phone made in chinese), can somebody tell me, where i can get it;)
[Miscellaneous Android Development] yesiamfrozen:
bump

waiting for this
[Micromax A110] sagarwep:
------::::::WELCOME TO LEGO WORLD ::::::------​

Welcome to the LegoIce™ JB Full Xperia Z UI ROM Developed By Sagarwep​

:good:---Ported Zopo Stock ROM - JB 4.1.2 and Lewa ROM Mixed Version---:good:​

----------::::::::FEATURES::::::::-------------

- Sony Xperia Z Style Feature-

- All Xperia Widgets Included - Xperia Z Theme / Bootanimation / Sounds - New Ported Lockscreen - Bravia Engine 2 - XLoud & ClearAudio

----Xperia Apps Included----

•	Xperia Album

•	Xperia Movies

•	Xperia Walkman

•	Xperia Social Life

•	Xperia Calculator

•	Xperia Calendar

•	Xperia Notes

•	Xperia Torch

•	Sony TrackID

=== Spacial Feature ===

- Recovery Menu added in menu

- Many Changes in System UI

-New Setting menu

-New toggle menu

-Change battery icon in settings menu

-Engineer Mode in settings​

UPDATE v 2​

CHANGE LOG

-New Ripple Lock Screen with Xperia Icon

-Fast Smooth Fix Some Apps FC

-Fix Notification light

-Better 3G net speed

-Some change in buld.pro

CHANGE LOG V3

-Fix Gps and network location

-change dialer

-Fix Working USB OTG With Stick Mount Apps [For tutorial go here]

-Some change in buld.prop

NOTE - First Back ur ROM and flesh update

1) Copy update in SD card

2) Boot in recovery & wipe cache and dalvik cache

3) Install update

4) fix permissions

DOWNLOAD

LigoIce_Xperia Z UI 4.1.2 V3.1 Patch

DOWNLOAD

LigoIce_Xperia Z UI 4.1.2 V3.2 Patch

DOWNLOAD

LigoIce_Xperia Z UI 4.1.2v_2

DOWNLOAD

LigoIce_Xperia Z UI 4.1.2

GPL compliance

Linux Kernel Source Code

Link to Github

(credits to@Wiko (cink-king) )

INSTALL VIA CWM RECOVERY

How To Flash

1) Download zip File via link

2) Put into External/Internal SD Card

3) Go To CMW Recovery

4) Wipe Data/Factory Reset And Wipe Partition

5) From Advance Menu Do Dalvik Catch Clear

6) Go in Mount And Storage select FORMAT SYSTEM

7) Select Install From SD and Select File And Click YES

8) Fix Permission

9) System reboots....

Warning- (I AM NOT RESPONSIBLE FOR ANY HARM DONE TO YOUR PHONE USING THIS . DONT BLAME ME AFTER WARDS THESE HAVE DONE OWN RISK)
[Micromax A110] sagarwep:
Tips and tweaks

1- Project Extreme Script working great for this Rom (Credit and thanks for andeveloper for developing this script)

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

2- For Xperia Icon go to lancher setting/Appereance/icon pack select Xperia
[Micromax A110] sagarwep:
Updates and patch

1- Fix Socialife Application ---If Socialife Not work Please download zip file via attachment and flesh with CWM Recovery

2- Patch For Water Lock LockScreen--- This Patch For Samsung Waterlock LockScreen this is not Reversible So Before fleshing Make Full ROM Backup via CWM Recovery and flesh with CWM Recovery.

LINK - DOWNLOAD

3- Patch For Full Galaxy S4 UI For This Rom--- This Patch For Full Samsung Galaxy S4 UI this is not Reversible So Before fleshing Make Full ROM Backup via CWM Recovery and flesh with CWM Recovery.

LINK - DOWNLOAD
[Micromax A110] obhidwkr:
Screenshot plzz
[Micromax A110] sagarwep:
screenshot on OP
[Micromax A110] showstopper1:
download started :D
[Micromax A110] Bluehacks:
Hey mate for wifi..please dont use lewa or miui libs files as wifi in low range gets disable.

Can u please confirm the same is not the issue with the wifi low range connectivity of ur rom.

Bcoz ur samsung based rom which i m using right now has one. Rest all seems working perfect.

Would appreciate ur quick response.:thumbup:
[Micromax A110] jaunty:
Mee too...
[Micromax A110] sagarwep:
this is total new HD Rom ported for Micromax

-my wifi working fine

-no gps issue

-no APN issue

-no camera issue

-no FM issue
[Micromax A110] jaunty:
Downloaded 30% but i can see no screenshots..

M browsing through mobile.. Can you post ss??

And what about our ligoice S4....

I think S4 UI is better than Xperia Z..
[Micromax A110] mmxandy:
micromax Grand

My new ROM grand is coming soon...
[Micromax A110] jaunty:
Okay,
[Micromax A110] sagarwep:
Good work Bro...:)
[Micromax A110] ibshar:
[MENTION=4847445]sagarwep[/MENTION], bro nice to see your new ROM, i'll give this a try soon.. :good:

Edit: Download complete.. ;)
[Micromax A110] showstopper1:
My first ever review for ligoice xperia

This is the smoothest ROM available I think so ui is buttery smooth

The whole new ui is pretty impressive

Stock dial pad is awesome

WiFi is working good

Bluetooth is fine

FM is working

Camera also fine

I'm getting more than 200 mb free ram after installing 12 apps

The touch responsiveness is better.

New status bar is quite superb

Overall I think we have a most stable and smooth ROM for our device after cangalaxy.

Only issue I found was the album lags when opening pictures and the slideshow is not working in the album app.

Also the xperia z lockscreen port can make this ROM a complete xperia ROM please provide a patch for the xperia lock screen port dev.

Pretty brilliant work by the dev..

Great mix with lewa gives a smoothest ROM for our device.

Edit : battery also going to be better I think only lost 2 percent after 50 mins from flashing ROM.. :D

A patch for water drop lock screen from your legoice s4 and the stock xperia keyboard will be nice dev ;)
[Micromax A110] sagarwep:
Fix Socialife Application download zip via Update Section
[Micromax A110] aravindhramachandran:
Does this ROM has Honami walkman and media apps port ?? or Xperia z media apps and walkman??
[Micromax A110] mufti.arfan:
Dont give credits to me fore the kernal link :o i didn't find them!!! they are by wiko!
[Micromax A110] andeveloper:
All ROM devs are doing very nice work. :thumbup: to all.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Micromax A110] sagarwep:
Ok
[Nexus 4 General] mattoaida:
I was wondering if anyone is getting the new nexus 7 but is it worth it? I was thinking if I should wait for the nexus 10 are you guys getting the new nexus 7?

http://androidcommunity.com/new-nexus-7-2-leaks-again-in-full-retail-packaging-20130723/
[Nexus 4 General] albundy2010:
The nexus 10 and the 7 are complete different products to me.

The 7 is actually fits in my pockets and is a portable device. The ten inch tabs don't.

Also 10 inch app support still flat out sucks on android on top of that. A 7 inch tablet you can actually get away with a phone app on it. Even apps that are optimized for the 7 often have a different layout than the larger 10 inch.

I used to bluetooth tether to my 7 and use it basically in place of my phone when I had it with me.

Depends on what you want. The 7 may be to close to a phone for some and so on.
[Nexus 4 General] 0.0:
I'll be getting the nexus 7. I've been waiting, and I can finally buy it! :)

Sent from my Nexus 4
[Nexus 4 General] EddyOS:
What does this have to do with the Nexus 4?
[Nexus 4 General] Rusty!:
Nothing.
[Nexus 4 General] $@N:
Then why this thread is here?? :)
[Nexus 4 General] Rusty!:
I have no idea.
[Nexus 4 General] crachel:
Please use the Nexus 7 forum for this type of discussion.

Closed
[MDA III, XDA III, PDA2k, 9090 General] jayv:
i cant send files thru bluetooth with resco explorer.

did anyone else encounter the same problem?
[MDA III, XDA III, PDA2k, 9090 General] ramram:
Bt Widcom/Broadcom stack should be installed to allow the Bt sending via resco..
[Nexus 4 General] akshayguptaus:
Okay so the tea with sundae pichai is gonna be broadcasted live on YouTube. What time is the event going to take place?
[Nexus 4 General] daewond3r:
9AM PST.

You could just Google it ya know? ;)
[Nexus 4 General] DJBhardwaj:
agreed. Too much threads for 4.3 queries.
[Nexus 4 General] akshayguptaus:
My bad. Was at work so just wanted to clear the schedule for then. Thanks anyway. :)
[Nexus 4 General] anirudh412:
Ah autocorrect!!! How you make me laugh
[Nexus 4 General] crachel:
Please use the Q&A forum for questions. This could have been answered with a simple Google search

Closed
[T-Mobile myTouch 4G Slide] TheLoonyRebel:
So I just rooted a friend's MyTouch 4G Slide and now trying to figure out which ROM to use. I have her trying JellyKang 1.8 which so far has been a horrible nightmare in terms of battery life on her device. So is there any advice on either a better ROM that doesn't have a battery drain issue or a kernel that might work better with JellyKang?

Also how hard is it to s-off this device? The laptop I would be using is running Windows 7 x64 if that helps any. I noticed mentions of the wire trick but beyond that what do I need in order to get this done? This would make swapping kernels much easier.

Thanks so much in advance for any information. :D
[T-Mobile myTouch 4G Slide] Fuzi0719:
A "best ROM" thread always gets a lot of controversy. Everyone has different needs and opinions on what is/isn't important to them. If best battery life and everything working without glitches is paramount (my criteria), then a stock-based ROM like Miktouch 0.7 will work best for you. There are some newer ROMs that offer good performance with minimal glitches, though, so read through the comments on them in the Dev forum and make your informed decision.
[T-Mobile myTouch 4G Slide] TheLoonyRebel:
Yeah I certainly understand what you mean by controversy. I'll try Miktouch since to be honest my friend isn't quite liking the AOSP/CM experience so far. Thanks!
[Desire HD Q&A, Help & Troubleshooting] waleedbutt256:
I hvae been trying for over a month to root my phone i dont know how to.....Attn1.. has taken down the files from his server which means we can not use AAHK anymore...tell us any gud alternatives...

complete guide will be appreciated!
[Desire HD Q&A, Help & Troubleshooting] 3498BoyZ:
Look here http://xdaforums.com/showthread.php?t=2367322

!@Send from my Mobile Phone@!
[Samsung Galaxy Nexus] Jar3112:
I did a little search but couldn't actually find a thing. Is there any kernel for 4.1.2 with Frandom module instead of Urandom?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Jar3112:
Anyone? I read around that frandom should give real improvement compared to urandom, but didn't actually notice much people talking about it!

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] lastforone:
have a look at this MOD CrossBreeder,

i'm on Amperific's Kernel [A.S.K.P-Build14] with CrossBreeder, and i must say its a killer combination, i havnt tried the Frandom though..

Peace,

LastForOne
[Samsung Galaxy Nexus] Jar3112:
I had a look at it, but still isn't what I'm looking for.

It says frandom module still needs to be compiled from the kernel source, and I'm not good at it. I googled a little bit to have an idea about what compiling a module means but it seems too difficult for my experience (never compiled a thing :P).

So maybe someone could briefly link me a to a tutorial or (and this would be way better) explain me how to do it...

That would really be appreciated.. :)
[Samsung Galaxy Nexus] Jar3112:
Acording to this guy seems like an easy thing.. If one is used to compiling modules.. >>

https://github.com/Ryuinferno/frandom-android

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] lastforone:
I'll have a look at it and get back to you...

EDIT: I'l just quote this.

so as it says you can try the Punchmod but before you do that i'd recommend you to give a try to Amperific's Kernel [A.S.K.P-Build14] with CrossBreeder combo, you may not even need the frandom after that.
[Samsung Galaxy Nexus] Jar3112:
Thank you for your suggestion, but I'm looking for the frandom module alone.. In addition, I'm on 4.1.2 so I'm using old kernels!

I think I'll just try asking for someone to compile it for me, provided with the kernel sources.. Or in extremis I'll try compiling it myself..

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] lastforone:
GoodLuck with that ^^
[Samsung Galaxy Nexus] Jar3112:
After many tries, I managed to compile frandom for my kernel, though executing insmod gave an error:

u0_a41@android:/ $ su

root@android:/ # cd /sdcard

root@android:/sdcard # insmod frandom.ko

insmod: init_module 'frandom.ko' failed (Exec format error)

How can I troubleshoot this error? Maybe I should run the insmod command on the pc, using adb shell?

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Jar3112:
I found something else.

After facing the error I executed dmesg and this was the output:

<3>[23304.409484] frandom: version magic '3..0..31-04244-g560d2c8-dirty SMP preempt mod_unload ARMv7 ' should be '3.0.31-04244-g560d2c8-dirty SMP preempt mod_unload ARMv7 '

I tried changing the extraversion in the kernel source makefile, but still couldn't find the right, what am i missing?

I swear after this I'm writing a noob-proof tutorial for compiling kernel modules.

That would surely help, considering the amount of difficulties I am facing trying this for the first time..

Sent from my Galaxy Nexus
[Nexus 4 General] MidtownHD:
Looks like Nexus devices are getting JWR66N as the official 4.3 build.

Unless there's OTA update right after the release of the new Nexus 7

check this vid

2nd gen Nexus 7 hands-on

But the S4 GPe already had a newer build leaked JWR66V, with a build date of July 11th.

What do you guys think?
[Nexus 4 General] JNewms:
I think those nexus 7's were sent to warehouses before the latest build had been made. There will be a newer build for the official release. They'll get an OTA.

Franco Minuum Nexus 4
[Nexus 4 General] MidtownHD:
Finger crossed, are you still using the leaked build?
[Nexus 4 General] JNewms:
No, I switched yesterday. I was wanting to test a couple things to compare stock 4.3 to 4.2

Franco Minuum Nexus 4
[Nexus 4 General] Rusty!:
The N and the V in the builds mean very little in the grand scheme of things.
[Nexus 4 General] StephenSpig:
Even if there is no real difference between the two, can someone explain what the difference is, regardless...?
[Nexus 4 General] Rusty!:
http://source.android.com/source/build-numbers.html