[HOW-TO][TUTORIAL] Root permission on CM9 with a broken screen [SOLVED] - Galaxy S II I9100G Android Development

Hi,
The screen (LCD+touchscreen) of my i9100G device is completely broken (a few months old...:crying.
I had previously properly installed CM9 RC1, ClockWordMod recovery and rooted with "advanced method 2" from this post http://forum.xda-developers.com/showthread.php?t=1679778.
The system works very well, superuser app installed, root permissions prompted for apps that need root access...etc
Now with the broken screen, i still access the phone via adb for scanning files and directories of sdcard or launch apps (that do not require root access, see after) but without being able to interact with.
It is a rich experience to see how useful a trackball or physical keyboard is ... or the opposite, how many apps need these features to offer basic functions ...
An example: splash screen and first help screen with 4 pages via viewpager to showcase the app ... without a functional display, i was unable to access the main screen of the app ... i even modified the source code of open apps (opensource apps) to have "instant" behaviors or to launch the main action once loaded or if they require interactions, call the related action with the "back" key button (onKeyDown(int, KeyEvent) function).
i found a great app that displays on my ubuntu desktop the screen of the phone (great also to see that only the screen/display was broken) and you can interact with the phone from your desktop (mouse, keyboard) ... but this last feature is available only for rooted devices. The java app is androidScreenCast http://code.google.com/p/androidscreencast/.
My device IS rooted, but ... CM9 has implemented a new security layer preventing root access via adb if option in settings is unchecked, i didn't notice that and leave the option unchecked. Nice for security. But now, i don't see any way to check this option and thus any way to interact with the phone via "androidScreenCast" -like apps to be able to interact more with the phone.
Have you got any ideas to have full root access on CM9 ?
Next step is 1) trying to flash an other ICS ROM or a gingerbread one via ODIN or fastboot (complicated with a broken screen) and 2) replace the display.
Thanks in advance for your reading and help.
======================================
[UPDATE] I solved my problem.
In case it could help someone in similar situation (with cm9, i9100G or else):
1) i found this useful app: http://piglings.blogspot.fr/2011/08/android-screen-control-without-root.html (download the zip file provided by the author here -if someone could paste it on an open location .., then run the bat file from windows)
2) i am now able to interact with the screen (low but greatly enough to allow root access when prompted by superuser !), connect wifi (fortunately it is the first option in menu/settings !) or other things that require clicking on a button to accept (touchscreen is not working, so sliding or scrolling don't work, you will be able to do so in step 6) )
3) i installed webkey app http://webkey.cc/ (Play Store: https://play.google.com/store/apps/details?id=com.webkey)
4) to launch webkey, hit search button in menu from home (search the app with google search app, the keyboard is working from 1) ) and type webkey
5) superuser will prompt permisison dialog, you will be able to click on "allow" (yes !) and webkey will be granted root privilleges
6) an ip adress (local if on wifi) will be provided by webkey from wich you can interact with your phone (with touchscreen and many other features); you can also configure in settings tab a username/password to connect from webpage (user's setting/create user) and other options listed at http://webkey.cc/
7) and there i have all features, touchscreen, scrolling, keyboard, mouse clicks, interaction with apps ... great ! And of course, menu/settings/developer options/root access/adb AND apps !
An other solution also considered was http://www.androidlost.com/ but not tested; it seems nice (requiring no interaction at all, push install from play store, activate via specific keywords in sms, login on remote server to control the phone, erase data/sdcard ...).
... enjoy !

Related

[Q] Standby wifi and OS differences with GS2

