Updater-script help! - Android Software/Hacking General [Developers Only]

Hi guys, I have my set of mods for a few of the HTC phones and I want to create an updater-script that checks for a file before flashing the mod. If the file exists, continue. If not, abort. I have a really round-about way of doing it right now (I'm sure there is a better, more efficient way to do it) but I'm hoping for a little bit of direction, as I have been working on this for the better part of 8 hours and not getting very far.
I will attach what I have so far, the last thing last_log told me from recovery was error in line 8, col 21. Any help would be great, thanks!

Help bump

still need help?
Dude, this is all set, right? (Also, I need to post 10 items before I'm allowed to post in some forums... so this makes 2 down 8 to go!)

ekarelis said:
Dude, this is all set, right? (Also, I need to post 10 items before I'm allowed to post in some forums... so this makes 2 down 8 to go!)
Click to expand...
Click to collapse
You definitely helped me out with this, but I didn't include it because to check for the file I need can't be done without a ton more work since the file is located in /root, which isnt available in recovery.

Related

Combining different MODs

I applied a theme, and a few of JChi's mods to my ROMs, and was wondering if I could put them all together and either do a .bat or .zip?
I'm not sure about pushing files because of the theme, etc, (which would be done in bat)
Any help is appreciated.
no search results for
combine mod
combining zips
which mods do you want done?
I'm assuming you're asking, cause you'll zip it up for me, and it is appreciated, but is there a thread/tutorial in this? Do I just need to "sign" it?
1. Stock_Espresso - on DC updater
2. JChi - No End Call Button MOD
3. JChi - No Clock in Taskbar
4. Vanilla Lockscreen
5. Custom boot that I have
Thanks for the response!
THanks again
tejasrichard said:
which mods do you want done?
Click to expand...
Click to collapse
I actually grew a pair and am attempting to do this myself.
Nandroid first
Give it a whirl!
awesome man! if you check the 2.1 themes thread, and look for my name in the table of contents, I posted a theme that is pretty much exactly what you are trying to do.....plus some stuff that i liked. If you rip it open, you should be able to see exactly what you need to do to make yours work. Have fun! If you need any help, post over there and someone will give you a hand.
here is a link to that post:
http://forum.xda-developers.com/showpost.php?p=6270952&postcount=5
tejasrichard said:
awesome man! if you check the 2.1 themes thread, and look for my name in the table of contents, I posted a theme that is pretty much exactly what you are trying to do.....plus some stuff that i liked. If you rip it open, you should be able to see exactly what you need to do to make yours work. Have fun! If you need any help, post over there and someone will give you a hand.
here is a link to that post:
http://forum.xda-developers.com/showpost.php?p=6270952&postcount=5
Click to expand...
Click to collapse
Awesome, I had some trouble with the syntax in the update script but got some help from some good posts, and a few failed attempts!
I think I got it working, my custom bootscreen is currently on, but for some reason I think it moved my dalvik-cache from my sd to ROM, not sure how that is going to work out...haha.
See if it all worked once I'm booted.
yeah, update scripts give me fits sometimes. I normally "borrow" mine from others and then modify them to fit my needs. But then, I'm a cheater
tejasrichard said:
yeah, update scripts give me fits sometimes. I normally "borrow" mine from others and then modify them to fit my needs. But then, I'm a cheater
Click to expand...
Click to collapse
Well I messed something up because it tries to load espresso and it just restarts my boot screen again...haha.
I did have a number of failed flash attempts so I'm going to restore my nandroid and restart, make sure we're good, then re-flash my update.zip and see if it fixes itself.
I tihnk it could be the dalvik cache is too much (considering how many apps I have installed, etc.) and its causing problems.
Not sure what would have reset the DC.conf file....Oh well...here's to troubleshooting!
UPDATE
Got it up and running.
First time I've zipped and signed files. Now I just have to get the courage to edit and make themes! LOL.

[INFO] The developer FAQ thread (all you need to know about things like ABD and REWT)

Here is a list of Frequently Asked Questions for all you people coming here with questions like OMG HAO DO AI REWT MI TAB or MI ABD NUT WERKAN PLZ HALP, and the ever popular CN I RUT 0423 WIT DIS?
Lucky I have compiled the most popular questions and listed them here, with full explenation and solution.
Enjoy!
1. HAO DO I REWT MI TAB? I DUNNO WHER 2 FIND DIS THENKS.
Rooting your Transformer can indeed be done with the link here, however you will need some stuff beforehand like adb to get your Transformer rooted and ready to use that method. So for you guys who do not feel comfortable with that, do this.
2. WUT IS ABD PLZ HALP I DUNNO HOW 2 USE OMG SO CONFUZD
To get adb up and running, you simply have to follow the guide here. Oh, and you need the Asus PC Sync software from here. Simply select your PC operating system, download and install the Asus PC sync software.
Alternatively you can use the guide made by a kind xda member (screenshots included) here.
3. CN I R00T MY 0423 BUILD I WANN HAS ROMS?
Yes, indeed you can with the guides linked above.
4. OMG I HAS US/TW/UK/MOON TF101 CN I FLASH WW ROMS?!
After rooting and installing CWM you can flash any ROM you like, the regions only matter for stock updates at this time. So go ahead and flash any ROM you like.
5. WUT IS CIFS.KO && TUN.KO?!
If you don't know what it is, don't worry about it, it means you probably don't need it. But in the offchance you do need tun.ko for VPN, here is a link to installing openVPN.
6. I ROOTD AND MI CAMERA ++ BT NO WERKAN, WAT I DO?
Simply flash the BLOB_V5 file available in the root guide, use the same steps you used to flash (so not all the steps) BLOB_V4, just replace the CWM_BLOB_V4 parts with CWM_BLOB_V5 and that should fix your issues.
7. OMG MI SD CARD NO WERK FOR FLASHAN ROMS WHAT DO?!
Try and use fix permissions from CWM, or try a couple of times. Another fix for the sd card issue you can try, is to put the non working sd card into an android phone then go to storage on the phone and erase the sd card. reinserting that card into the transformer will then allow it to mount to CWM.
if it still doesn't work your card is probably hated by CWM (some are, for what reason we don't know) and you'll need to use a different SD card.
8. HAO 2 OVERCLOCK, MOAR CLOCK
You can overclock if you have root and CWM already. Simply go here and flash this kernel through CWM.
9. CN I FLASH BLOBZ THRU CWM
There is currently 1 way to flash the blob through a zip update if you are not on the 0325 build. This is by flashing the latest Modaco ROM which has the BLOB included.
10. CN I UNREWT MI TAB? I HAS NO WORRANTIES ANYMOAR
Yes. Simply flash the blob from the Asus website using the same steps you used to flash the CWM blob. here is also a guide.
11. I UPDAETED TO 3.1 NOW REWT NO WERK, WAT DO?
Download the 8.2.2.9 update from Asus and copy it to your internal memory to downgrade or do this.
12. MI TAB IS A BRIK, IT NO DO ANYTHING OMG HALP D: <- sadface
You can use this method to try and unbrick it, if that doesn't work, you're pretty much screwed.
13. WAT MI BATTERI IS DRAINING WTF SHUD I DO?
Well you see we made a shocking discovery today, electronics use electricity while turned on! I know! We were just as surprised as you are!
OMG CANNOT FIND MI INFO WTF IS FORUM SERCH?
For all of you slightly special people out there, here is a list of other threads that might help you find what you need. These have been cherrypicked by moi, feel free to post important additions.
[INFO] The Ultimate Transformer Information Thread - Pretty much what the title states, it has links to just about anything.
[INFO] Firmware Update (FOTA) Changelog - A changelog for all the officials updates released by Asus.
[INFO] List of Compatible Apps/games/etc - List of working apps, and which are Honeycomb (android 3.0+) optimized.
Thank you.
credits:
neilkarunatilaka - for updated sd card fix.
While I think a FAQ is an excellent idea, your implemantation is a little uncalled for, not to mention annoying.
msw1382 said:
While I think a FAQ is an excellent idea, your implemantation is a little uncalled for, not to mention annoying.
Click to expand...
Click to collapse
How so? It has all the frequently asked questions explained in a proper and clear manner. Or maybe I just have a different sense of humor.
Nice FAQ! And i like your sense of humor
Haha rewt...
You should spell Rom rawm
Sent from my ADR6400L using Tapatalk
Find myself agreeing with msw1382 I'm afraid. Takes too long to read. Almost need some sort of leetspeak translator to get what you're saying. Guess I'm too old.
I believe the op is a little tired of people asking the same questions over and over. I thought it was kinda funny...
Sent from my ADR6400L using Tapatalk
Haha I love it, that has to be the funniest first post I've read on these forums. Anyone who has ever spent any length of time helping out newcomers must surely be able to relate to this. Its horses for coarses tbh but your sense of humour is right up my street.
Also informative at the same time.
stuntdouble said:
Find myself agreeing with msw1382 I'm afraid. Takes too long to read. Almost need some sort of leetspeak translator to get what you're saying. Guess I'm too old.
Click to expand...
Click to collapse
I edited it a little to improve readability while trying to keep the original charm, hope it helps.
seshmaru, a fix for the sd card issue, #7 is to put the non working sd card into an android phone then go to storage on the phone and erase the sd card. reinserting that card into the transformer will then allow it to mount to CWM.
just thought you could add that into your list. its been verified by myself and then a couple others tried it also.
i find it hilarious how you worded the headings haha.
neilkarunatilaka said:
seshmaru, a fix for the sd card issue, #7 is to put the non working sd card into an android phone then go to storage on the phone and erase the sd card. reinserting that card into the transformer will then allow it to mount to CWM.
just thought you could add that into your list. its been verified by myself and then a couple others tried it also.
i find it hilarious how you worded the headings haha.
Click to expand...
Click to collapse
Added your fix and credited you in the OP.
I have to agree with some of the previous posters, that this is not easy to read, and the humour is old and nothing special (and repetitive for that matter - one witty question in that style would have gotten the same 'humorous' point across while still keeping the FAQ useful). This way people will probably hardly use it, and certainly not refer to it. That's a shame...
stridger said:
I have to agree with some of the previous posters, that this is not easy to read, and the humour is old and nothing special (and repetitive for that matter - one witty question in that style would have gotten the same 'humorous' point across while still keeping the FAQ useful). This way people will probably hardly use it, and certainly not refer to it. That's a shame...
Click to expand...
Click to collapse
Lol, I think its fine. It's only the headings, not like he/she typed up the actual useful information that way, its still very readable and VERY useful for anyone needing the info.
Sorry, I have to state I find the post annoying as hell. It take four times as long to attempt to read and looks worse than my 7yr old's text messages. But, for any who are so desperate for help that they make it through child speak...
Hopefully, it helps them out.
It's only the headers that are slightly more difficult to read, the actual content is written in perfectly comprehensible english. Besides by having to decipher it, atleast they'd be doing SOMETHING for the info instead of gettng it simply handed to them.
shaneaus said:
looks worse than my 7yr old's text messages.
Click to expand...
Click to collapse
Then your 7 year old has better spelling skills than around 80% of teens these days.
Updated and tweaked.
ROFLMAO! Many thnks for such an AMUSING and informative guide...truly! My TF will be here Friday so I am prepping for sum fun!
You need to add unroot to your FAQ.
timtlm said:
You need to add unroot to your FAQ.
Click to expand...
Click to collapse
I'll add the basic steps to the FAQ, although I can't link to a full guide since no one has made one yet.
seshmaru said:
I'll add the basic steps to the FAQ, although I can't link to a full guide since no one has made one yet.
Click to expand...
Click to collapse
I have one already typed up, I just haven't posted. I can post it up if you'd like. But yeah, you pretty much laid it out plain and simple in that one sentence.

ROMS?

Has a ROM been made for the device yet?
As soon as one is made I will be one happy user as this tab has soooo much potential to be great
BEST DAMN PHONE BECAUSE WE HAVE THE BEST DAMN DEVELOPERS!
Yeah i know i need one now lol
bkundert21 said:
Yeah i know i need one now lol
Click to expand...
Click to collapse
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
garyd9 said:
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
Click to expand...
Click to collapse
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
skeeterpro said:
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
Click to expand...
Click to collapse
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
otamctech said:
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
Click to expand...
Click to collapse
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
skeeterpro said:
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
Click to expand...
Click to collapse
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
otamctech said:
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
Click to expand...
Click to collapse
Interesting. I was just able to copy/paste from root to a folder on the exStorages and copy a file from the internal to the exStorages (an apk and an ePub)
Just re-read your post. From an app to exStorages. Hmmm...will try that.
Don't have quickoffice but polaris has very few options. Almost too few.
otamctech said:
I'd like to see a r/w external sd card.
Click to expand...
Click to collapse
I'd like to see that as well, but it'd probably be a kernel change, not what people here call a ROM change. Let's see, here's how it's currently mounted:
Code:
/dev/block/vold/179:17 /mnt/sdcard/extStorages/SdCard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
It's already mounted as read-write. The thing that's preventing normal user write access is the uid/gid combo with the fmask/dmask (not sure why samsung didn't just use a umask instead of both of the other masks.) Essentially, what that is doing is say that all the files and directories (including the root of the mount) are readable by anyone, but only writable to the "system" user, or a user in the "media_rw" group. I'm going to take a wild guess that the "camera" application, the "my files" application, and other samsung apps are in that "media_rw" group. (not sure how to check that...)
Interesting... I'm trying to remount it manually (mount -o remount,...) and while it's not giving any error, it's not working either.
I'm not sure how these "vold" mounts work, what options are valid for them, etc. It's an interesting issue, though...
All I want is a deodexed rom. Might have to break out android for dummies and learn how to.
Once we get that then let the theming begin.
Sent from my Insanity powered SGS2
Not to difficult i may give it a try soon.
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
garyd9 said:
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
Click to expand...
Click to collapse
I know, thats why I havent learned it yet lol.
However I am slowly figuring out theming while the rom is odexed. Got a few things going now
This device is powerful and awesome. Id love to be able to change themes and icons. The bloat ware doesn't get into the way and slow performance down. This devise will do me good for about 1 year to 1 1/2 years than ill upgrade to a new more powerful device.
this may help..
http://forum.xda-developers.com/showthread.php?t=1373131
I will likely wait for a clockwork recovery to start ripping stuff apart.
this is my first sammy product, wife has a cappy that I flash. nota huge fan of touchwiz but its easy on the eyes compared to my past 2 devices, dell streak 7 & 5.
Moving this to a proper forum.
chrisrotolo said:
I will likely wait for a clockwork recovery to start ripping stuff apart.
Click to expand...
Click to collapse
Which model do you have? GT-P6210 (wifi only), GT-P6200 (international 3G) or SGH-T869 (USA/TMobile 3G)?
There's no CWMR for the p6200 (yet), but I've already done them for the other two.
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
chrisrotolo said:
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
Click to expand...
Click to collapse
Are you fluent with a shell prompt? If so, in order to attempt a CWM recovery (based on what I've already done for the p6210 and t869), please run the following two commands as root via adb shell... (and copy the resulting information)
mount
cat /proc/partitions
.. that will give me a hint as to which partition is probably your recovery partition. Send me that info IN A PM. I'll respond via PM with some more commands (based on the info you send me, I'll need you to dump a partition or two and get the images to me.)
Once I have the proper information and images, I can PROBABLY make a successful CWM recovery image (but please understand that I'll have to recompile a kernel BLIND with no possible way to test myself.)
Take care
Gary
---------- Post added at 11:43 PM ---------- Previous post was at 11:40 PM ----------
I should also mention that I'm going to be VERY busy over the next 3 days, so even if I get the images and all works okay, the earliest I'd be able to have a recovery would be Thursday or so.

[Resolved] [Solved][Q] How to increase the media volume range for xperia mini pro [Help]

IF THERE IS A POST ABOUT THIS ALREADY PLEASE DON'T WASTE YOUR TIME AND JUST REDIRECT ME TO THE LINK
As said above, if the link you give me for the steps are hard (I cant do complex stuff, i only understand simple instructions) you can re write the steps here for me to get a better understanding
Okay, i am kind of irritated with the whole 15 levels of volume for Android devices and i wish to increase the range upto 30, 50 is preferred.
I've tried this link HERE
And obviously it didn't work because it is made for a Samsung device which is not mine
So done with the intro (Sorry if I bore you )
I will just tell you what I have and what i need
What I have:
I use an Xperia Mini Pro Sk17i
Running on Cyanogenmod 9.1 (ICS)
Yes it is rooted (No duh)
What I want:
Better range for my volume from 0-15 to 0-30 (50 is appreciated)
At least a frameworkmod.zip
Easy instructions or link to where i can do all this if it has been done
I know if there is a thread about this this will just make me look lazy or something but no, i have been searching around (still am) but i decided to ask so that a kind, charming, knowledgeable person (Trying to attract you ) can step forward and help me
Hope I can get a reply
Additional info can be asked at your request
There must be a specific rom for that..
.........................................................................................................................................................................................................................................
PLS PRESS THE THANKS BUTTON, IT MAKES ME FEEL BETTER.......:good:
Streetryders_2000 said:
There must be a specific rom for that..
.........................................................................................................................................................................................................................................
PLS PRESS THE THANKS BUTTON, IT MAKES ME FEEL BETTER.......:good:
Click to expand...
Click to collapse
I shall if you help me out more
Anywho, im sure you dont need a specific ROM for that
I've seen certain devices just have a framework.jar or framework.zip you need to install which just changes some codes
I found one thread HERE after some extensive searching and that volume fix is for my phone, it is not a Rom. I dont know if it will work with CM9.1 Mango but I am just doing a nandroid backup right now and I am going to try it
No helps?
Come on, im sure someone can help me out
Please?
Naweed Reza said:
I shall if you help me out more
Anywho, im sure you dont need a specific ROM for that
I've seen certain devices just have a framework.jar or framework.zip you need to install which just changes some codes
I found one thread HERE after some extensive searching and that volume fix is for my phone, it is not a Rom. I dont know if it will work with CM9.1 Mango but I am just doing a nandroid backup right now and I am going to try it
Click to expand...
Click to collapse
Okay, Prior to what I have said about trying this Fix from the link i provided.
It doesn't work
I am just stuck in the CM boot screen, I've changed the permissions as mentioned in the Topic
This post is solved thanks to numerous people
THIS POST HAS BEEN SOLVED THANKS TO NUMEROUS PEOPLE
Okay so I managed to get 30 steps of volume ^_^ :victory: (Yes I am jumping for Joy)
So anyways, alot of editing, i will be posting links to where i got help to and.... also make the steps easier incase any newbie (Like me) comes by
So yeah
I would Like to credit Dexter93 from #xda-rc who took his time to help me out
Recognized Contributor Chat Support Link HERE
Go to that link so you can access the link to have a chat with the recognized contributors if you have any doubts, they help alot ^_^
And if you are lucky they should be online most of the time
How I managed to do it
This is just for people who need to change their volume on their Mini Pro or other devices
Things you need :
Java software Development Kit
Download Latest JDK (Just download the Latest JDK, not JRE)
smali/baksmali tool (Thanks to the Korean guy, 'vorcot')
Download here
Have Notepad
Have your Framework.jar file on your desktop
Now sometimes Java might not be recognized in cmd
This will be noticed when you use Backsmali.bat (Happened to me)
You can get such message like: "Java Is Not Recognized As An Internal Or External Command"
So to fix that watch this video
Credits to the guy because I thought i would never fix it
After that
Go HERE
And follow the steps from "A. Basic Steps"
and in one step to change the volume you cant just put 30 or 100, it must be in hexadecimal form
You can use the converter here
Just enter a number on the decimal are which is your regular 1-Infinite numbers and click convert
Hope it helps for people who need it :good:
And Any questions can be asked
When I am free, i will make a full Tutorial for complete newbies

Help with editing my build.prop

Hi every one
just need to confirm from professional people here , i need to edit build.prop on my A9 device without rooting so that i could make some connection with my car screen (stupid screen accept only Samsung and LG) , Is that possible?
amro ibrahim said:
Hi every one
just need to confirm from professional people here , i need to edit build.prop on my A9 device without rooting so that i could make some connection with my car screen (stupid screen accept only Samsung and LG) , Is that possible?
Click to expand...
Click to collapse
First, this question gets asked A LOT so a simple search here or google will show numerous others asking this and their findings. It doesn't matter if its not specifically referring to HTC A9 or in this specific forum either.
That being said....to answer your question.....NO! ^_^ You will most likely need root to even access the system root folder where your build prop. You may find it using some app possibly that doesn't require root, open it and change values, HOWEVER, you will never be able to save these changes without root, sorry.
If you are knowledgeable on unpacking system images or have firmware.zip/tar etc that you can dig through and find the build prop, edit it on windows/linux/mac repack or rezip and flash it successfully....thats one way.
Another way would be to use ADB to pull what you want and push it back to system afterwards.....but not to sure as my phone(s) usually are rooted and never tried to use ADB unrooted. Somethings tells me that this too won't work but go for it.
mcbright80 said:
First, this question gets asked A LOT so a simple search here or google will show numerous others asking this and their findings. It doesn't matter if its not specifically referring to HTC A9 or in this specific forum either.
That being said....to answer your question.....NO! ^_^ You will most likely need root to even access the system root folder where your build prop. You may find it using some app possibly that doesn't require root, open it and change values, HOWEVER, you will never be able to save these changes without root, sorry.
If you are knowledgeable on unpacking system images or have firmware.zip/tar etc that you can dig through and find the build prop, edit it on windows/linux/mac repack or rezip and flash it successfully....thats one way.
Another way would be to use ADB to pull what you want and push it back to system afterwards.....but not to sure as my phone(s) usually are rooted and never tried to use ADB unrooted. Somethings tells me that this too won't work but go for it.
Click to expand...
Click to collapse
Actually i searched a LOT but i have found the TWO answers "Yes you can" AND "No you can not" , also people says yes you can giving steps i have no idea about it like this one
1. Make a process which executes "getprop" from the "/system/bin/getprop" directory and initialize the String which we want to get (ro.board.platform in example).
2. Make a BufferedReader which gets the value (String) by retrieving the data from a inputStreamReader().
3.Convert the BufferedReader to String.
. That is why i asked here again to get clear answer which i get it and many thanks for you
amro ibrahim said:
Actually i searched a LOT but i have found the TWO answers "Yes you can" AND "No you can not" , also people says yes you can giving steps i have no idea about it like this one
1. Make a process which executes "getprop" from the "/system/bin/getprop" directory and initialize the String which we want to get (ro.board.platform in example).
2. Make a BufferedReader which gets the value (String) by retrieving the data from a inputStreamReader().
3.Convert the BufferedReader to String.
. That is why i asked here again to get clear answer which i get it and many thanks for you
Click to expand...
Click to collapse
LOL i understand the frustration. I also spend a ridiculous amount of time scouring forums and any other place online for the many questions i need help with only to get fractured/incomplete answers or conflicting ones like you stated where it seems like the answer is both yes and no or whatever....its a real pain. Truthfully, I said you wouldn't be able to do this without root due to the level of difficulty of the other options trying without root. Creating bufferedreader etc is all Java Programming. You will need a decent working knowledge of java programming to be able to do what that guide was talking about.....i figured you might not have that so I said that NO to your question here. I know some of what that guide was explaining enough to create some of that they described but still not enough to feel comfy attempting. Your best option, i think, will be to extract the build prop from a stock.img and repack the system.img after editing the build.prop. Use 7zip to unzip/rezip the system.img and notepad++ to open/edit the build.prop and flash image in your recovery. You could also use Android Kitchen if you can. Plenty of tutorials on this. I linked two below for ya though. '
What were you looking to edit in the Build.prop anyhow? I assume you are disinclined to root/unlock bootloader for warranty issues correct?
BTW, sorry for such a late response...I am not always here for days at a time usually so.....
dsixda's Android Kitchen - http://forum.xda-developers.com/showthread.php?t=633246
Super-Rs - http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
mcbright80 said:
LOL i understand the frustration. I also spend a ridiculous amount of time scouring forums and any other place online for the many questions i need help with only to get fractured/incomplete answers or conflicting ones like you stated where it seems like the answer is both yes and no or whatever....its a real pain. Truthfully, I said you wouldn't be able to do this without root due to the level of difficulty of the other options trying without root. Creating bufferedreader etc is all Java Programming. You will need a decent working knowledge of java programming to be able to do what that guide was talking about.....i figured you might not have that so I said that NO to your question here. I know some of what that guide was explaining enough to create some of that they described but still not enough to feel comfy attempting. Your best option, i think, will be to extract the build prop from a stock.img and repack the system.img after editing the build.prop. Use 7zip to unzip/rezip the system.img and notepad++ to open/edit the build.prop and flash image in your recovery. You could also use Android Kitchen if you can. Plenty of tutorials on this. I linked two below for ya though. '
What were you looking to edit in the Build.prop anyhow? I assume you are disinclined to root/unlock bootloader for warranty issues correct?
BTW, sorry for such a late response...I am not always here for days at a time usually so.....
dsixda's Android Kitchen - http://forum.xda-developers.com/showthread.php?t=633246
Super-Rs - http://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
Click to expand...
Click to collapse
Thanks again for your replay , actually i still trying to proceed your way .. i think i am too close to do it , but you know after one or two hour of Trying&searching i say to my self let us unlock this phone and finish this matter .. any way i am using the Android Kitchen and i hope i could do it

Categories

Resources