Make CM7 detect the device as a tablet - Android

I went through a changelog of a CM7 build for a tablet once, and saw that they modified something in the build.prop to make it say 'About Tablet' instead of 'About Phone' in Settings, and remove the GSM Reception signal bars, and the 'Insert SIM Card' on the lockscreen. Unfortunately, I can't find this ROM or it's changelog anymore.
I'm working on a CM7 port for another tablet, and have the same issue now. So I was wondering if someone knows how to make CM7 detect the device as a tablet to disable the GSM functionality?

Chaosz-X said:
I went through a changelog of a CM7 build for a tablet once, and saw that they modified something in the build.prop to make it say 'About Tablet' instead of 'About Phone' in Settings, and remove the GSM Reception signal bars, and the 'Insert SIM Card' on the lockscreen. Unfortunately, I can't find this ROM or it's changelog anymore.
I'm working on a CM7 port for another tablet, and have the same issue now. So I was wondering if someone knows how to make CM7 detect the device as a tablet to disable the GSM functionality?
Click to expand...
Click to collapse
im not 100% sure, but if i remember right in the framework-res in the bools.xml there is something that reads along the lines of
tablet = false
you might want to have a look there and see if that helps

With cyanogenmod it has to do with the makefiles that are presented in the vendor.

Related

[SOLVED] Froyo Freezes On Every Boot