I have a Samsung GS2 (with 2.3.3) and I just got a P970 which I upgraded to (2.3.4) for use with a foreign SIM.
I didn't do much research and thought 'they're both Android GB, they'll be the same' - ho ho. Had a bit of a fight with the p970 but eventually got all my apps etc installed so it's very similar to my GS2 which is what I want... Not that the GS2 way of doing things is particularly better I just want them both to be usable in exactly the same way to avoid frustration.
I've noticed some things that I really want to fix:
1. The GS2 leaves wifi on all the time, whether it is asleep or not. I want this because I use push email with K9. The p970 turns the wifi off when the phone is asleep - so K9 uses mobile data for email, which is a pain. I used titaniumbackup to move the K9 install and settings from the GS2 to the p970 - I also later removed it and installed it through the market. No difference. Can I force wifi on while the phone is asleep?
2. The scroll feel of the p970 was very light with no friction - pages scrolled on forever gradually coming to a stop. I managed to fix that (removed the lgscroller in the build.prop) but the p970 has a 'glow' effect when you try to scroll beyond the end of a list (the list doesn't move any more, the bottom of the list glows blue) whereas the GS2 has this 'elastic' effect (you can scroll the list right off the screen but it moves at half speed and springs back into place when you let go.) Can I replace this somehow?
3. In Dolphin HD, the GS2 scroll snaps to axes - if I scroll vaguely vertically, it knows I mean 'scroll vertically'. The P970 interprets anything other than a very deliberate vertical scroll as meaning 'scroll diagonally'. It's a pain. What on earth causes this?
4. The included mms.apk is crap. Can't insert contacts as plaintext? I want the GS2 mms.apk - I tried to adb install it but it failed on dependencies. Is it possible? I am using Handcent on the p970 now after trying Go SMS, tbh not really liking ether.
Apart from all that it's fine albeit a bit slow. Biggest gripe is the positioning of the unlock button.
Any advice?
I really don't know the others, but for #1 you go to settings>wireless>wi-fi settings>advance[press menu button the square one]>wi-fi sleep policy there you can choose to never sleep
Thanks for that, didn't even know there was a submenu to the wifi menu. Wifi now remains on regardless!
#2 you would have to install a Cyanogen ROM, there you can choose what to happen when you scroll past the end of the list (Glow, Bounce or Glow+Bounce). The official Rom (and those built on it) don't support changing the way the "scroll past end of list" animation, it's only present in ROMs built on Cyanogen (for example the MIUI one).
Now, i don't know how stable the Cyanogen ROMs are, you'll have to read about it in the forum and decide if it's worth it for you or not.
#3 i saw that the Optimus Black interprets pressing/dragging on the screen a little different from other phones, probably comes from the way LG implemented the digitizer interface, i don't think you can change that (i very often drag icons on the launcher instead of starting the apps even though i do the exact same movement as i do on my Samsung Spica and there i never had this problem).
#4 the applications bundled with the SG2 have dependencies on libraries on the phone, you would have to also copy the files from /system/lib the problem is that you can't just copy all the files since many will be present on both phones but with different version and dependencies.
You would probably have to experiment by adding different libs and seeing if it works or not.
I tried only once to port and app and after several hours i got to a point where the lib required by the app was already present on the phone but a different version, i tried adding the other version which crashed many of the already existing apps so i gave up
Thanks for that - I understand the Cyanogen ROM isn't stable yet (?) so I'll wait a bit before trying that... need the thing usable as a phone, can't keep bricking it!
For the last point, is there a way to identify from the APK which libraries it's looking for? Something like the 'ld' command in Linux?
bluetooth locked
hello everybody!
I can't use bluetooth.
I open settings, open wireless and network settings, tap bluetooth, enter access bluetooth settings, tap make discoverable, (untap make discoverable then), but:
1.) I can't scan for devices: tap and press but nothing happened,
2.) I can't modify my device name, I have one, but can't rename,
3.) I have a long list of bluetooth devices discovered but not paired, but I never allowed, and
4.) I can't remove these devices from my Bluetooth pairing list:
when I press and hold on the name of the device I want to remove, applications close and get out from settings.
5.) I can't discover and pair my bluetooth headset.
Get out the baterry, get out SIM, get out micro sd: not working!
I have 2 same smartphones. the another optimus black in working very well, including the same headset.
can you advise me, please?
thanks.
oalgvi17 said:
hello everybody!
I can't use bluetooth.
I open settings, open wireless and network settings, tap bluetooth, enter access bluetooth settings, tap make discoverable, (untap make discoverable then), but:
1.) I can't scan for devices: tap and press but nothing happened,
2.) I can't modify my device name, I have one, but can't rename,
3.) I have a long list of bluetooth devices discovered but not paired, but I never allowed, and
4.) I can't remove these devices from my Bluetooth pairing list:
when I press and hold on the name of the device I want to remove, applications close and get out from settings.
5.) I can't discover and pair my bluetooth headset.
Get out the baterry, get out SIM, get out micro sd: not working!
I have 2 same smartphones. the another optimus black in working very well, including the same headset.
can you advise me, please?
thanks.
Click to expand...
Click to collapse
Is it on another ROM maybe? If so, which one do you use? Or did you maybe restore a backup of another phone?
Sent from my LG-P970 using XDA

Sucessful bluetooth gps on KFHD 7!!!

