Please help me fake build prop without reboot - General Questions and Answers

I want fake build prop with source android but when I try to fake or change it, it forces me to reboot, so I can fake it without rebooting the system or not. (like hook API) ? Please help me , thanks all

Related

Change default view?

Hi
I would like to know how to change the default view, i want to set it in Landscape but i don't know how (i don't want to use launchers) .
Thanks .
Which Rom do you use? Which Phone do you have? etc... I guess we need more information
I have a Huawei u8350 with this rom : http://forum.xda-developers.com/showthread.php?t=1384145 .
And the problem is : http://imageshack.us/photo/my-images/862/u8350.jpg/
At left, how the rom work on my phone.
At right, how it should be .
My screen is large so, it's landscape by default, but the rom is in portrait .
So i need help to change this .( i heard about a file phonewindowsmanager.java but i don't know how to modify it)
Sorry for my poor english .
Haha my english is poor too
So okay the rom you've posted isn't for your device, right?
But anyway the device should display the portrait version - are there any settings for things like that?
If I google "phonewindowsmanager.java" there are only results for other java apps and so on... Do you have a link?
If this don't work you should try a launcher or you could make an own custom rom
The rom is not for my phone but everything on this rom work on my phone, i have tried all and no problems .
I tried ADW and with the screen orientation option, it fix the problem, but not for everything : somethings still displays in portrait like the keylock .
I found this on google by searching "default landscape android" : http://stackoverflow.com/questions/...ault-orientation-on-android-i-e-get-landscape
http://boundarydevices.com/blogs/set-android-default-orientation-to-portrait-mode
http://www.mailinglistarchive.com/html/[email protected]/2010-07/msg00037.html
http://e2e.ti.com/support/embedded/android/f/509/t/110119.aspx
I don't realy know how to make custom roms, but if we can just fix this, it will be great : this phone has no custom roms .
thx
Yep, I've tried to find some other roms for your phone but there are no other roms....
" You can look into PhoneWindowManager.java in frameworks. There, orientation can be changed to the either portrait / landscape. "
At my Defy the folder framework is in the folder system - so you could look for this file...
I used ES File manager and didn't found it ...
I found the framework folder, but no phonewindowsmanager in .
So you could try this here http://boundarydevices.com/blogs/set-android-default-orientation-to-portrait-mode - you could copy the file you have to your sdcard and connect your device with your pc and copy the sourcecode into the file - but plz make an backup
I'm not responsible for your phone if you break it
blablabla123456789 said:
So you could try this here http://boundarydevices.com/blogs/set-android-default-orientation-to-portrait-mode - you could copy the file you have to your sdcard and connect your device with your pc and copy the sourcecode into the file - but plz make an backup
I'm not responsible for your phone if you break it
Click to expand...
Click to collapse
Ok i will try .
Sorry, i'm lost at this, i just don't understand what should i do, can you tell me pls ?
I have the android SDK and Java SDK installed .
If I understand the instructions right, you have to copy the sourcecode from the site into your .java-file and it should work - Open the java-file and edit the function rotationForOrientationLw() like the instructions.
Thanks a lot ! Without your help, i think it was impossible, but now i got it !!!!
I i'm going to test this new modificated rom on my phone, and if it works, this huawei u8350 will have his first rom with your help !
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Haha
If it works you should upload and share your file, if someone else has the same problem.

ChangHong Z-me ROOT / PLAY STORE FIX!!!

How to root the Changhong Z-me:
You can use SuperOneClick (any version) Google it...
When you plug your phone in make sure usb debugging is ticked (in settings)
Also make sure install from unknown sources is ticked
When you plug your phone in it will prompt to install drivers DONT!!!! ignore it!!
Open SOC it will detect but will prompt to install drivers (general ADB drivers) click install!!
THEN SIMPLY CLICK ROOT!!
Play Store FIX!!!
This not a flashable ZIP!!
SORRY BUT YOU HAVE TO DO IT MANUALLY...
Download the FIX: http://www.4shared.com/zip/RQdAxsy8/ChanghongPlayStoreFIX.html
Copy to SD-CARD
Install ES-File Explorer
go into es-file explorer settings> sort by> Modified> Descending
tick root explorer, up to root and mount file system.
click select multiple items> copy the contents from system/app to the android system/app and so on...
reboot and should be done!!!
LINK your Google account!!
REMEMBER THE FILE PERMISSION ARE THE SAME FOR ALL THE CONTENTS IN THE ZIP you have to change them manually
x-x-x
x- -
x- -
Also a CWM recovery for the Changhong Z-me
http://www.dashifu.com/forum.php?mod=viewthread&tid=391&fromuid=2
rayner123 said:
How to root the Changhong Z-me:
You can use SuperOneClick (any version) Google it...
When you plug your phone in make sure usb debugging is ticked (in settings)
Also make sure install from unknown sources is ticked
When you plug your phone in it will prompt to install drivers DONT!!!! ignore it!!
Open SOC it will detect but will prompt to install drivers (general ADB drivers) click install!!
THEN SIMPLY CLICK ROOT!!
Play Store FIX!!!
This not a flashable ZIP!!
SORRY BUT YOU HAVE TO DO IT MANUALLY...
Download the FIX:
Copy to SD-CARD
Install ES-File Explorer
go into es-file explorer settings> sort by> Modified> Descending
tick root explorer, up to root and mount file system.
click select multiple items> copy the contents from system/app to the android system/app and so on...
reboot and should be done!!!
LINK your Google account!!
REMEMBER THE FILE PERMISSION ARE THE SAME FOR ALL THE CONTENTS IN THE ZIP you have to change them manually
x-x-x
x- -
x- -
Click to expand...
Click to collapse
Hey thanks for your interest in this nice phone and in my thread!
Sorry for late reply but yesterday I managed to install Google Play with a tutorial from this site too but for Kindle Fire.
I used Root Explorer and have done as you say too and it works flawlessly ^^.
The problem is that I don't know how to install a recovery.
I hope more people have this nice phone and we are able to share as much info as we can, I really like it. My last phone was a Samsung Galaxy Spica and I am tired of it because it's crap >_<.
Thank you so much for you effort!
P.S: btw, I would want to know whether there are different versions of GoogleFramework or Vending, because I don't know if they have to be the same for it to work. I mean, with the actual Google Framework and Vending I can still continue updating Google Play app or it will crash since I have to update to the same version the other two?
nobitakun said:
Hey thanks for your interest in this nice phone and in my thread!
Sorry for late reply but yesterday I managed to install Google Play with a tutorial from this site too but for Kindle Fire.
I used Root Explorer and have done as you say too and it works flawlessly ^^.
The problem is that I don't know how to install a recovery.
I hope more people have this nice phone and we are able to share as much info as we can, I really like it. My last phone was a Samsung Galaxy Spica and I am tired of it because it's crap >_<.
Thank you so much for you effort!
P.S: btw, I would want to know whether there are different versions of GoogleFramework or Vending, because I don't know if they have to be the same for it to work. I mean, with the actual Google Framework and Vending I can still continue updating Google Play app or it will crash since I have to update to the same version the other two?
Click to expand...
Click to collapse
no, play store wont crash you can still continue updating the app!!
rayner123 said:
no, play store wont crash you can still continue updating the app!!
Click to expand...
Click to collapse
Hey I have a question about your procedure: what's the use of ETC, FRAMEWORK and LIB folders?, I just moved all the apk and fixed permissions and everything works fine. I could even install Google Maps and use it without problems and I can see inside FRAMEWORK folder there's something related with Google Maps so in the PERMISSIONS folder.
Just installing the apk's will give me any problem in the future?
Thanks for your effort!
nobitakun said:
Hey I have a question about your procedure: what's the use of ETC, FRAMEWORK and LIB folders?, I just moved all the apk and fixed permissions and everything works fine. I could even install Google Maps and use it without problems and I can see inside FRAMEWORK folder there's something related with Google Maps so in the PERMISSIONS folder.
Just installing the apk's will give me any problem in the future?
Thanks for your effort!
Click to expand...
Click to collapse
no they shouldn't be a problem. Just got my changhong z-me into a boot loop sort of thing thing it boots to the wo 3g then reboots! Just installed the beats audio installer from play store!! I repent doing it!!!!
rayner123 said:
no they shouldn't be a problem. Just got my changhong z-me into a boot loop sort of thing thing it boots to the wo 3g then reboots! Just installed the beats audio installer from play store!! I repent doing it!!!!
Click to expand...
Click to collapse
Ohhh, I'm so sorry.
Can't you put the phone into Download Mode by pressing volume+ power buton?
I wonder how to do a firmware backup so you can restore the phone with it using Odin and return it to life. I would be good in case we do further unsuccessful moves T_T. It's a pity I'm not an android developer or pro and I can't help you as much as I would want, sorry.
nobitakun said:
Ohhh, I'm so sorry.
Can't you put the phone into Download Mode by pressing volume+ power buton?
I wonder how to do a firmware backup so you can restore the phone with it using Odin and return it to life. I would be good in case we do further unsuccessful moves T_T. It's a pity I'm not an android developer or pro and I can't help you as much as I would want, sorry.
Click to expand...
Click to collapse
This incident wouldn't have happened if i had a backup and restore function in recovery!! I have found a chinese website with the changhong z-me firmware but i cant download because I'm a newbie apparently i have to 52 prestiege to download?! I think the firmware is a .nb0 as in the recovery there is a option for "download nb0 from sd card". I have found a website on how port CWM. http://www.acsyndicate.net/how-to-porting-cwm-to-other-devices-os-x-part1/
Good news is i got a z-me firmware but when i flash PID doesnt match or something. Dude can you plz do me a favour. If u can check for update for ur phone and then share it on this thread! So i can recover my phone.
Dude can u plz provide me ur phones build.prop (it hasnt got anything personal (just incase your wondering )) i just need to check something as i cant access my phone.
Thanks
Hello, sorry for late reply!.
Well, I don't know how to check PID, the info I cal tell you is:
Baseband Version: PCR
Kernel Version: Apps_2.6.32.9-perf
Build Number: 7001_3_180
I don't know whether that info is useful to you, but that's what it says in the "about phone" section, among other trivial things.
And as for the update you say, there's a "check for updates" option inside the phone, but it always says there's no update avaliable.
I will try to find some info about the phone in some chinese sites.
About the build.prop thing you say, I paste you the text:
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=GWK74
ro.build.display.id=GWK74
ro.build.version.incremental=7001_3_30B
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Fri Nov 4 17:33:01 CST 2011
ro.build.date.utc=1320399181
ro.build.type=user
ro.build.user=user
ro.build.host=user-hostname
ro.build.tags=release-keys
ro.product.model=ChangHong-Z-ME
ro.product.brand=ChangHong
ro.product.name=ChangHong-Z-ME
ro.product.device=z-me
ro.product.board=Z-ME
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=FIH
ro.product.locale.language=zh
ro.product.locale.region=CN
ro.wifi.channels=
ro.board.platform=msm7k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=z-me
service.config.gsensor_cal=1
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=ChangHong-Z-ME-user 2.3.7 GWK74 7001_3_30B release-keys
ro.build.fingerprint=ChangHong/ChangHong-Z-ME/z-me:2.3.7/GWK74/7001_3_30B:user/release-keys
ro.telephony.fdn.data=
# end build properties
#
# system.prop for surf
#
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
DEVICE_PROVISIONED=1
dalvik.vm.heapsize=96m
ro.sf.lcd_density=240
#DMM
ro.dev.dmm=1
#
# system props for the cne module
#
persist.cne.UseCne=vendor
persist.cne.bat.range.low.med=30
persist.cne.bat.range.med.high=60
persist.cne.loc.policy.op=/system/etc/OperatorPolicy.xml
persist.cne.loc.policy.user=/system/etc/UserPolicy.xml
persist.cne.bwbased.rat.sel=false
persist.cne.snsr.based.rat.mgt=false
persist.cne.bat.based.rat.mgt=false
persist.cne.rat.acq.time.out=30000
persist.cne.rat.acq.retry.tout=0
#
# [email protected] TWHuang for DMQG.B-82 begin
lpa.decode=false
# [email protected] TWHuang for DMQG.B-82 en
ro.hdmi.enable=true
#
# system props for the data modules
#
ro.use_data_netmgrd=true
#
# system props for telephony modules
#
#device supports EHRPD
ro.config.ehrpd=true
#Enable dumping QcRil log
persist.radio.adb_log_on=1
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.setupwizard.mode=DISABLED
ro.opengles.version=131072
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
service.config.gsensor_cal=1
wifi.wapi.supported=true
ro.wifi.wapiQC.supported=true
ro.shutdown.long_anim=1
ro.speedup.anim=1
ro.telephony.gsm.sms.auto-reg=true
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.product.model.num=7001
I hope it can help you
P.S: By the way, I have noticed that the WIFI module makes my phone very hot and my girlfriend's one too. The worst thing is that when I active the wifi the battery only lasts 6-8 hours and that's not normal. Maybe some issue with drivers? I have seen the module is WCN1314 but the drivers are WCN1312 I have seen somewhere, is that normal?
Hey! good news.
I found a site which seems huge about phone official and custom ROMS from china (http://www.shendu.com/), but Changhong Z-Me isn't listed. I think it's a matter of time it will appear in there I think. I just have tested the phone with antutu test 2.9.4 (gave me 3010) and there are more Changhong's Z-Me, but some have ICS 4.0.3!.
I hope we can get ICS or Jelly Bean for this nice phone, ar at least some custom Gingerbread roms ^^
EDIT1: I have also found a person explaining how to recover the mobile or something like that (it is translated with google sorry). Check this out, and let's hope it can solve the problem:
http://bbs.ahong.com/viewthread.jsp?tid=686&extra=page203D1
Yes hopefully we do!!! The thing is MSM 7227A gets ICS and the MSM 8255 doesnt eventhough its better?! Hopefully i can recover my phone! I think the recovery is in beta mode as somethings don't work.
I would say just the CPU isn't enough because if so we would be able to put even Jelly Bean, because MSM8255 CPU is so spreadly used. I wish I could be an Android programmer >_<.
nobitakun said:
I would say just the CPU isn't enough because if so we would be able to put even Jelly Bean, because MSM8255 CPU is so spreadly used. I wish I could be an Android programmer >_<.
Click to expand...
Click to collapse
same!!
Hey, I've got a new problem about the phone. It isn't that important, but it gives on my nerves: the phone deletes any contact I edit. After pressing "done" button it deletes the contact and a pup up message tells me that "the contact does not exist".
I don't want to install another phone book because I like this one, simple and fast, and it does not eat much RAM, aspect which I consider very important.
A thing would be to replace this phone and address book with the Gingerbread stock ones, but I've been reading that it could make a crash loop in the phone.
Have you repaired yours already?
Let's keep in touch!
nobitakun said:
Hey, I've got a new problem about the phone. It isn't that important, but it gives on my nerves: the phone deletes any contact I edit. After pressing "done" button it deletes the contact and a pup up message tells me that "the contact does not exist".
I don't want to install another phone book because I like this one, simple and fast, and it does not eat much RAM, aspect which I consider very important.
A thing would be to replace this phone and address book with the Gingerbread stock ones, but I've been reading that it could make a crash loop in the phone.
Have you repaired yours already?
Let's keep in touch!
Click to expand...
Click to collapse
Maybe I'll look in to this problem! No i haven't repaired my phone yet as I'm busy with my studies so hopefully I will be able to get it up and running again soon! Hopefully someone will be able to get CWM/TWRP recovery up and running on this device!!
------------------------------------------------------------------------------------------------
If I've helped you plz hit the Thanks button and show some appreciation!!
It's someway nice, I managed to repair the problem I was having with the missing edited contacts. Now the phone edits and saves them with no problems ^^. In case you have this problem in the future, I explain what I did:
1 - Backup all contacts to your Gmail, vcard or csv file.
2 - Turn sync contacts off (all accounts) and delete all contacts in your phone.
3 - Go to all applications and look for one called "Contacts Storage".
4 - Do a "Clear Data" and turn on Sync Contacts again, or whether you prefer import them all from the vcard file.
*If you use SIM contacts I don't know whether the program would delete them as it does with the ones stored in the phone, I didn't tested it.
Greetings.
My phone is alive
my phone is alive!!! But before it was 2.3.7 with the wo 3g logo on boot now it is official changhong z-me 2.3.7. But as long as i got it working doesn't matter!!
------------------------------------------------------------------------------------------------
If I've helped you plz hit the Thanks button and show some appreciation!!
CDMA
~\DELETED/~
------------------------------------------------------------------------------------------------
If I've helped you plz hit the Thanks button and show some appreciation!!
Hey!, sorry for the late reply.
I'm really happy you could fix it. I've been out from PC because of studies and family, but now I have some spare days jeje.
I have to say I also updated my changhong with the original firmware and the logo is as you say, and it swept out almost every annoying chinese app LOL.
I installed again the google fix and everything is working flawlessly.
P.S: btw, the google fix you uploaded lacks Google Calendar. IT does not matter, because I just installed Calendar and it works fine, no problems so far. Thanks again.
P.S 2: I noticed you added a link for the recovery file. I found another recovery file which seems to be different to the one you found (different size). I found in the official changhong forum (here's the link: http://bbs.ahong.com/viewthread.jsp?tid=1933&extra=page=2 ). Should it be other CWM version?, I still didn't try it, that why I ask, maybe you did .

[Q] New System Permissions

Hi,
does anybody know how to create new System Permission in Android OS source code? For example current Android has the INTERNET permission. If I want to impose another one at a custom ROM, how can I achieve that?

[Q] Android for x86 including PDroid 2.0 Patch

Hi guys,
i don't know where to post this so i just try the general section.
I'm sorry if this is the wrong one.
For university i want to show the impact of denying permission to the functionality of differet apps in the context of how to provide data security on mobile devices.
For example:
- Barcode Scanner without the permissions to scan the contacts, history, ...
- Differnt Games without the permission to access the internet to block ads
- ...
But right now i have an issue i seem not be able to solve.
I would like to use a virtual Android on Win7 for my experiments.
But i can not find a single Android x86 build (>4.0) which is already patched for PDroid 2.0.
Do you know where i can find one?
Can someone of you pleae create such an image (.iso) for me or give me detailed instructions on how to do it?
I guess in general it should work like this:
- download the Android x86 sources
- apply the PDroid Patch on it (it will work if the Patch does not use native code. Otherwise the Patch has to be compilied for x86, too)
- compile
I really appreciate your help!!!
THX!
nobody has any idea?

[Q] App can not open in Rooted mobile

"https://play.google.com/store/apps/details?id=com.pro90d&hl=en"
app name : "How to Stop Stuttering-Trainer" in playstore
my device : Redmi 1s
Rom : miui v5 - JHCMIBH45
App can not open in Rooted phone
pls slove the problem and Link the sloved APK file..................
do not reply "to unroot ur phone"
Possible Problem
I think, i know what could possibly the problem.
Maybe the App is Programmed to Detect a Rooted Device and if it does, then it won't run properly. Like HillClimbRacing..
HillClimbRaceg for example Detects, if your device is rooted. Then it saves the XML-File with your Coins-Number veeeeery Hiddenly.
Try to Disable the Root-Rights for this app with a Android-Dev-Superior App, which can disable root/some rights for some speciefied apps.
ANOTHER POSSIBLE PROBLEM: Android Version
••••• ·Which Android Version do you have?••#•••
If your Version is 4.4.2, then let you know, that 4.4.2 is bogus.:crying:
Android 4.4.2 was horrible to me! Very much bugs. One of them (the „Data-Loss Bug“ in combination with the MTP-Instability) erased 10 GB of Data on my Device. Even the BEST DATA REVOCERY PROGRAM IN THE ENTIRE WORLD, isn't able to do ANYTHING in combination with MTP:crying: Hrorible! :crying::crying:
u can crack the APK file
crack the APK file
or give patch file for slove the problem
solution:
http://forum.xda-developers.com/xposed/modules/mod-rootcloak-completely-hide-root-t2574647

Categories

Resources