Thread has moved to this location: http://forum.xda-developers.com/showthread.php?t=950383
huge problems...
seconds after booting froyo it freezes on the home screen. this has always been an issue for my with froyo and has never ever happened with gingerbread.
This is a top that started seconds after showing the home screen, however I can't seem to copy and paste it.
This has always happened to me when using froyo, never on gingerbread. However I want to be able to use the 'functionality' of froyo as most things i would like to use are not present in gingerbread.
Managed to pull all the logs possible. See attachment, this was all in /Data/System/Dropbox/
Otherwise i cant run any commands after it freezes up.
From what I can tell there are some interesting results from the processes in the .gz log file
relpath should be written like this: rel_path
p.s you can rename the title of the thread by clicking "go advanced" after you click edit
Which Froyo freezes on homescreen? XDAndroid or Froyo X?
I've never been able to run XDAndroid properly, it ALWAYS get stuck on the homescreen and you must restart over and over and over....
Froyo X runs awesome, with the latest kernel is very stable and run pretty smooth
nickleby said:
Which Froyo freezes on homescreen? XDAndroid or Froyo X?
I've never been able to run XDAndroid properly, it ALWAYS get stuck on the homescreen and you must restart over and over and over....
Froyo X runs awesome, with the latest kernel is very stable and run pretty smooth
Click to expand...
Click to collapse
FRX04 should work great on any phone supported, assuming you follow the directions correctly...
maybe hw3d stuck your device like overclocking CPU,try to delete hw3d=1
doing exactly the same thing with froyo X red works perfectly
I had this issue since XDAndroid FRX03. And today finally found a solution.
Since FRX03 something is broken with GSM+3G. When booting with force_cmda=1 (resulting no network) or in airplane mode android works fine.
Enabling "Use only 2G" in android kinda work, but this option wont stick (see here: http://forum.xda-developers.com/showthread.php?t=711753 ).
Best solution is to disable 3G in WinMo.
You can read here how: http://forum.xda-developers.com/showthread.php?t=319208
Now I have FRX05 with old data.img from FRX02 working fine
I'vetried to select 2G only and the setting never sticks here either. reading that thread implies that the fix was already committed tho. Did I misunderstand, and he committed to some other repo than XDA is using?
I think this might not have been commited to XDAndroid, but only to "Super FroYo 2.2". However when I disabled 3G in WinMo, "Use only 2G" is grayed out in Android.
set aeroplane mode in winmo. Went into froyo and set aeroplane mode there also, restarted without the freezing issue disabled aeroplane mode and it hasn't froze since. 5 restarts...
i'm finding this post interesting as I dont have service (except wifi) and have been unable to get anything other than a frozen android device (cant call it a phone wthout service!) mine is a rhod500.
Guess I'm try to get it into airplane mode and see if I can regain control of my machine (kinda wish i had not deleted the old data.img now during my 'debugging')
cyryl said:
I think this might not have been commited to XDAndroid, but only to "Super FroYo 2.2". However when I disabled 3G in WinMo, "Use only 2G" is grayed out in Android.
Click to expand...
Click to collapse
You were right, it wasn't committed to XDAndroid. In fact there were a lot of fixes on the original repo that were never committed to XDAndroid. I've set up a clone and merged them all in here:
http://gitorious.org/~hyc/xdandroid/hycs-hardware_xdandroid-ril/commits/androidhtc1
I also fixed several bugs that weren't fixed in either of the previous source trees as well (mostly memory leaks). So far it's working well on my phone, but it will be a few hours before I know if the SoD problems are gone. I've also attached the binary here if anyone else wants to try it out.
Please continue the discussion in the new thread
http://cleanimport.xda/index.php?posts/12401881/
8 hours later with 3G enabled, no SoDs. Looking good.
arrrghhh: This update's for you, it should now give proper 1x indication for CDMA 1xRTT.
highlandsun said:
arrrghhh: This update's for you, it should now give proper 1x indication for CDMA 1xRTT.
Click to expand...
Click to collapse
lol, just get netloc working and you'll beat WisTilt2 to the punch .
arrrghhh said:
lol, just get netloc working and you'll beat WisTilt2 to the punch .
Click to expand...
Click to collapse
The only thing I'm not sure of is the CDMA roaming indicators, no idea how those values are computed.
arrrghhh said:
lol, just get netloc working and you'll beat WisTilt2 to the punch .
Click to expand...
Click to collapse
OK, since you mentioned it. Code now does netloc parsing. But since I don't have a CDMA phone, I have no idea if it actually works... If you have a CDMA phone and are willing to test this library, please grab a copy of "logcat -b radio" starting from as early as possible in the boot, to a couple minutes after boot finishes, and paste it up somewhere I can see it. Thanks.
highlandsun said:
OK, since you mentioned it. Code now does netloc parsing. But since I don't have a CDMA phone, I have no idea if it actually works... If you have a CDMA phone and are willing to test this library, please grab a copy of "logcat -b radio" starting from as early as possible in the boot, to a couple minutes after boot finishes, and paste it up somewhere I can see it. Thanks.
Click to expand...
Click to collapse
code version to Thursday March 24 2011, when I browsing WEB thought 3G network , phone call in, I can not accept or reject.
I will try the newest version
OK , I confirm have this problem
muziling said:
code version to Thursday March 24 2011, when I use 3G to browse WEB, phone call in, I can not accept or reject.
I will try the newest version
OK , I confirm have this problem
Click to expand...
Click to collapse
Are you using Froyo or Gingerbread? Can you get a "logcat -b radio" for your session and send it to me?

[Q] Signal Bar Mod

Does anyone know a signal bar mod that removes all signal bats so I only have the 3g signal?in my school everything but phones is allowed so ,I wanna be able to use my phone.
Please,do not say something dumb like, well why don't you turn airplane mode on?
I'm running gingeritis 3d beta VIII
I'm assuming that, contrary to your description, you don't just want to "remove the signal bars" since that would just be a visual change.
As best I can tell you want to still have 3g data without phone? In that case you would just set your preferred network to "EVDO only" either through Settings->Wireless&Networks->Mobile Networks->Network Mode (use this method if your rom has this menu) or opening your dialer and dialing *#*#4636#*#* -> phone info -> prefered network.
Absolute_Zero said:
I'm assuming that, contrary to your description, you don't just want to "remove the signal bars" since that would just be a visual change.
As best I can tell you want to still have 3g data without phone? In that case you would just set your preferred network to "EVDO only" either through Settings->Wireless&Networks->Mobile Networks->Network Mode (use this method if your rom has this menu) or opening your dialer and dialing *#*#4636#*#* -> phone info -> prefered network.
Click to expand...
Click to collapse
No no no, I want the bars to not be visible, as it would be a clear indication that its a phone
XxJakems28xX said:
No no no, I want the bars to not be visible, as it would be a clear indication that its a phone
Click to expand...
Click to collapse
Hmm...so it was just a visual change you wanted. Guess I missunderstood.
Well, overlooking that you feel the authority in your school will believe it isn't a phone just because there aren't little bars up there (and btw, if they buy that you might want to consider transferring schools )...
Use Ninjamorph (or look up how to manually theme apks if you want to do it from a computer) to remove the corresponding image files and/or edit the xmls of the appropriate apks (which apks will depend on the rom and I'm not personally familiar with Gingeritis much less your specific release but I'd look for SystemUI.apk in /system/app first). I'm not completely sure if this will fall back onto some defaults or not but it's easy to test.
If just removing the files doesn't work, you could always just replace all the images you want with a replacement clear filler image so that all you see is the statusbar.
Either way, you may want to do a little reading up on theming apks so you have an idea of what to look for (i.e. res/drawable-hdpi where the images are located and how to edit them)
Maybe I should make a TMo theme for this...lol
I actually don't have much time right now or I'd give you more details (or at least check #1). But IMHO, it's better to learn this stuff than be told anyway. If you need more help, I'm sure there are themers out there that will help you further.

[Q] Apps dont find 3g modem - is there a hack or a line in config file?

Moin,
Want to get ussd codes to work with archos g9 and 3g modem from archos, but apps complain that there is no sim card or 3g modem.
It is for example aAlditalk app which is important for me to work. Is there a hack to make think it has telephony unit or 3g modem or ussd function (which i really have) ?
Greetings
Have a nice weekend.
Waiting for ICS and SDE
svennimann said:
Moin,
Want to get ussd codes to work with archos g9 and 3g modem from archos, but apps complain that there is no sim card or 3g modem.
It is for example aAlditalk app which is important for me to work. Is there a hack to make think it has telephony unit or 3g modem or ussd function (which i really have) ?
Greetings
Have a nice weekend.
Waiting for ICS and SDE
Click to expand...
Click to collapse
Just out of curiosity, do this :
Settings > Applications > Development ... and activate "Mock Telephony"
After that, reboot and try again... Let me know if it helped
TjaXanK said:
Just out of curiosity, do this :
Settings > Applications > Development ... and activate "Mock Telephony"
After that, reboot and try again... Let me know if it helped
Click to expand...
Click to collapse
This option had i already activated.
Tested it again, turned it off, turned it on, rebooted, no chance.
svennimann said:
This option had i already activated.
Tested it again, turned it off, turned it on, rebooted, no chance.
Click to expand...
Click to collapse
I'm guessing it's an application issue then... probably the only thing that can be done is to wait for an update of the app...
It may be system related issue, it's not a 'phone' build. I've noticed in a logcat posted somewhere here that android.provider.telephony is redirected to android.provider l.settings
tapatalked from Desire
Hi,
i just purchased the 3G stick for my Archos 80.
Any news on this issue?
I know that standard telephony function would never work, because it is a data modem only.
It would be very nice though to hack some parts to get USSD working.
EDIT: Did some research here... guess what... USSD is supported by the Archos 3G stick.
Unfortunately there's nothing out of the box for sending USSD commands to the stick and receiving them in a nice pop-up message.
Anyway, i'll have a look into the RIL API and stuff, maybe it is possible to write a small app to manage this.
Concerning the App mentioned above, i guess there's no easy way to get it working, because there's no complete telephony support.
If someone would like more info on that... ask
Maybe some prop file or similar could be tweaked.
EDIT: The board's default prop has an entry ro.board.has_gsm which is actually set to no.
I wonder if it would change something (at least for some apps).
Any information would be useful.
EDIT: Did anyone try USSD Dialer from the market?
EDIT2: Tried it myself... it does not work and don't like it... it's build for smartphones only.
Cheers,
scholbert

[Q] 3G randomly dropping (CM10, i9100g)

(If this is the wrong forum, please let me know, but I think the i9100g forum is just supposed to be for devs?)
I have a SGS2 i9100g that I just inherited from my wife. The stock firmware is crap but with CM10 it runs amazingly well (especially coming from a Captivate running an ICS ROM). I love this setup, but about half the time I go from WiFi to 3G, the data connection doesn't pick up -- I have 5 bars, but they're grey, and there's no letter (H, 3G, etc) there. Sometimes, I'll have 3G for a while, then I'll check the phone to find that it's gone. There doesn't seem to be a particular pattern to when this happens. A reboot usually fixes, eventually. Sometimes I need more than one.
The curious thing: when this happens, I can go to the APN settings and the list is totally empty -- they all vanish, and even if I try to add an APN and save it doesn't show up. A reboot generally brings them back, but not always. I've tried an APN Manager from the market, but it says "not compatible with your SIM" -- I'm on Blau in Germany, if that matters.
Do I flash a new kernel? Radio? I'd like to avoid flashing back to stock or CM9, since I'm so spoiled by Project Butter now
Ghengis042 said:
(If this is the wrong forum, please let me know, but I think the i9100g forum is just supposed to be for devs?)
I have a SGS2 i9100g that I just inherited from my wife. The stock firmware is crap but with CM10 it runs amazingly well (especially coming from a Captivate running an ICS ROM). I love this setup, but about half the time I go from WiFi to 3G, the data connection doesn't pick up -- I have 5 bars, but they're grey, and there's no letter (H, 3G, etc) there. Sometimes, I'll have 3G for a while, then I'll check the phone to find that it's gone. There doesn't seem to be a particular pattern to when this happens. A reboot usually fixes, eventually. Sometimes I need more than one.
The curious thing: when this happens, I can go to the APN settings and the list is totally empty -- they all vanish, and even if I try to add an APN and save it doesn't show up. A reboot generally brings them back, but not always. I've tried an APN Manager from the market, but it says "not compatible with your SIM" -- I'm on Blau in Germany, if that matters.
Do I flash a new kernel? Radio? I'd like to avoid flashing back to stock or CM9, since I'm so spoiled by Project Butter now
Click to expand...
Click to collapse
Same situation here, 3G unstable. Hopefully next nightlies would be able to fix it.

Droid Dna Update from 4.1.1 to 4.2.2 with GSM service

You can try this but I cannot guarantee that this will work. but it has worked for me. first off go to about-software update, and their on the top right corner is a settings button where it says update over wifi connection and make sure that this box is checked. then take out the sim and then go to settings-mobile data-preferred network and change from gsm/umts to cdma/lte. now make sure that your phone is connected to a wifi connection. you will get a message saying no cdma connection was found. just hit okay and ignore it. then go to settings- apps- all- and find google services framework and then hit clear data then force stop. now go to settings- software update- check new. do NOT go to settings-about-software update-check new to check for updates because it did not work for me and kept telling me that their was no update. I do not know why but if its confusing to understand then make this note- if the check new option is under status then you are in the right place I thought I would post this because it was such a pain in the ass to look for this solution, and finally somebody that had found this posted it in a section that I cannot for the life of me remember to find it to give credit to. but this worked for me. and thought I would share to help all others out because it was difficult as hell to find the solution for me

Categories

Resources