Okay, I hesitate to do this but I know how much I wanted gps on my new KFHD 7.
I can't be a lotta help but here's what I remember of the process I followed to do it.
Note that I didn't invent/develop/create any of it, I simply put together some stuff that other great people had created. Thanks to all BTW
I purchased all the apps, etc and donated to mobile-j.de for the Bluetooth GPS Provider as s/he provides it free.
(see reference links below for apps/info)
Here goes:
TomTom Bluetooth MKII GPS dongle
Rooted KFHD7 with ADB and etc
ES File Explorer with su root and explore root enabled
copy /data/data/com.android.providers.settings/databases/settings.db
to /mnt/sdcard/Documents/
Edit it with sqlite
Enter secure
set value=1 where name='mock_location';"
copy the edited file back to it's original location.
reboot
Use BluePair, enter the mac address (used bluetooth gps provider to get mac as I couldn't find it on the little beastie)
pair unsuccessfully
screw around a little bit reboot everything a coupla times
Used bluepair again, it paired!!!
Started Bluetooth GPS Provider, enter settings, click Choose GPS Provider, hit scan, click on TomTom Wireless GPS MkII
Start up your favorite Nav app, I tried both TomTom and google maps and both worked fine!!!
Good luck!
If anybody wants to verify this and put together a decent tutorial, video or whatever feel free
References:
TomTom Bluetooth MKii GPS receiver - http://www.amazon.com/Tomtom-Mkii-B...F8&qid=1354156826&sr=8-1&keywords=tomtom+mkii
SQLite Editor by Speed Software - https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor&hl=en
BluePair - Bluetooth SPP by Libella Drafting - https://play.google.com/store/apps/details?id=fb.bluetooth.spp&hl=en
Bluetooth GPS Provider by mobile-j.de - https://play.google.com/store/apps/...?t=W251bGwsMSwxLDEsImRlLm1vYmlsZWouYnRncHMiXQ..
ES File Explorer File Manager by ES Mobile - https://play.google.com/store/apps/details?id=com.estrongs.android.pop
http://forum.xda-developers.com/showthread.php?t=1927633
http://forum.xda-developers.com/showthread.php?t=1362472
http://forum.xda-developers.com/showthread.php?t=1891939
one or two aditional things
I want to make an aclaration to the process, as the only way that BT GPS PROVIDER works is inside the APP directory in SYSTEM.
Then, in its settings, it crash if the FORCE GPS POSITION camp is ON.
It is a great app.
Cheap gps antena....5.90 Euros....
I am from Spain, and here is a franchising store that shells new (still available) an outdated bluetooth gps receiver than works flawlessly on my KFHD with BT GPS PROVIDER. Here is the page:
appinformatica.com/pda-gps-zaapa-antena-bluetooth-touch.php. Click at "Para ver precios pinche aquí" and randomly choose a store to view the cost. Do you have a friend here in Spain?.
At that price, who doesn't want a gps on his/her kindle?
Hmmm...
dhowell - thank you for this work!
edit - your instructions work fine - the below problems were likely due to things I broke earlier.
I hit a snag with the KFHD 8.9 and want to give a heads-up.
I installed GPS Bluetooth Provider in order to get the MAC address from the TomTom MkII. I didn't get the MAC because I didn't turn bluetooth on before running the program - and once the program ran, I lost my WiFi connection, lost the Hacker's Keyboard, but also lost the ability to pull down the top menu and the bring up the bottom navigation menu. The menu loss persists through multiple reboots and also disables the menus in the Apex and Go launchers. I don't know if this is a bug in the software (from not enabling bluetooth first), or if it's part of some evil plot from Amazon to punish anyone that tries to use a bluetooth GPS.
The good news is that the TomTom MKII paired with my Windows 7 desktop - and the Asus bluetooth suite shows the 'unique identifier' (MAC address) for the paired device.
I'll scheduled for a couple of test reloads of the Kindle this afternoon - I'll see if I can connect with BluePair once I regain controls and can activate bluetooth.
Andy
edit...back after a couple of reloads and trying other bluetooth apps. I don't know how to make them work on a KF HD 8.9 - the bluetooth apps that do install also kill the Kindle's pull-down menus and the bottom-of-the-screen navigation buttons.
Another edit...
It looks like the loss of menus might have been due to either installing conflicting apps or a problem caused by testing other software. With a fresh install of V8.1.4 on the KFHD 8.9, dhowell's instructions worked perfectly. The only mod I had to make was already covered: the Google Apps store installed the filed in /data/app -- I moved them to /system/app with ES File Explorer and installed the apps manually in /system/app.
The only other item to pass-on is that BluePairSPP has three possible functions - Pair/Unpair, List, and Connect. Pair/unpair and list work well. If I use this app to connect, however, it will pass four or five updates from the GPS and then crash.
Garmin GLO?
I would get this KFHD7 if only I knew I could get my Garmin GLO working on it. This is the one feature that prevents me from springing for a Kindle.
Has anyone tried a Garmin GLO on theirs yet with any success or failures?
Thanks for the info.
I have an old OnCourse BT GPS V20 receiver.
The steps I needed:
1. Rooted Kindle Fire HD
2. Installed Google PlayStore
3. Installed Google Maps
4. Installed KFHD_xSettings (from this thread: http://forum.xda-developers.com/showthread.php?t=2124384 )
5. In KFHD_xSettings -> Misc. turn on "Developer options."
(Previous steps were done awhile ago, but I think they were the only things needed for the following steps.)
6. From top pulldown menu -> More... -> Device -> Developer Options -> select "Allow mock locations."
7. From top pulldown menu -> Wireless -> Bluetooth -> pair with my BT GPS V20 ( after entering code (0000) Kindle says it is not compatible, but it shows it in the list of available devices)
8. Installed Mobilej Bluetooth GPS ( had to side load - downloaded from this thread: http://forum.xda-developers.com/showpost.php?p=37719385&postcount=13 )
9. Unchecked "Force GPS Position" in Bluetooth GPS Provider preferences. (otherwise app immediately stops) (thanks gflorezarroyo)
10. Selected Scan in Bluetooth GPS Provider and selected the BT GPS V20.
11. Selected Start in Bluetooth GPS Provider.
Working fine with Google Maps so far, have not tried any other GPS applications yet...
If you want to have the maps from Google but without wifi nor tethering connexion from a phone, there is an app called Alpine quest (two versions, one free).
It lets you add your own maps created on PC with a program called Mobile Atlas Creator. M-A-C is a program that takes the tiles from Google-maps and other sources and transforms they in a map that you can insert in the Alpine quest directory of your Kindle(AQM files).
Then you can explore free without connexion.
KFSOWI bricked following these steps - but renaming instead overwriting "settings.db"
[KFSOWI v11.3.1.0_user_310084920 bricked while enabling mock location for bluetooth gps
My steps:
1. KFSOWI v11.3.1.0_user_310084920 succesfull rooted
2 . next steps like http://forum.xda-developers.com/showthread.php?t=2019571
but different:
3. renamed the original "settings.db" to "settings.db.org"
4. copyd the modified "settings.db" back in the original folder
After shutdown and restart the KFSOWI remains in a loop showing colored "KindleFire"
Was my mistake renaming "settings.db" instead of overwriting?
The command "adb devices" shows still the device id.
The command "adb reboot" reboots the KFSOWI - but without success.
Which commands are necessary for solving the problem?
Please write the steps very detailed - I´m an new linux user.
A lot of thanks to the community for answering
newbie_001 said:
[KFSOWI v11.3.1.0_user_310084920 bricked while enabling mock location for bluetooth gps
My steps:
1. KFSOWI v11.3.1.0_user_310084920 succesfull rooted
2 . next steps like http://forum.xda-developers.com/showthread.php?t=2019571
but different:
3. renamed the original "settings.db" to "settings.db.org"
4. copyd the modified "settings.db" back in the original folder
After shutdown and restart the KFSOWI remains in a loop showing colored "KindleFire"
Was my mistake renaming "settings.db" instead of overwriting?
The command "adb devices" shows still the device id.
The command "adb reboot" reboots the KFSOWI - but without success.
Which commands are necessary for solving the problem?
Please write the steps very detailed - I´m an new linux user.
A lot of thanks to the community for answering
Click to expand...
Click to collapse
There is nothing you can do now. If you are in a loop then you need to factory reset and that is not possible at the moment. I would recommend getting a replacement from Amazon.
My Kindle is back
LinearEquation said:
There is nothing you can do now. If you are in a loop then you need to factory reset and that is not possible at the moment. I would recommend getting a replacement from Amazon.
Click to expand...
Click to collapse
My Kindle is back (without factory reset )
My steps:
1. adb shell
2. su
3. cd /data/data/com.android.providers.settings/databases
4. mv settings.db settings.db.mod
--> Kindle starts
5. ls --> settings.db
settings.db-shm
settings.db-wal
settings.db.mod
settings.db.org
6. exit
7. exit
My Kindle seems working normally, bat the bar with the home-button is missing ...
So i cannot switch between apps and i have to restart the device for opening a new one ...
Via adb is access as su still possible, but ES File Explorer and the superuser App have no root-access ???
Should i reset to factory defaults via the settings menue or is a restore of the bar with the home butten in another way possible ???
newbie_001 said:
My Kindle is back (without factory reset )
My steps:
1. adb shell
2. su
3. cd /data/data/com.android.providers.settings/databases
4. mv settings.db settings.db.mod
--> Kindle starts
5. ls --> settings.db
settings.db-shm
settings.db-wal
settings.db.mod
settings.db.org
6. exit
7. exit
My Kindle seems working normally, bat the bar with the home-button is missing ...
So i cannot switch between apps and i have to restart the device for opening a new one ...
Via adb is access as su still possible, but ES File Explorer and the superuser App have no root-access ???
Should i reset to factory defaults via the settings menue or is a restore of the bar with the home butten in another way possible ???
Click to expand...
Click to collapse
You can try. I am surprised it is working at all with no bootloader access.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app

[ROM][N8000] Una ROM, Private, Fast, And Good Looking:)

After weeks of hard work we (uncle Fab and Setmov) proudly present you the first Una ROM for the Galaxy Note 10.1 N8000, based on 4.1.2 XXCML2.
DISCLAIMER​
As usual, your phone your responsability, we won't take any responsability if it flies out of the window or if your girlfriend/boyfriend runs away with it.
PLEASE, DO READ OP COMPLETELY AND CAREFULLY BEFORE ASKING ANY QUESTIONS, ANSWERS TO MOST PROBLEMS ARE HERE​
WHAT IS UNA?​
Una is a new concept that takes security to a new level.
Are you tired of seeing so much blatant, outrageous and shameless invasion of your privacy and data mining hidden behind nice sentences like "enhanced use experience" or "complete integration with the system"? We decided to develop secure ROMs where privacy means just that – Private!.
It’s free of charge, we are a non profit structure and we are not here to make big bucks
WHAT UNA ISN'T​
UNA isn't a way to help you to stealthily buy massive destruction weapons to foment a coup d'etat in your favorite banana republic or to prepare the third world war.
UNA secures what leaves from your phone (ie your personal data doesn't leak and no app can look over your shoulder to spy your activities), but it can't completely secure what comes into your phone.
Why is that?
Because it's just not possible to fully secure a phone from what comes into it, and anyone claiming to be able to do it is either a liar, or an ignorant, or both.
There are too many attacks, some not well documented, if documented at all, and some unknown to the public, and there are too many ways to hack a phone, especially if the user doesn't use his/her common sense.
If you are the type of person that installs apps from shaddy source and/or warez web sites (sites offering cracked paid apps) chances are that at some point you will unknowingly install a malware or a spyware. The same applies if you click on any link, specially on SMS' and emails, if you let any pop out window appear or if you don't protect your lockscreen with a password/pin/pattern and let anyone get physical access to your phone.
A bit of judgment and common sense can save you a lot of trouble, but there's unfortunately nothing UNA can do about it.
Then, if you use your phone to call through GSM your provider will know where you are. If he didn't you wouldn't be able to make any call, the signal has to find you and there's nothing UNA or anyone can do about it.
The only way to prevent that is to disable the phone functions (but then your phone will turn into a wifi only device) and reenable them when needed, head to the scripts section to learn how to do it.
Last but not least, bear in mind that the agencies have armies of tech savvy henchmen and 10 storeys computers, and tricks we can't even imagine, so think twice and use your brain before you attempt to outsmart them...
UNA IS FOR YOU IF:​
. You are willing to learn how to use an unconventional ROM and generally speaking to understand how things work, even if it sometimes requires a little effort to fix this or that little problem (bear in mind that it took us a lot of work to develop Una to where it is now),
. You don't mind a few little occasional bugs here and there that come from all the restrictions the ROM contains,
. You want to take back ownership of your phone from google’s claws.
UNA IS NOT FOR YOU IF:​
. All that you care about is the latest gimmick in the latest OS,
. You can't live without the google’s apps,
. You are the kind of person that never reads through the OP and only scroll down to the download section, and then complain that things don't work and/or ask stupid questions that have already been answered in OP.
An example? One guy makes a mod and writes clearly in OP that it's specifically for 4.2.2. Then some people complain: "it doesn't work on 4.4.2"...
ARE WE PARANOID TIN FOIL HATS? OR TERRORISTS? OR CARTEL BOSSES?​
Nope, we only are people that don't see why we shouldn't be in control of our phones. Or why our phones can be wiped remotely, why apps or updates or who knows what can be downloaded and installed without asking for our consent, why SMS' can be sent without us to know, why we should pay for the bandwidth used for data mining and unwanted downloads, and why all those activities should deplete our battery and kill our RAM.
You think we are overreacting here?
You don't have to take our word for it, just download and install Network Log from here:
https://f-droid.org/repository/browse/?fdfilter=network+log&fdid=com.googlecode.networklog
Give it root permission, start logging and open some web pages. Come back to Network Log after a few minutes and see for yourself, you'll be surprised (or maybe horrified?) to find out that your android system, your settings, your kernel etc. connect to all sorts of funny IPs, including and foremost google’s.
Now you see what we mean?
It's time to go for Una
UNA'S FEATURES​
. Rooted.
. Deodexed.
. Zipaligned.
. Busybox and sqlite installed.
. Init.d support and scripts.
. Auto start disabled for most apps.
. About 100 system apps and 40 framework jars removed, plus files here and there.
. Very low RAM and CPU consumption.
. Heavily and extensively modified system, in order to make it secure and prevent it from leaking your data.
. App Settings, Firewall and Xprivacy built-in, and already applied out of the box to make sure you are well protected.
. Xprivacy is a fantastic tool but it has one big limitation, it can't restrict the Android System from accessing your serial numbers and leaking it. For that reason these IDs have been edited as follows:
ro.serialno is set to "1",
build.serial has been scrambled so that the system can't read it anymore and shows an empty value instead,
android id is set to "android".
. Serial_number, model_number, model_name, manufacturer and device_name in wpa_supplicant.conf all show an empty value (check the screenshots).
These fields normally show values that identify you and the system sends them home everytime you connect to the internet, Xprivacy can't do anything about it but Una can.
. USB ID (iSerial) set to 1.
. Vulnerabilities patched thanks to Master Key Multi Fix and Fake ID Fix.
. ADB disabled (can be re-enabled, see below).
. By default ADB and all google access (including youtube, blogspot and google search) are disabled. You can re-enable some or all of them, instructions are in the "HOW TO USE THE ROM" section.
. Plenty of under the hood modifications to make the ROM fast and fluid.
. Call button in contacts.
. Lollipop HD wallpapers.
. All apps can be opened in floating or static multiwindows mode.
. Heaps of hand picked and carefully scrutinized open source apps.
There are 2 non open source apps (Greenify and Quick Pic) but they are safe, believe me, I have thoroughly examined them. Still, you can always uninstall them if you feel like it.
In time we will develop our own apps, but first we want to see how people respond to the Una concept...
INSTALLED APPS/TOOLS​
. 920 Editor, to create and edit scripts or text files.
. AF+ Firewall.
. Alarm clock.
. APG, to encrypt messages.
. App Settings, to restrict apps' permissions, change DPI on a per app basis and more.
. Arity, a calcultor.
. Conversations, a secure and encrypted chat, modded by uncle Fab for increased security.
. Fdroid, an alternative to the Play Store, and all the apps are open source!
. Floating stickies, to make small notes on the fly.
. FTP Server, to copy files to/from your phone wirelessly.
. Ghost Commander, a very powerful dual panel root file manager.
. Gravity Box, a theming engine.
. Greenify, to make apps behave by hibernating them when not in use.
. K9 Mail, an email client.
. Kernel Adiutor, if you feel like playing with kernel tweaks (but you have to know what you are doing).
. Lightning, a fast and light weight browser.
. Master Key Multi Fix, a patch to some vulnerabilities.
. Network Log, to check where your apps connect and chase unwanted connections.
. Open Camera.
. Tor (Orbot) for Android, modded by uncle Fab for increased security.
. Orweb, a browser designed to work along with Tor.
. OS Monitor, to monitor and kill your phone's processes, and more.
. Pale Moon, based on Firefox for Android, for a full desktop experience with Mozilla add-ons preinstalled for enhanced security.
. PDF Reader.
. Preferences Manager, to edit the otherwise difficult to read shared_prefs files in data/data.
. Quick Dic, a good selection of free dictionaries.
. Quick Pic, a Gallery app.
. Rmaps, a maps app where you can download maps from various sources for offline use.
. Terminal Emulator, fire up your commands and show your phone who is the boss!
. Text Secure, a secure and encrypted SMS app, modded by uncle Fab for increased security.
. Tint Browser, another fast web browser.
. Urecord, to record sounds with different sample rates.
. USB Mass Storage Enabler, to connect your phone to any computer (note that it only mounts the external SD).
. Viper4Android FX, a powerful sound enhancer.
. Viper4Android XHiFi, some more sound enhancements.
. VLC, a video and music player favourite.
. WI-Fi Privacy Police, to secure your connections even better than they already are.
. Xposed Installer, a great framework that enables apps like App Settings or Xprivacy to work.
. Xprivacy, last but not least, the best privacy app.
INSTALLATION​
As usual, make a backup first!
Do backup your contacts and whatever is important because all your apps and data will be erased (your sd card contents won't be deleted though).
Do backup your /system/csc folder, in case you need it for later.
Do backup your efs folder (VERY IMPORTANT).
Open the android terminal on your phone and type:
su
enter, then type:
busybox dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img
enter, this will create an efs backup called efs.img in your sd card.
To restore it, first make sure the efs.img is in your internal sd card, then type:
su
enter, then type:
busybox dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3
enter, your efs will be restored in no time.
If that sounds like too much work you can use the scripts provided to backup/restore your efs, instructions are in the scripts section.
To install the ROM you need a Custom Recovery and Philz' comes highly recommended.
We chose Philz since AFAIK it's the only one that allows you to lock you recovery with a password (if your recovery is not password protected it wouldn't take more than 2 minutes for someone to disable your pattern or pin protected lockscreen and access all your personal data on the phone).
Alas, we didn't find any working Philz recovery for the N8000 so for now we'll use High On Android (based on CWM).
Get it from here (credits @Koush and @zedomax):
http://forum.xda-developers.com/showthread.php?t=1831173
Now, download Una for N8000 from here:
http://unaos.com/
Head to the DOWNLOAD section and chose the N8000 model.
After the download, unzip the file and copy the folder that's inside into your sd card.
Boot into recovery.
Go to restore from sdcard, and go for it!
Once it's done reboot, congratulations, you have installed Una ROM on your phone!
HOW TO USE THE ROM​
. Swipe down to access the applications drawer.
. Swipe up to open notifications.
. Press on the home button to turn off the screen
. Go to settings and set a stong password/pin/pattern protected lockscreen (recommended).
. Go in recovery and set a recovery password (recommended).
. Long pressing the back key brings you back to the last application (convenient to switch from one app to another).
. Press the reboot menu in the home screen to reboot/shutdown/boot into recovery or bootloader (note that there's an option to take screenshots in the reboot menu).
. Go to /system/etc/security/cacerts, check the certificates that are there (you'll find the certificate's name approximately by the middle of the file), and erase the ones you don't need/like.
When you want to transfer files to/from your phone open the USB Mass Storage Enabler app and enable mass storage, that's it. When you are done, don't forget to eject your phone from the computer and to reenable MTP from the app.
. When you install a new application, by default it will be fully restricted in both Xprivacy and the Firewall.
Before you open the newly installed app wait until the Xprivacy icon appears in the status bar, then and only then can you open it.
Most likely the app will crash.
Go to Xprivacy, open its settings and then usage data, you will see what restrictions caused the crash. Re enable some, provided that they are not too invasive.
Many apps require "load.Library" to be allowed in the shell section, that's ok.
Others may need to access the sd card, that's in the storage section and it's ok to allow it for apps that really need to access the storage, like players, cameras or file managers (for other apps try to keep it restricted).
Root apps obviously need "su" and/or 'sh", and sometimes "exec", in the shell section.
Always try to enable as few fields as possible, and bear in mind that data requested by an app is not necessarily needed for that app to work (especially true for identification, internet and mcc/mmc access).
Lastly, give the app internet access in the Firewall if, and only if, it needs it, and restrict some more permissions in App Settings.
If you can't tame the app consider uninstalling it and look for a similar one that has less built-in spyware.
SCRIPTS​
. As said above, by default ADB and all google access (including youtube, blogspot and google search) are disabled.
If you want to re-enable some or all of them, open the script folder located in system/etc.
Click on the desired script and choose edit.
Copy the whole text and paste it into the Android Terminal, voila, the script is automagically executed.
. You will see more scripts to disable/enable the Bluetooth, the Media Storage/Provider, the MTP Application and the Phone.
If you disable the Phone and later want to re-enable it do as follows:
untick App Settings in Xposed's modules section, re-enable Phone, reboot, then enable App Settings again.
. I forgot to put the scripts to backup/restore your efs partition, let me know if you need them and I'll add them.
. Other scripts can enable/disable am and pm, but don't play with it unless you know what you're doing.
. You can uninstall the Wallpaper Chooser and the Media Storage/Provider if you want, or keep them disabled and resurrect them when needed.
. If you are very privacy concerned you should consider using the "uncle's phone lite" mod because it enables you to call with only the Phone and the Telephony Provider apps (CSC, Contacts, Contacts Storage, Logs Provider and STK are completely de-activated). That's the method I use to make calls, but you have to know that the dialler forces close after you complete the call (not a big deal in my opinion but still, I may look into it one of these days). You'll find the mod in the add-ons section.
ENCRYPTION​
If encryption is your thing we have you covered with the following installed apps:
APG, Conversations, K9 Mail and Text Secure.
BUGS​. Quick Dic won't download any dictionary, it's actually not a bug but a Una restriction since the app downloads from a google owned web site.
If you need to download dictionaries, temporarly enable google by running the "enable_google" script (don't forget to disable it again when you're done). After you've run the script go to the firewall, open its settings, go to "Set custom script" and click "OK" (do the same if you decide to disable again google's stuff).
. You can't download anything from Lightning and Tint Browser, that's because the Download Manager and the Download UI have been uninstalled. If you need to download something, copy the link and paste it in Pale Moon, it has its own download engine.
. I haven't been able to test properly the Phone/3G Features because the tab I used to make this ROM was in a rather poor shape and had its SIM card slot broken. I set restrictions the best I could by taking examples from other ROMs I made, but you may have to fine tune the Phone and Telephony Provider apps in Xprivacy, sorry about that .
. All the installed apps work, but other apps you install may crash. I call that kind of apps "google’s henchmen", they only work if the play store services or the bla bla app are installed and of course they won't on Una since all that garbage has been removed.
If I install your app, why do you want to force me to install your boss' app too? Forget about those apps and search Fdroid, you'll find what you need...
. Depending the way you use your phone you may have to fine tune Xprivacy and reenable some permissions, I'm sorry for the inconvenience but it's impossible to set Xprivacy for all users since we all have different ways to use our phone.
ADD-ONS​
. Sony Xperia Keyboard, flash it in recovery.
Credits KristianCarl for porting it, and unclefab for theming it in green.
It's not open source and that's why it's not included in the rom by default, but it's my every day keyboard because it works fine and because I themed it to make it look nice.
Don't give it internet access in the Firewall.
In Xprivacy, only allow "loadLibrary" in the shell section. You may have to enable a few fields in the contacts section depending your phone's configuration.
In App Settings, restrict "Read_Phone_State" and "Record_Audio".
I removed the Chinese Keyboard, tell me if you want it and I'll readd it.
. HD Wallpapers
. Universe Wallpapers
http://romcook.com/?d=550FEB5C16
If there are enough users' requests then I'll upload the following:
. Uncle's phone lite (with clipboard and dialer) for hardcore users. It's safer than using the regular phone configuration, but the dialer forces close when you hang up the call. Flash it in recovery, wipe dalvik-cache, reboot.
. Completely disable internet access for the Android System. Lightning and Tint Browser won't connect anymore since they use the same web engine as the Android System, but Pale Moon still works thanks to its build-in web engine. Flash it in recovery, wipe dalvik-cache, reboot.
RECOMMENDED NON OPEN SOURCE APPS​
. Pri-fy, from chainfire the root master:
http://forum.xda-developers.com/showthread.php?t=2631512
. Logging Test:
http://androidsecuritytest.com/
UPDATES?​
I'm working on some improvements on kernel and system level to make Una even more secure, but I will release them for the N8000 if, and only if, there are enough users' feedback for the current version, because it's a lot of work to implement such stuff in a ROM moreover that I don't own this tab.
No ETA though, you'll have to be patient because now we have to design and release Una for many other phones.
Still, any suggestions/comments/bug reports are welcome, help us to improve Una!
FEATURE REQUESTS​
Yeah, sure, we'll see what we can do but we don't promise anything
That's all for now, enjoy the ROM!!!
The Una team
CREDITS​
Big thanks to:
F-Droid
M66B (Xprivacy)
Rovo89 (Xposed)
Tungstwenty (App Settings, Master Key Multi Fix, Fake ID Fix)
Ukanth (AF+Firewall)
Jecelyin (920 Editor)
Kraigsandroid (Alarm Klock)
Thialfihar (APG)
Arity (Arity calculator)
Siacs (Conversations)
Ppareit (FTP)
Ghost Squared (Ghost Commander File manager)
Mohammad Adib (Floating Stickies)
C3C076(Gravity Box)
Oasisfeng (Greenify)
K-9 Dog Walkers (K9 Mail)
Grarak (Kernel Adiutor)
Anthonycr (Lightning)
Xperiacle (Multiwindows Manager)
Pragmatic Software (Network Log)
Mdwh2(Open Camera)
The Guardian Project (Orbot and Orweb)
Eolwral (OS Monitor)
Moon Child and Cyansmoker (Pale Moon)
Droidapps (PDF Reader)
Simon Marquis (Preferences Manager)
Thad Hughes (Quick Dic)
Q-Supreme team (Quick Pic)
Robert.Developer (Rmaps)
Search Light (Search Light)
Jackpal (Terminal Emulator)
Anasthase (Tint Browser And Tint Browser Adblock Addon)
Thomasebell (Urecord)
Mohammad Abu-Garbeyyeh (USB Mass Storage Enabler)
Zhuhang (Viper4Android FX and Viper4Android XHiFi)
Videolan.org (VLC)
Brambonne (Wi-Fi Privacy Police)
NOTE:​Screenshots:
We don't owe the device so we didn't have the time to make screenshots. The rom is very similar to the UnaOs ROM for the Galaxy Tab 7, so if you want to see how it looks like, please head to our website http://unaos.com and check the gallery section.
I dont suppose this might work on the wifi only version n8013?
If this were art, una would be a masterpiece
Just the right kinda of attitude and work towards privacy and security, ......having xprivacy preinstalled and pre-configured is one of those little things i like to call, "ahead of the game"
All the right ingredients here, you have my tip of the hat sirs........
banderos101 said:
I dont suppose this might work on the wifi only version n8013?
If this were art, una would be a masterpiece
Just the right kinda of attitude and work towards privacy and security, ......having xprivacy preinstalled and pre-configured is one of those little things i like to call, "ahead of the game"
All the right ingredients here, you have my tip of the hat sirs........
Click to expand...
Click to collapse
@banderos101 thank you for your support. We truly appreciate it.
On another thread for the SM-T111 (3G and Wifi) rom HERE, it seems someone has managed to install our rom on the SM-T110 (Wifi only) model. So, since your tab (the N8013) has (or it should have) the same hardware of the N8000 except for the 3G, you can always give it a try. Of course, if you do, make a full backup of your current system, so in case of failure you can go back and restore it. If you are going to give it a try, please let us know.
Thank you
Thanks for this amazing rom
any hope that you guys could make this available for the note 2 as well
specially for the LTE GT-N7105 Note 2
How to install when I installed kit kat 4.4.2 Greetings
So I installed it on my n8013, but there was an error when restoring the data and whatever else comes after that. It booted fine though and WiFi worked out of the box. The lack of a terminal app made it hard to do anything right off the bat. I'll check out some more of it later on and report back. Just wish I could have experienced this how it was intended.
Sent from my GT-N8013 using Tapatalk
electrikjesus said:
So I installed it on my n8013, but there was an error when restoring the data and whatever else comes after that. It booted fine though and WiFi worked out of the box. The lack of a terminal app made it hard to do anything right off the bat. I'll check out some more of it later on and report back. Just wish I could have experienced this how it was intended.
Sent from my GT-N8013 using Tapatalk
Click to expand...
Click to collapse
There s a terminal app in the Rom, or maybe it has been wiped away with the rest of the data?
If you want to try again what you can do is downloading aroma fm from here:
http://forum.xda-developers.com/showthread.php?t=1646108
Put it somewhere on your internal sd.
Now, reflash una rom.
Do not boot but flash aroma fm.
Once aroma is opened go to system/apps and delete the following apps:
contacts, contacts provider, csc, logsprovider, phone, telephony manager.
Clear cache and dalvik cache, reboot.
Hopefully this time the data will restore properly
@theonepharaoh:
unfortunately we don t have any Note II at hand, so we can t make a Una rom for that model
unclefab said:
@theonepharaoh:
unfortunately we don t have any Note II at hand, so we can t make a Una rom for that model
Click to expand...
Click to collapse
well I happen to have one
I can test the rom for you
plus it has the same chip that is in the note 10.1 and the S3
Is stagefright Vulnerable with this rom?
If not
Assuming theirs no flashable zip or installable app in the future, will you guys be patching your roms against stagefright if a method comes out?
Android security is surely lacking, the ratio of devices that have a chance of getting a HINT of a patch, and those that wont is kinda staggering........i find myself hoping for the next competitor to come along already, that actually implements from the ground up, a RESPECTABLE security and privacy implementation
or, somesort of fork of android or maybe even another OS......something that either has really strong security/privacy from the get go, or has good devs maintaining very well, for patching the new stuff i.e. stagefright...........one of the missing ingredients.......one of the few things that has had me keep my current device for the best part of 4 years, and no plans to change.........i am keeping an eye out for ara though........interested to see how that plays out.......imagine any propriety components being switched out for open source componants with driver/kernel/i.e support..........the fact that someone doesnt have to spend the time and resources to create a WHOLE phone to replace the gpu/cpu/storage/camera/mic, assuming one can.........very interested to see how ara plays out
Sorry for the off topic'ish
We want it on 8010 too!
Can this encrypt the external sd card too like Samnsungs vanilla rom?
Can I install this on the N8010?
The description is good, but then I head to the site... Which relies on javascript and several third-party requests (including google and vimeo), and doesn't contain any download links anywhere in sight. Well, thanks.

HELP!!! - Note5 unlock-screen keyboard missing - Cannot unlock

Dear forum members - need help/ advice urgently.
I Titanium deleted/ froze some Samsung Gear/ S Voice/ S Health files this morning as I thought these were surplus to my requirements.
I restarted my device (after installing exposed module AdAway reborn) - since then, on my Note5 unlock-screen (which has fingerprint activation) the keyboard is missing - during the 1st screen unlock after a reboot, my Note5 usually prompts me to input my back-up password instead of accepting fingerprint unlock, after this 1st unlock then fingerprint screen unlocking will work fine for any subsequent screen unlocks (as long as phone is not rebooted).
But now the only "keyboard" I get in the unlock screen is a microphone symbol with "Tap the mic button to speak" message (nothing happens with this mic anyway when I try to use it); also at the bottom of this "keyboard" is a row of buttons (back/comma/full-stop/? mark/space/globe-type symbol/Delete/Return) which do not register in the password space anyway.
So I cannot get past the unlock screen anymore!!! I must have accidentally froze/deleted some component of the Samsung keyboard.....?
Please help somebody.....:crying:
Try to connect external keyboard via otg Cable than when you open the phone go to playstore and install any keyboard as you wish (i.e gkeyboard is the best ) and you can move on ... Without Samsung keyboard ....
Thanks:good: for the suggestion mala96.
I managed to resolve the lack of keyboard issue @ lock-screen a couple of days ago - I re-installed my custom ROM (thankfully without loosing any of my data/ sdcard storage files), got past the now swipe-able lock-screen and then I had to install a 3rd party keyboard (SwiftKey & G-Board), and also made sure S-Voice was no longer frozen.
It is strange that Samsung keyboard is no where to be found anymore.....
Also, my Gallery app does not load up (or ?scan) my camera album/ storage photos anymore although these pics are still there in exactly the same storage folders as they used to be - Now I am resorting to the Piktures app until resolve Samsung/android 'Gallery' issue.
Also, now no option of changing my lock-screen wallpaper either....

Question Can anyone supply me with a NON-ADB , and NON FRP related method to crash the Android-Setup app?

Basically i need something that can be ran via terminal emulator, or a third party app that i can install which will crash the setup that happens after a factory reset.... Reason is my setup is corrupted, and until it sends a completed flag to my phone, all preloaded apps, as well as many functions in settings are disabled, and also the phone does not activate the MTP protocol so i cannot use adb, because the phone hasnt released the block of it. My setup crashes approx 7 seconds after i touch the screen to start going thru it. I can use trickery to allow me to NEARBY SHARE apk files, and more trickery to load them... but that is as far as the phone will permit. So i really just need a solid method to BREAK or CRASH the android setup, or a command that will have permissions capable of "Config_Settings_Device_Setup_Complete=1" or something to that sort. Remember i am limited to Termux and Terminal Emulator...
beatbreakee said:
Basically i need something that can be ran via terminal emulator, or a third party app that i can install which will crash the setup that happens after a factory reset.... Reason is my setup is corrupted, and until it sends a completed flag to my phone, all preloaded apps, as well as many functions in settings are disabled, and also the phone does not activate the MTP protocol so i cannot use adb, because the phone hasnt released the block of it. My setup crashes approx 7 seconds after i touch the screen to start going thru it. I can use trickery to allow me to NEARBY SHARE apk files, and more trickery to load them... but that is as far as the phone will permit. So i really just need a solid method to BREAK or CRASH the android setup, or a command that will have permissions capable of "Config_Settings_Device_Setup_Complete=1" or something to that sort. Remember i am limited to Termux and Terminal Emulator...
Click to expand...
Click to collapse
If you have no access to ADB or apps of any kind and no other access to the device then no I don't think you can..
If your device isn't working then why not just flash a payload.bin via Fastboot enhance and get your device working again
dladz said:
If you have no access to ADB or apps of any kind and no other access to the device then no I don't think you can..
If your device isn't working then why not just flash a payload.bin via Fastboot enhance and get your device working again
Click to expand...
Click to collapse
i am on a Oneplus 10Pro ORIGINALLY T-Mobile branded NE2217... They disabled Hardware Key combinations for Fastboot, and FastbootD .... only recovery and edl are still active! But lemme clear up a few things.....
I CAN INSTALL apps.... certain ones will not open after install, mainly any Web Browser, 3rd party search, file manager, or email client... no app that can reach out to the Internet...
WHAT I CAN LOAD is apps like Terminal Emulator, Termux, Launchers, the plain "FIles" file manager, and many more. I can access the shelf in the black screen, and thru it i can jump into the crippled Settings app, followed by "Home Screen Settings", and when i change the orientation of the app list, (vertical, horizontal), it takes me to a handicapped Home screen.. looks completely normal, but EVERY icon says "cannot find package" when clicked. i managed to force Terminal Emulator, and Termux to install and open. I can do others, provided it is something that is readily availble somewhere.
In the About Phone tab, when i go to version number, and start tapping build, it does nothing... because its locked out, just like all the apps are.... Everything normal is in some kind of perpetual hold state, that will only release when , "Android_Config_Status_User_Complete = 0" changes to "1".
This is why i need a System UI crash to take down the setup app... then i can go enable USB DEBUGGING, run the command to get back to FastBoot, and use the tool to flash a payload. But til i can break the hold, i am limited severely in what the device will allow me to do.
If you can root your device and run su in termux you can uninstall the setup apk.
Actually they may not work if you can't get into Fastboot...
Tbh I'd send it back...T mobile strikes again...

Categories

Resources